I'm using Delphi 5. How do I have everything on my form automatically center when the form is maximized, instead of staying in one spot. When I maximize my form I want all the components (edit...
Delphi
I have 2 table called student and studentProfile
in student i have 2 field: studentID and studentName
in studentprofile i have 4 field : studentID,units,time,venue
say in my stu...
how to allow only one checkbox can be check at a time in TVirtualStringTree
below is my code
I have a string that contains "C:\windows\system32\calc.exe"
I need to remove the double quotes without loops and the string can be variable in length. Is there a way to use the replace fu...
In Delphi 7up, I Want to have a simple complete sample Form with simple codes to scan all .exe files using multi-threading mode file scan.
I've just make a file scan last 1998 with delphi 4...
Hi all experts,
I have a sql script. I can execute this script directly to my firebird database. But how do I execute this script from my delphi app?
delphi only allows me to execute the s...
I am new to threading and need a simple example.
What I want to do is push a button start a thread that executes a loop that runs in the background until a button is pushed on the main for...
Hello experts,
I'm developing a simple chat program using Serversocket and Clientsocket, I'm looking at my code for at least 1 hour and cant find the error. Where is the damn error in this...
Hello experts,
I want to reposition the cursor in TEdit at a position other than its present position within TEdit. I am able to get the cursor position. I want repoosition it through my cod...
How can I make a Tstringlist and tPanel Transparent to show picture behind them but show the data in the stringlist and panel caption
delphi
I was thinking how to update record that has no unique key.
say i have this data field
studentID | studentname | BookTitle
Record for this data field is
1 John "lord of th...
We have Ado against DB2 base via TSQLConnection. Data are stored TADOTable's. If we map new fields, they are stored in datamodule as TStringField (if char in Db2). If I who has Delphi 2006 ins...
How can i filter in adotable if i have a space in a field name(access database). Example:
Delphi
How to delete record in database by selecting the checkbox and press delete button.
below is my code
delphi
how to print hellow world in form show
below is my code
I'm sure this is a no brainer for you experts - but I'm struggling as I'm a newbie.
Delphi 7 app - Access DB.
Need to save an Access datafile (.mdb) to a USB key for backup.
The following c...
delphi
how to set a showmessage when maxlength is exceed the value
i have an edit box and a show button
in my object inspector> property i set maxlenght to 2
how can i code it as w...
in otherword how to add background music in application, Which can play randomly on application start and continue to play randomly, I am not sure how it can done using TMediaPlayer component,...
1. Is a way to decompile Delphi DLL?
2. How can I make the DLL work again? It was working for windows2003 (no service pack applied) and it was also working with service pack 1, but as soon a...
Now and then my fingers seem to find a combination of keystrokes so as to disable keyboard input in the IDE editor.
Has anybody come across this ?
Mouse still works. But no characters can...
Delphi
I have a list of data that i retrived from database.
i set a checkbox for each of the row
when i check on the check box i can delete the information of that row by press the delet...
delphi
I have 3 textbox and i enter button
in even i use on key press in each of the text box
the code as follow
procedure TForm1.textbox1KeyPress(Sender: TObject;
var Key: Char);...
delphi
why if i use TAB key on the keyboard to select save button it will become enabled
delphi
How to close the form after the message is shown
code is below
procedure TForm2.FormCreate(Sender: TObject);
begin
showmessage('hi');
close;
end;
delphi
say in my database i have test
When i do searching say i type T
it doesnt give me any result
how to disable case sensitive where if i type capital letter T
it will give me "te...