IT SOLUTIONS
Your full service technology partner! 
Alan Lloyd -Collapse +Expand
-Collapse +Expand
AlanGLloyd
-Collapse +Expand Profile◄╣
Member Info
Member Narration

POSTS:
MB Posts (2)

Search AlanGLloyd:

Advanced
Personal Account . . .
Alan Lloyd
England



Real Name:  Alan Lloyd
Primary Role:  Coder
Joined: Jun 2002 (19 years ago)
Visits: 5
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Message Boards Activity

2 posts.
More...

Thread 4 of 4
Thread Starter or a Reply (but not last)  Group

Alan Lloyd
Re: "StrToDouble" - someone please?
"separate pascal function for each one, and then use type fType = function(d:double):double to form an array of pointers to them so that you can index them from the selected variable of the combo box.", , Most conveniently using the Items.Objects of the TComboBox to store the pointers to the individual functions ..., , CB1.Items.AddObject('x * x', TObject(@XSq));, , Result := fType(CB1.Items.Objects[CB1.ItemIndex])(X);
Posted to MB Topic: Delphi News / Other « Delphi Board
19 years ago
Nothing New Since Your Last Visit
2
Hits

Pascal and Delphi Coding

Thread 3 of 4
Thread Starter or a Reply (but not last)  Group

Patrik
"StrToDouble" - someone please?
OK, here's my problem:, , I have this function, function TForm1.Romberg1Integrand(x: Double): Double;, , In Delphisourcecode this function shall looks this:, , function TForm1.Romberg1Integrand(x: Double): Double;, begin, [b]Romberg1Integrand := x*x;[/b], end;, , My problem is, that I want to define the Romber1Integrand in runtime: The user may select a function (in this case it is "x*x") from a ComboBox and the string shall be used as the function. Any idea on how to do this, it's really important!, , Any help is apreciated, thanks in advance.
Posted to MB Topic: Delphi News / Other « Delphi Board
19 years ago

AlanGLloyd
"separate pascal function for each one, and then use type fType = function(d:double):double to form an array of pointers to them so that you can index them from the selected variable of the combo box.", , Most conveniently using the Items.Objects of the TComboBox to store the pointers to the individual functions ..., , CB1.Items.AddObject('x * x', TObject(@XSq));, , Result := fType(CB1.Items.Objects[CB1.ItemIndex])(X);
19 years ago
Nothing New Since Your Last Visit
8996
Hits

Pascal and Delphi Coding

Thread 2 of 4
Thread Starter or a Reply (but not last)  Group

Alan Lloyd
Re: Delphi And Win XP
I had some success (not fully though - I need to do some more adjustment) by storing the ClientHeight and ClientWidth on creation, and setting them on showing. Note that the Client dimensions seem to need two calls in order to "set" them. , , Sounds "kludgy" but works most times, I need to _fully_ understand it.
Posted to MB Topic: Delphi Single User Apps « Delphi Board
19 years ago
Nothing New Since Your Last Visit
2
Hits

Pascal and Delphi Coding

Thread 1 of 4
Thread Starter or a Reply (but not last)  Group

marcor
Delphi And Win XP
Hi !, , I have some problems with win XP and Delphi Applications :, , 1. If I am making the forms to be Resizeble, I see 2 sets of scroll bars..., , 2. I can't manage to export data from a DBGrid to a File (It worked before in Win98...) , , , I am working with Delphi 4., , thnx ,, Nir.
Posted to MB Topic: Delphi Single User Apps « Delphi Board
19 years ago

AlanGLloyd
I had some success (not fully though - I need to do some more adjustment) by storing the ClientHeight and ClientWidth on creation, and setting them on showing. Note that the Client dimensions seem to need two calls in order to "set" them. , , Sounds "kludgy" but works most times, I need to _fully_ understand it.
19 years ago
Nothing New Since Your Last Visit
1737
Hits

Pascal and Delphi Coding
More...
Sales Website: www.prestwood.com Or visit our legacy sales site: 
legacy.prestwood.com


©1995-2021 Prestwood IT Solutions.   [Security & Privacy]