dbTalk Databases Forums  

Difference between a dialogue box and a standard form

comp.databases.paradox comp.databases.paradox


Discuss Difference between a dialogue box and a standard form in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Régis Duc Dodon
 
Posts: n/a

Default Difference between a dialogue box and a standard form - 05-11-2006 , 09:07 AM






The main visible difference between a dialogue box and a standard form
is the fact that (dialogue box) doesn't have a title part.

Another difference is in the fact that the position of the form is not
the same (twips)
Can I detect in OPAL if an opened form is dialogue box or windows ?
Régis

Reply With Quote
  #2  
Old   
Liz McGuire
 
Posts: n/a

Default Re: Difference between a dialogue box and a standard form - 05-11-2006 , 09:55 AM






Régis,

Dialog boxes can have title bars.

Forms have a property called DialogForm - I'm assuming if you attach a
form variable to a form, you can check whether DialogForm is true.

Liz


Régis Duc Dodon wrote:
Quote:
The main visible difference between a dialogue box and a standard form
is the fact that (dialogue box) doesn't have a title part.

Another difference is in the fact that the position of the form is not
the same (twips)
Can I detect in OPAL if an opened form is dialogue box or windows ?
Régis

Reply With Quote
  #3  
Old   
Régis Duc Dodon
 
Posts: n/a

Default Re: Difference between a dialogue box and a standard form - 05-11-2006 , 10:45 AM



Thanks Liz for your help,
The following works fine


var
fHandle form
endvar
if not fHandle.dialogForm =True then
msginfo("The form"," A STANDARD FORM")
else
msginfo("The Form is opened as"," A DIALOG BOX")
endif

Régis

Reply With Quote
  #4  
Old   
Régis Duc Dodon
 
Posts: n/a

Default Re: Difference between a dialogue box and a standard form - 05-11-2006 , 11:01 AM



Obviously, this code is for a form already open.

Régis Duc Dodon a écrit :
Quote:
Thanks Liz for your help,
The following works fine

var
fHandle form
endvar
if not fHandle.dialogForm =True then
msginfo("The form is opened a"," A STANDARD FORM")
else
msginfo("The Form is opened as"," A DIALOG BOX")
endif

Régis

Reply With Quote
  #5  
Old   
Tony McGuire
 
Posts: n/a

Default Re: Difference between a dialogue box and a standard form - 05-11-2006 , 02:35 PM




Quote:
A form opened from a dialogbox will open behind the dialogbox.
So be sure to minimize or hide the dialog box if you do this. :-)


--

Tony McGuire
"It's not about having enough time. It's about priorities."
___________________________



Reply With Quote
  #6  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: Difference between a dialogue box and a standard form - 05-11-2006 , 02:36 PM



Régis

A very important difference is:
A form opened from a dialogbox will open behind the dialogbox.

--
Bertil Isberg - CTECH
Paradox buglist:
online: http://hem.bredband.net/bertilisberg/

"Régis Duc Dodon" <regis.ducdodon (AT) club-internet (DOT) fr> skrev i meddelandet
news:44634506.5D28EE1E (AT) club-internet (DOT) fr...
Quote:
The main visible difference between a dialogue box and a standard form
is the fact that (dialogue box) doesn't have a title part.

Another difference is in the fact that the position of the form is not
the same (twips)
Can I detect in OPAL if an opened form is dialogue box or windows ?
Régis



Reply With Quote
  #7  
Old   
Egbert Babst
 
Posts: n/a

Default Re: Difference between a dialogue box and a standard form - 05-13-2006 , 05:25 AM



Régis,
what all the other told...
Another difference is, that dialogforms are no child windows of the calling
form. That means, the calling form keep the size they had in the moment they
call the dialogform. A normal windows will change to synchronize caller and
called form (they get restored).
And: In dialog forms the mouse wheel doesn't work unless you have the
subclassing dll from JanM.

See you soon at the convention!

Egbert, 12:23 in Germany


"Régis Duc Dodon" <regis.ducdodon (AT) club-internet (DOT) fr> schrieb im Newsbeitrag
news:44634506.5D28EE1E (AT) club-internet (DOT) fr...
Quote:
The main visible difference between a dialogue box and a standard form
is the fact that (dialogue box) doesn't have a title part.

Another difference is in the fact that the position of the form is not
the same (twips)
Can I detect in OPAL if an opened form is dialogue box or windows ?
Régis



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.