Title: Message
You
are correct.
Can
you tell us why you would want to create an exception object
without raising it though?
Cheers,
C.
-Original Message-From: Allan, Samuel
[mailto:[EMAIL PROTECTED]
Exception decends from TObject. Correct me if I am
wrong, but if I c
2. http://old.delphi.org.nz/
HTH,
Conor
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
2. Other question is, where is the DUG page these days? I
wanted to sign up for the list at work but cant seem to
locate the page anymore.
---
Maybe a way to look at it is this:
If you create an object you do have the responsibility to ensure it is
freed (I'm differentiating that from a responsibility to free it). You
can do this a number of ways including:
a) Free it yourself explicitly (e.g. in a finally block after you've
finished wit
Thanks for that.
I'm not using Delphi on a day to day basis, so I was along the right
lines just from memory...
Cheers,
C.
-Original Message-
From: James Sugrue [mailto:[EMAIL PROTECTED]
I think TcomponentList is inherited from TObjectList so the list members
should be freed when the c
Is the following possible reasoning?
You've added DirMonitor1 to DirMonList.
You free DirMonitor1.
When you call DirMonList.Clear, internally maybe it tries to reference
and free DirMonitor. Have a look at the source maybe.
One solution might be to cycle through your DirMonList and free all
it
Indeed, but the original question was "where does Delphi expect to find
BPLs", not where does my-application-written-in-Delphi expect to find
BPLs. ;-)
I actually thought that was what you meant: application's home directory
= current directory from a Windows POV.
Cheers,
C.
-Original Messa
Well, the Delphi\Bin might well be an option, since it will meet your
first criteria if Delphi has its Start In directory set to Delphi\Bin
which IIRC it does by default... ;-)
Cheers,
C.
-Original Message-
From: Corey Murtagh [mailto:[EMAIL PROTECTED]
Same as a regular DLL... in the sy
Surely
this is standard behaviour for a SQL database?
Cheers,
Conor
-Original Message-From: Tracey Maule
[mailto:[EMAIL PROTECTED]
It seems it is not possible to modify a field type (from
integer to decimal) in interbase (firebird) without dropping the field and
addin
Yeah,
I'd have to wonder why you're too worried about it too...
I'm
assuming that OptionIndex is a combobox/listbox or similar?
If so,
a quick look at the source would suggest that using the ItemIndex property could
be slower since it fires a Windows Message off within its implementation
Dunno about the first bit. :-(
However the answer to the second bit is http://old.delphi.org.nz
HTH,
C.
-Original Message-
From: James F Sugrue [mailto:[EMAIL PROTECTED]
Is it possible to invoke the StringList Editor from the component editor at runtime?
I usually make a form with a m
Also:
You might want to have a look at TControl.ScreenToClient and TControl.ClientToScreen
methods for translating positions (i.e. your mouse clicks) between different controls
- that way you will be able to get the same relative coordinates regardless of which
control your user is clicking on.
Two potential problems.
1) If your user passes in a command line parameter which isn't -low but also isn't
nothing, the length of the array won't get set.
2) Your for loop should probably run from 0 to Max -1. I think this is probably what
is throwing your pointer error. You're
Replied in offtopic list...
-Original Message-
From: Alistair George [mailto:[EMAIL PROTECTED]
Hi all.
this is a tad offtopic, but useful if someone knows the answer.
I made up a wee unit yesterday as follows:
[snip]
---
IIRC Tools, Debugger Options, IDE tab.
Nope, code won't work, 'cos of the call to App.HandleException ;-)
HTH,
Conor
-Original Message-
From: Steve Peacocke [mailto:[EMAIL PROTECTED]
[snip]
There is a way to switch off showing exceptions within the Delphi IDE
but I
can's remember whe
Your code is nearly correct.
However, you don't need the call to Application.HandleException - this is presumably
what is still showing you the unwanted error message.
You don't need the call because by writing a try..except block, you are handling the
exception yourself - in this case, by not
Not sure how long this will take to get through to you all obviously...
;-)
FYI, an update about Octane:
http://bdn.borland.com/article/0,1410,29952,00.html
Cheers,
Conor
---
New Zealand Delphi Users group - Delphi List
Title: Message
From
the borland.public.delphi.netpreview Usenet newsgroup this
morning...
Quoting John Kaster, Borland Developer Relations:
I just got done speaking to Simon Thornhill,
and we are updating the open letter and the Q&A regarding
Octane.There are 4 pieces of information I ha
I believe the answer is as follows (and may also help with similar
frustration in other programs):
Simply change the Start In directory for the Delphi shortcut itself,
i.e. from Explorer or the Start menu or wherever.
HTH,
Conor
-Original Message-
From: Steve Peacocke [mailto:[EMAIL PRO
I'm sure you're not the first ;-)
Cheers,
C.
-Original Message-
From: Mark Howard [mailto:[EMAIL PROTECTED]
(Blush)
Thanks Stacey and Connor.
How come I've never seen that "Parameters" option before?
Mark
On 10 Sep 2003 at 14:29, [EMAIL PROTECTED] wrote:
> Run menu, Parameters menu it
Run menu, Parameters menu item...
HTH,
Conor
-Original Message-
From: Mark Howard [mailto:[EMAIL PROTECTED]
If you have a console programme that requires a command line parameter,
how do
you get to start that programme from the IDE in order to debug it?
Nothing personal! I just think it's one of those exceptionally simple but very
effective tools available on the Internet that everyone should know about ;-)
Cheers,
C.
-Original Message-
From: Nello Sestini [mailto:[EMAIL PROTECTED]
Message> You might like to check out www.tinyurl.com
Title: Message
You
might like to check out www.tinyurl.com
which is great for long URLS like this...
HTH,
Conor
-Original Message-From: Nello Sestini
[mailto:[EMAIL PROTECTED]
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-8&threadm=Ls39balBCHA.1836%40tpsmail01.
In the
wider world, this is known as 'cloning'.
Just
to complicate things you can have both shallow and deep
cloning.
A
shallow clone will create a copy of an object along with copies of all it's
'value' properties (things like strings, integers, etc.), but will only copy
references to
Me too...
-Original Message-
From: Tracey Maule [mailto:[EMAIL PROTECTED]
Sent: Monday, 25 August 2003 9:57 a.m.
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Two announcements
Ill be keen on that too
- Original Message -
From: "Richard Vowles" <[EMAIL PROTECTED]>
T
See other message.
It does work, if one ensures the correct syntax for the StringReplace
call...
Dunno why you're getting bounced - don't take it personally ;-)
HTH,
C.
-Original Message-
From: Alistair George [mailto:[EMAIL PROTECTED]
Hello Jeremy/Connor,
Ha, I had already done that
Al,
You might like to have had a look at the Delphi help for StringReplace.
;-)
We were incorrect in the syntax of our initial suggestion (I'm not using
Delphi regularly at the mo).
If you check the help, the first parameter to StringReplace is a
constant parameter. Therefore yes, our initial s
The first one compiles because #20 is an escape sequence that the Delphi
compiler recognises.
However, that's not what you want.
You're wanting to replace one string with another string, not one string
with an escape sequence. The fact that it's an escape sequence is
irrelevant from the POV of y
It should be %20, not #20.
And could you not use StringReplace to do this for you? ;-)
Cheers,
Conor
-Original Message-
From: Alistair George [mailto:[EMAIL PROTECTED]
I tried the following:
for i:=0 to Length(mailstring) do
if mailstring[i]=' ' then mailstring[i]:=#20;
But as you
28 matches
Mail list logo