Re: Opendialog problem
- From: Erik <erikpub@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Dec 2006 16:57:25 -0800
Maarten Wiltink wrote:
"Jim P" <Jim_P@xxxxxxxxxxxxxxxxx> wrote in message
news:JsmdnRrG9vp7wAnYnZ2dnUVZ_rrinZ2d@xxxxxxxxxxxxxx
Gert Baars wrote:
Jim P schreef:
How did you call opendialog?
How should I?
if opendialog.execute = true then
He should not. A Boolean is a Boolean is a Boolean is a Boolean,
no matter *how* often you compare it to True. Zero, one, infinity -
in this case one is a special case of infinity, and both are wrong.
Unfortunately, only one (no pun intended) is physically possible.
'C = True' is spelled 'C'.
'C = False' is spelled 'not C'.
Groetjes,
Maarten Wiltink
Ok. I must be somewhat confused (something I'm COMPLETELY unfamiliar
with).
I always call
if OpenDialog.Execute then
Oh, but that's different than
if OpenDialog.Execute = TRUE then
But they say the same things, right? If the user hit cancel then
execute will return a FALSE which is different than TRUE resulting
in a FALSE statement.
Or are my eyes turning brown?
.
- References:
- Opendialog problem
- From: Gert Baars
- Re: Opendialog problem
- From: Jim P
- Re: Opendialog problem
- From: Gert Baars
- Re: Opendialog problem
- From: Jim P
- Re: Opendialog problem
- From: Maarten Wiltink
- Opendialog problem
- Prev by Date: Re: Requesting a TCircularScrollbar or TRadioDial ;) in 64 bits.
- Next by Date: Re: Opendialog problem
- Previous by thread: Re: Opendialog problem
- Next by thread: Re: Opendialog problem
- Index(es):
Relevant Pages
|