Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 187
Search took 0.09 seconds.
Search: Posts Made By: Simon180
Forum: General 01-28-2009, 10:18 AM
Replies: 3
Views: 1,102
Posted By Simon180
RE: TStringList and getting correct items help!

am not using listbox so i dont think that code is what am looking for here a quick sample to give a u a idear


ListString:= TStringList.Create;

ListString.Clear;
Name :=...
Forum: General 01-28-2009, 07:55 AM
Replies: 3
Views: 1,102
Posted By Simon180
TStringList and getting correct items help!

i been trying to access afew items from a database using tliststring to get the correct item from the list in the database the list in db looks as follows :

Database list:
Payment 1
Payment 2...
Forum: General 11-16-2008, 02:18 AM
Replies: 2
Views: 937
Posted By Simon180
if then statment need help plz!

I got a small problem with my code below i been trying for past hour to get it to work basicly what am trying to do is make it so if room name is not allready in use it will refresh the settings but...
Forum: General 09-03-2008, 11:26 PM
Replies: 1
Views: 1,205
Posted By Simon180
Two EMemoryLeak Problems with tclientsocket Need help

I got a server appliction has has afew memory leaks i need to fix but am unsure about the following both codes are follow are what i have found to be the leaks

[DELPHI]


{ TServerSocket }
...
Forum: General 09-01-2008, 09:26 AM
Replies: 3
Views: 1,074
Posted By Simon180
RE: listview and looping got a small problem need help plz

is there away of not using the datasource mean is there any need for it as server is sending all the newest information so all it has to do is remove and readd items directly????
Forum: General 08-31-2008, 01:04 PM
Replies: 3
Views: 1,074
Posted By Simon180
listview and looping got a small problem need help plz

for sum reason when i get my rooms from my server and try to add them to my grid it only adds one room name i tryed to make a loop to add others but its not working i debuged both client and server...
Forum: General 08-29-2008, 04:51 PM
Replies: 1
Views: 949
Posted By Simon180
RE: Basic string filter help needed!

var
Filter: string;
fw: integer;
begin
Filter := lowercase(Trim(FWForm.FWBox.Items.Text));
fw := AnsiPos(lowercase(Trim(dat[1])), Filter);
if fw > 0 then
begin
Forum: General 08-29-2008, 04:51 PM
Replies: 1
Views: 949
Posted By Simon180
Basic string filter help needed!

hello right here what am trying to do am trying to make a simple string filter for words on my app when sumone puts in a word say welcome to my BEEP place the filter would pick up the word in the...
Forum: General 08-29-2008, 12:53 PM
Replies: 4
Views: 1,210
Posted By Simon180
RE: whats the best way to remove a name from a stringlist?

oo forgot to say if i move it from rSocket.RU.CommaText; to rSocket.RU.Text; it works fine but I need to use commaText to remove the spaces of items. unless there a other way around it!???
Forum: General 08-29-2008, 12:51 PM
Replies: 4
Views: 1,210
Posted By Simon180
RE: whats the best way to remove a name from a stringlist?

Ya I have been but still no luck it works but if i remove the first item that was added it removes all why is that?

I have tryed afew ways and codes please help

[DELPHI]
procedure...
Forum: General 08-29-2008, 08:59 AM
Replies: 0
Views: 772
Posted By Simon180
problem with looping on my code can sumone please help?

ok the code below is a funcation i use to lock my rooms on my program the code itself seams to work but then i found a bug

when there is only just one person in the room and he locks it it works...
Forum: General 08-29-2008, 08:53 AM
Replies: 4
Views: 1,210
Posted By Simon180
whats the best way to remove a name from a stringlist?

i been trying to remove selected names from a stringlist the code i have below works but it not very good is there abetter way of removing selected items from the list?

[DELPHI]
for r := 0 to...
Forum: General 08-29-2008, 12:34 AM
Replies: 6
Views: 1,129
Posted By Simon180
RE: items and itemindex selecting the correct item help needed please

basicly that was a demo to give you sum sort of idear what i was after ..

basicly i want to get a name from a database IE [ BOB ]
then it would sort the name from all the other names in the...
Forum: General 08-28-2008, 12:26 PM
Replies: 6
Views: 1,129
Posted By Simon180
RE: items and itemindex selecting the correct item help needed please

basicly am getting a image name from my server IE dat[3] and i want it to check on my comboxlist and add the correct image name on list for the name from server being apain
Forum: General 08-28-2008, 12:25 PM
Replies: 9
Views: 3,022
Posted By Simon180
Forum: General 08-28-2008, 10:33 AM
Replies: 6
Views: 1,129
Posted By Simon180
RE: items and itemindex selecting the correct item help needed please

I allso noticed i have to replace image names

[DELPHI]

