RE: [DUG]: Is this fixed in D5 (Overloading with dynamic Arrays)

2001-02-18 Thread Carl Reynolds
From: Aaron Scott-Boddendijk [mailto:[EMAIL PROTECTED]] > [in D4, I haven't got D5 to check whether this has changed] > > The method > > procedure TSomething.Do(const a :array of Integer); > > will accept both static arrays and dynamic arrays. > > but overload it > > procedure TSomething.Do(c

[DUG]: Is this fixed in D5 (Overloading with dynamic Arrays)

2001-02-18 Thread Aaron Scott-Boddendijk
[in D4, I haven't got D5 to check whether this has changed] The method procedure TSomething.Do(const a :array of Integer); will accept both static arrays and dynamic arrays. but overload it procedure TSomething.Do(const a :array of Integer); overload; procedure TSomething.Do(const a :array of

[DUG]: TDatabase to SQL7

2001-02-18 Thread Mark Derricutt
Hi, small perplexing question with most likely a hideously simple answer, I'm for somereson my TDatabase comp is giving me errors: I have the following comp: object Database1: TDatabase DatabaseName = 'tmp' DriverName = 'SQL Server' LoginPrompt = False Params.Strings = (

[DUG]: Using standard property editors

2001-02-18 Thread Stephen Bertram
I'm creating a customized menu system built from scratch, but generally mirroring the VCL TMainMenu. I want to use the standard VCL TMenuItemProperty editor, but can't see how to declare it so it can be registered. Can anyone give me an example to illustrate how to register the standard proper

Re: [DUG]: Mouse Position

2001-02-18 Thread Graham Mayes
Example The following code creates and displays a label when a mouse button is pressed. If you attach this event handler to the OnMouseDown event of a form, a label specifying the coordinates of the mouse pointer appears when the user clicks the mouse button. Note that the StdCtrls unit must be a

RE: [DUG]: late binding and DLL's

2001-02-18 Thread Jeremy Coulter
Yes this is true, but not the right solution in this casefor various reasons. It looks like I am going to have to write second exe to extract the main exe and the dll fromthe resource file, then execute the main exe.   Jeremy Coulter   -Original Message-From: [EMAIL PROTECTED

RE: [DUG]: Mouse Position

2001-02-18 Thread Scott Cree
Try Mouse.Cursorpos. That will return the x,y coords of the mouse pointer. Cheers, Scott. -Original Message- From: Chrissy R [mailto:[EMAIL PROTECTED]] Sent: Sunday, 18 February 2001 20:44 To: Multiple recipients of list delphi Subject: Re: [DUG]: Mouse Position Where I want the code d

RE: [DUG]: late binding and DLL's

2001-02-18 Thread Patrick Dunford
DLLs are "early" or "static" bound in "external" statements. You can however link dynamically using LoadLibrary to load the DLL. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy CoulterSent: Saturday, 17 February 2001 22:31To: Multiple

[DUG]: late binding and DLL's

2001-02-18 Thread Jeremy Coulter
Hi all. I have a set of components that require a specific DLL. I have written a demo to show what the components can do etc. and I am making it a ONE exe demo. i.e. the DLL and another associated file are in a Resource file compiled into the exe. BUT because Delphi "Appears" to do early b