Search Results

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: Sub Xero
Forum: Pascal and Delphi Jul 27th, 2009
Replies: 3
Views: 629
Posted By Sub Xero
Hey man, thanks for the info I'll look into that. At the moment the Synchronize function is the main cause of slow down in my application, but until I'm confident that what I'm doing is correct, it's...
Forum: Pascal and Delphi Jul 8th, 2009
Replies: 3
Views: 629
Posted By Sub Xero
Found the answer myself. And it's yes, I do need to call Synchronize() or the program hangs at random points.

Sub Xero
Forum: Pascal and Delphi Jul 6th, 2009
Replies: 6
Views: 442
Posted By Sub Xero
I like this line:

WriteLn('The balance is: ',balance:0:0);

Very neat.

Sub Xero
Forum: Pascal and Delphi Jul 5th, 2009
Replies: 5
Views: 637
Posted By Sub Xero
It should be exactly the same. Format returns a string, so there's no difference in applying the result to an Editbox or a label.
What exactly is the problem?

Sub Xero
Forum: Pascal and Delphi Jul 5th, 2009
Replies: 5
Views: 637
Posted By Sub Xero
Use the Format command like this:

VolumeCalc.Caption := Format('%.2f',[StrToFloat(EngineSizeVal.Text) / 2 / StrToFloat(CylNumVal.Text)]);


Sub Xero
Forum: Pascal and Delphi Jul 5th, 2009
Replies: 6
Views: 442
Posted By Sub Xero
Your main problem is 'balance' should be a real type, as multiplying it by 1.03 will return a non integer value. Here's how I'd do it:


program Project1;

{$APPTYPE CONSOLE}

uses
SysUtils;
Forum: Pascal and Delphi Jul 1st, 2009
Replies: 3
Views: 629
Posted By Sub Xero
Hello everyone,
I'm quite familiar with Delphi, but I'm new to using threads and so I've got a question. Here's what I'm trying to do:
I'm using the brilliant VirtualTreeView component and I wish...
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC