Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #10K
Ranked #2K
~13.2K People Reached
About Me

Been programming in Delphi for over 14 years...since Delphi 1 days...I also paint minis for a hobbyhttp://www.houseofdexter.com

Favorite Forums
Favorite Tags

16 Posted Topics

Member Avatar for Ali Musa

You can use a StringList... StringList.AddObject(string0, Pointer(integer0)); The string can be accesssed as StringList.Strings[a_Index]; the integer can be accesssed as integer(StringList.Objects[a_Index])

Member Avatar for House_of_Dexter
0
201
Member Avatar for HelpWanted2115

Also...since you know that you are always going to have a value in num... You can use Repeat instead of While... count_zero:=0; count_ten:=0; Repeat readln(num); IF num=0 then inc(count_zero); IF num=10 then inc(count_ten); until Num = 999; Also there is a bug in your old code... readln(num); // <-- you …

Member Avatar for House_of_Dexter
0
272
Member Avatar for terataki

You should create a new topic...and post some code... I would suspect that you are going past the index of your listview...the listview is 0 based...so you should never access any Item past ListView1.Items.Count -1.

Member Avatar for House_of_Dexter
0
1K
Member Avatar for Lennox

Why???Unless your going to program for Dos why bother...and if you are going to program for DOS...you should be using a DOS operating system. If you just want to get back into programming...then get a Windows compiler like Lazarus or Delphi. Lazarus is free. http://www.lazarus.freepascal.org/ and can be downloaded at …

Member Avatar for Lennox
0
1K
Member Avatar for HelpMeIT

If you have a button that should close the form...just add this to it... Also look into using ActionList and use the execute...you can tie lots of code into one common action. [CODE] procedure TForm1.btnCloseClick(Sender: TObject); begin Form1.Close; //this will call your forms FormClose...which will call your caFree. end [/CODE]

Member Avatar for House_of_Dexter
0
2K
Member Avatar for azapovjednik

Actually...I think quaifp1 code is probably the best...It does what it needs to do...It assumes that we basically have 3 strings that need to be concatenated together with rules...Only need to add a Pad Zero function to make it work for any length chars... Though if I was going to …

Member Avatar for House_of_Dexter
0
2K
Member Avatar for robso2

This sounds like someones homework...show us what you have...and well help fix your problems...

Member Avatar for FlamingClaw
-1
108
Member Avatar for prefer

You can also change your variables to ordinal types like integers...and to divide you use 'div' [CODE] var frmGradering: TfrmGradering; iTeller : integer; iTotaal, iGemiddeld : integer; sSimbool, sAfvoer : string; implementation {$R *.dfm} procedure TfrmGradering.btnTelClick(Sender: TObject); begin if iTeller < 6 then begin Inc(iTeller, 1); iTotaal := iTotaal + …

Member Avatar for House_of_Dexter
-1
256
Member Avatar for Torando

Inifiles have a size limit of 32 to 64k...check out the filesize...I would bet your running up against this...I would suggest moving to some type of database system to save the info...There are lots of free alternatives...If this is server based...check out MySQL or FireBird

Member Avatar for farhan386
-1
533
Member Avatar for turbomen

What are you using Turbo Pascal or Delphi? If Turbo Pascal...look at AssignFile/Append/CloseFile if Delphi...use TFileStream something like aStream.Write(Pointer(aStringToWrite)^, length(aStringToWrite));

Member Avatar for House_of_Dexter
-1
182
Member Avatar for Levike

You can find a great header conversion program here [URL="http://www.delphi-jedi.org/files/darth/HeadConv.zip"]http://www.delphi-jedi.org/files/darth/HeadConv.zip[/URL] This code came from Dr. Bob's Conversion Program and article which can be found here [URL="http://www.drbob42.com/delphi/headconv.htm"]http://www.drbob42.com/delphi/headconv.htm[/URL] or [URL="http://www.delphi-jedi.org/api-howto.html"]http://www.delphi-jedi.org/api-howto.html[/URL]

Member Avatar for House_of_Dexter
-1
224
Member Avatar for johnng815

You need to make sure to Export the procedure...you should have code like: [CODE]export MsgboxError2[/CODE]

Member Avatar for House_of_Dexter
-1
128
Member Avatar for SamoaJoe01

If you are in a tight loop that takes lots of processing power...You never process any of the window messages...It's easy to fix in Applications...just add Application.ProcessMessages in an iteration of your loop. This will allow your windows to process any messages that are in the queue...like repainting and such. …

Member Avatar for House_of_Dexter
-1
1K
Member Avatar for pandapop87
Member Avatar for House_of_Dexter
0
149
Member Avatar for Deemar

[code] procedure CheckBoxOnClick(Sender: TObject) ; var a_Checkbox: TNewCheckbox; begin if Sender is TNewCheckBox then begin a_Checkbox := TNewCheckBox(Sender); edit1.enabled := not a_Checkbox.checked; ///do what ever you want here...with a_Checkbox... end; end; [/code]

Member Avatar for House_of_Dexter
0
3K
Member Avatar for intel1111

noticed an error here...with a quick pass... [code] if PassCheck <> User.Password then textbackground (White); textcolor (Black); writeln ('The Passwords Did Not Match Please Try Again'); textbackground (Black); [/code] should be [code]# if PassCheck <> User.Password then begin textbackground (White); textcolor (Black); writeln ('The Passwords Did Not Match Please Try …

Member Avatar for intel1111
0
365

The End.