dat[3] := StringReplace(dat[3], '.gif', '', [rfReplaceAll, rfIgnoreCase]);
if i = MainForm.ImageBox.Items.IndexOf(dat[3]) then...
Forum: General 08-28-2008, 09:50 AM
Replies: 9
Views: 3,022
Posted By Simon180
RE: How to Send and Recieve text via TCPServer and TCPClient

check the delphi demos there afew chat programs there that give you a good idear ...
Forum: General 08-28-2008, 07:28 AM
Replies: 6
Views: 1,129
Posted By Simon180
items and itemindex selecting the correct item help needed please

hello,

ok what am trying to do is get my selected name from my server and for it to list it correctly in my dropdown list i have a normal of images from 000 to 999 and if i select the image and...
Forum: General 08-25-2008, 04:43 AM
Replies: 4
Views: 1,298
Posted By Simon180
RE: statement help needed plz

thats not the problem mate it was working fine then i added the popaltion code and for sumreason it went wrong i tryed removing pop. code but still did not work so its a bad statment sumwere in that...
Forum: General 08-24-2008, 07:26 AM
Replies: 4
Views: 1,298
Posted By Simon180
statement help needed plz

am doing abit of code for my on join even but my statment seams to be all worng yet i can not find the problem basicly it keeps calling for the password dialog even when rooms do not have password...
Forum: General 08-24-2008, 12:38 AM
Replies: 1
Views: 819
Posted By Simon180
Simple Storke Commands in a memo!

I been trying to add simple / commands to my system


if uppercase(mid(SendMemo.Text,1,5)) = uppercase('/help') then
begin
s:='<font size="3" color="#FFFFFF"><hr><p>'+'Valid commands are:...
Forum: General 08-23-2008, 02:47 PM
Replies: 1
Views: 935
Posted By Simon180
custom hint window looking for sumone to code one for me!

am looking for sumone to code me a custom hintwindow that supports text and images here a mokup of how i would like it to look

http://mpreg.x10hosting.com/hintwindowlayout.jpg

the way it would...
Forum: General 08-23-2008, 12:33 PM
Replies: 5
Views: 1,808
Posted By Simon180
RE: questions about page control and tabsheets

both my forms have form and i still get the error mate any idears?
Forum: General 08-23-2008, 03:44 AM
Replies: 5
Views: 1,808
Posted By Simon180
RE: questions about page control and tabsheets

ok after reading my mastering delphi book i found the code in witch to add new tabsheets it works fine when i have items on the same window as my page control however i need to access this code from...
Forum: General 08-23-2008, 02:33 AM
Replies: 5
Views: 1,808
Posted By Simon180
questions about page control and tabsheets

I been looking at page control for sumtime and am now wondering about using this for my pager system in my chat my question is would it be possable to make a new tab for each page a user gets and...
Forum: General 08-22-2008, 05:03 AM
Replies: 2
Views: 1,049
Posted By Simon180
html and font resize problems need help plz!

