Sorry guys, red herring.
Based on the compile once run anywhere (which I've had no trouble with), I
assume there is a floating point emulator in all EXEs. so it cant be that!
In my defence, I'd like to say I was ill when I offered that as a suggestion
;-)
A simple yes/no question.
Should I cast an object to it's defined type before I Free it?
ie. MyObject(ListBox.Items.Objects[0]).Free
or simply ListBox.Items.Objects[0].Free will do?
Cheers,
Ross.
---
New Zealand
earlier i wrote ...
destructor Destroy() in TObject (the base class of every
object) is virtual.Free calls this destructor - so any
derived class overrides will get called with the cast you
describe.
this should have read
... derived class overrides will get called withOUT the cast
i feel the need to comment on this :-)
But you should be sure that any objects you derive override
the virtual destructor Destroy so they'll get called
for your objects as well
unless i misunderstand what you're saying, that's not quite right..
if i do:
constructor TmyPanel.Create(AOwner:
Does anyone know of a freeware component that provides simple
Password access to an application?
TIA
Mark
BEGIN:VCARD
VERSION:2.1
N:Howard;Mark
FN:Mark Howard
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010826T234719Z
END:VCARD
Ross,
You don't have to because Free is a static class procedure defined in
TObject, even if you cast the object, it would not have made a difference,
except if you reintroduced Free in your class. However, I would like to
point out a related issue. The default destructor of TObject (Destroy)
There's one in RXLib (RxLoginDialog) - http://www.RXLib.com or
http://www.torry.net/huge.htm
For user management on the admin side of things, check out
http://www.torry.net/userrights.htm
Ed
At 11:47 27/08/2001 +1200, you wrote:
Does anyone know of a freeware component that provides simple
G'Day All,
I have the following:
TBaseAttributeProperties = class(TPersistent)
private
FAttribComponent : TBaseAttribute;
FTitle : string;
procedure SetTitle(const Value :
string);
public
constructor Create(AAtribComponent :
TBaseAttribute);
procedure Assign(Source :
N,
That worked like a charm!! Thankyou.
At 15:43 24/08/2001 +0700, you wrote:
I
would like to use the good old format function:
function Format(const Format: string; const Args: array of const):
string;
Easy when you have say Format('%s blah %s', [SomeVar1,
SomeVar2]);
However I have a
Edward
Thanks for that link. There's some good looking stuff there.
I have also down-loaded the 3rd party English Help file but it is still not
apparent to me how to implement this component - do you perhaps have a code
snippet?
It seems that you have to do your own password encryption?
TIA
Hi all
This is not a piracy question but a legit
situation
I'm setting up my new PC (Athlon 1333, 640Mb
Ram) but in xfering software I have found
that someone in labelling all our CD's has
unfortunately xferred my D5 CD into a Jewel Case
and the rego's gone west, Can I transfer D5 from
D
Sounds like you haven't created FAttCountry in the
constructor
Neven
- Original Message -
From:
Donovan J.
Edye
To: Multiple recipients of list delphi
Sent: Monday, August 27, 2001 2:37
PM
Subject: [DUG]: [Q] "Unable to expand" in
object inspector
Title: Message
Hi
Neven,
My
guess would be that if you have a legit proof of purchase, I am sure that the
Borland guys would help you out.
Just a
guess... I would give them a ring...
Regards
Colin
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Title: Message
Norton
Ghost Maybe ?
-Original Message-From: Neven MacEwan
[mailto:[EMAIL PROTECTED]] Sent: Monday, 27 August 2001
11:14To: Multiple recipients of list delphiSubject:
[DUG]: xfer between PCs
Hi all
This is not a piracy question but a legit
Title: Message
Unfortunately I'm changing from Win 98 to 2000 at
the same time
- Original Message -
From:
James Sugrue
To: Multiple recipients of list delphi
Sent: Monday, August 27, 2001 3:20
PM
Subject: RE: [DUG]: xfer between
PCs
Norton Ghost Maybe ?
Further to my mail below
I've actually got pretty close D5 fires up but I've
lost all the Packages/Palete Setup
Neven
- Original Message -
From:
Neven MacEwan
To: Multiple recipients of list delphi
Sent: Monday, August 27, 2001 11:13
AM
Subject: [DUG]: xfer
Just pop it on the form and in the onCheckUser event, do something like this:
AllowLogin := (Password = 'monkey') and (UserName = 'monkey');
If Not AllowLogin then Beep; // or berate user in some fashion..
If you turn off the active property, you can call it when you want with
something
Have
you copied all your registry settings
One
lot are under HKEY_LOCAL_MACHINE\SOFTWARE\Borland
Then
for each user you log on as that user and go to
HKEY_CURRENT_USER\Software\Borland
MS
Dependency Walker is pretty good at resolving dependent libraries (things that
might be installed
Hi,
Project - Options - Directories/Conditionals and then click on any of the
browse buttons that brings up a form with a memo component containing a list
of paths. Now try to resize this form and make it bigger (taller in
particular).
Anything unusual? Checked it on another machine and it has
Donovan J. Edye asked:
However when I try and expand AttCountry in a TADSVenueEntity
component I get an Unable to expand error. Can someone
see what I am doing wrong here?
Interesting problem, and I'm not sure what the error message is being caused
by, but I do have some ideas where you
Bwahahahahahaha! Can't believe I never spotted that before.
Luke Pascoe Delphi Programmer
enSynergy Consulting LTD
[EMAIL PROTECTED] +64-9-3551593 fax +64-9-3551590
Level 4, 10-12 Federal St,
On 27 Aug 2001, at 14:48, Sergei Stenkov wrote:
Hi,
Project - Options - Directories/Conditionals and then click on any of the
browse buttons that brings up a form with a memo component containing a list
of paths. Now try to resize this form and make it bigger (taller in
particular).
No it's not a bug, it was in Borland's todo list which was never
revisited :-)
O-ops, sorry, I'm not that old.
But seriously it shouldn't take more then 5 min to fix, should it?
Cheers,
Sergei
---
New Zealand Delphi
23 matches
Mail list logo