am trying to use the font dialog to change the size of my text in my html but when i try to change the size it dont work :(

i did a debug message with the IntToStr(fd.Font.Size) and it shows the...
Forum: General 08-13-2008, 05:12 AM
Replies: 1
Views: 915
Posted By Simon180
Help please got a big problem!

hello am wondering if anyone can help me i been trying to get my textchat to show for admins even when the chat section has been disabled problem I am having is when i connect as admin i can send the...
Forum: General 07-31-2008, 01:41 AM
Replies: 3
Views: 1,281
Posted By Simon180
RE: MessageBox - Close border icon

try this

[code]
resourcestring
sExitMsg = 'Are you sure you want to exit the server?';
sExitTitle = 'Confirm..';
begin
if MessageBox(Application.Handle, PChar(sExitMsg),...
Forum: General 07-31-2008, 01:39 AM
Replies: 1
Views: 1,112
Posted By Simon180
MySql - MyTabe Problem getting data

am busy working on a sql project and am using mysql as storge for all my date my question is when i load data from a mytable how can i access the information from the table?

thanks
Forum: General 07-30-2008, 08:18 AM
Replies: 5
Views: 1,174
Posted By Simon180
RE: listview converting number to text!

i tryed that way i get a error it dont work :(
Forum: General 07-30-2008, 08:10 AM
Replies: 5
Views: 1,174
Posted By Simon180
RE: listview converting number to text!

like i say am not so good at listview would it be possable for sumone to help and show me?
Forum: General 07-30-2008, 07:47 AM
Replies: 5
Views: 1,174
Posted By Simon180
listview converting number to text!

am abit stuck as i dont understand listview so good.

what I am basicly trying to do is get it to convert a rank number IE 8 into a rank title IE Trainee when the items are added so that it will...
Forum: General 04-01-2008, 02:06 PM
Replies: 2
Views: 880
Posted By Simon180
RE: how to count selected tables from mysql! - help needed!

ok sorry like I says my sql coding is crap lol

basicly am trying to get a room count from each selected group

GroupsTable.FieldByName('N').AsString = RoomsTable.FieldByName('ID').AsString
...
Forum: General 04-01-2008, 01:53 PM
Replies: 2
Views: 880
Posted By Simon180
how to count selected tables from mysql! - help needed!

I want to get a real time count of rooms in each of my lobby by selecting the lobby N and Room ID but am not so good at mysql the code below is my faild go at trying to count rooms from each group!
...
Forum: General 04-01-2008, 09:02 AM
Replies: 2
Views: 1,088
Posted By Simon180
Listview and adding items under one and other! help needed please

can sumone please help me I been trying to add a list of users to a listview but everytime I add a new name it puts them all in the same caption how can I make it add each name one by one under one...
Forum: General 01-05-2008, 04:36 AM
Replies: 1
Views: 780
Posted By Simon180
TClientSocket Help Needed! Please

I have a big problem with my sockets I want to send info from my client to server so on but I only want the server to allow one lot of data at a time so the first person that sends the data will get...
Forum: General 12-18-2007, 01:17 AM
Replies: 0
Views: 733
Posted By Simon180
Best way of sending commands fast and stable in tclientsocket!

is there any better way of sending commands from client to server back to client thats more stable then

Socket.SendText('COMMAND');

?

because my system is to bugy i feel its getting...
Forum: General 11-22-2007, 05:08 AM
Replies: 1
Views: 647
Posted By Simon180
Advice needed please!

As you all proble know by now am doing a custom client/server chat but now I need abit of advice the way my client and server talk is very simple and I am wondering if there a much better way of...
Forum: General 11-20-2007, 10:51 AM
Replies: 1
Views: 2,342
Posted By Simon180
Custom Hint Window!

I no there alot of vcls out there that let you do this but am woundering if it is possable to use the windoes hint box and add images and text to it and resize it

demo

Title Name
1st Image:...
Forum: General 11-20-2007, 04:04 AM
Replies: 7
Views: 4,729
Posted By Simon180
RE: Button double-click problem

having problems with OldProc anyidears???
Forum: General 11-20-2007, 02:24 AM
Replies: 7
Views: 4,729
Posted By Simon180
RE: Button double-click problem

ty mate but is there away of using a speedbutton and not a normal tbutton as speedbuttons dont have the Handle funcation cheers
Forum: General 11-19-2007, 09:24 AM
Replies: 7
Views: 4,729
Posted By Simon180
Button double-click problem

I am wondering is there anyway of stoping people double clicking on a button? so if there double click the button would ignore there commands?

thanks alot
Forum: General 11-16-2007, 07:13 AM
Replies: 0
Views: 886
Posted By Simon180
ThtmlViewer and word wrap! need help

has anyone got a working bit of code that wordwraps the htmlViewer content if X amount of items have been sent to the viewer?
Forum: General 11-16-2007, 03:23 AM
Replies: 7
Views: 1,607
Posted By Simon180
RE: FontDialog (Font Size) Problem

ok this is a pain it says its allworking fine yet when i add the text to the chat area it still dont have size!



function TCForm.FormatSendText(send: string): string;
var
s, s1: string;
...
Forum: General 11-15-2007, 10:38 AM
Replies: 7
Views: 1,607
Posted By Simon180
RE: FontDialog (Font Size) Problem

never worked mate i tryed that last time still dont show the font size but everything else works ...
Forum: General 11-15-2007, 05:43 AM
Replies: 7
Views: 1,607
Posted By Simon180
FontDialog (Font Size) Problem

Can sumone pleaes help me am really stuck on trying to get the font size to work on my appliction using Font Dialog here my code:

Code Key:

FSize: Integer;


if fd.Execute() then
begin...
Forum: General 11-15-2007, 04:14 AM
Replies: 5
Views: 4,319
Posted By Simon180
RE: How to add a Submenu in a MainMenu via code!

I get a access error am trying to add the submenus before the main window opens maybe thats why?
Forum: General 11-14-2007, 09:00 AM
Replies: 5
Views: 4,319
Posted By Simon180
RE: How to add a Submenu in a MainMenu via code!

sm := TMenuItem.Create(nil);
sm.Caption := dat[0];
MainForm.MainMenu.Items[0].Add(sm);

did not work mate :(
Forum: General 11-14-2007, 04:27 AM
Replies: 5
Views: 4,319
Posted By Simon180
How to add a Submenu in a MainMenu via code!

How can I add to a mainmenu submenu in realtime? so it funcations abit like Explorers Favorites bar i can add items to a section on my mainmenu

can anyone help??


...
Forum: General 11-14-2007, 03:18 AM
Replies: 1
Views: 920
Posted By Simon180
ListBox and duplications problems

I have afew problems with my listbox code I have it detecting the duplicate items find how ever it still adds the same items if there upper/lowercase is there away of making it check so that if the...
Showing results 1 to 50 of 187

 
Forum Jump

All times are GMT. The time now is 01:54 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.