Page 1 of 1

Posted: Thu Feb 20, 2003 9:54 am
by BackupUser
Restored from previous forum. Originally posted by webba.

Hi all!

In VB you can set a property to make a window modal. ie when its opened no other windows (that are already open) in the app can receive focus until the modal one has been closed.

Anybody know how to do this in PB? Is it an API thing? Is it just a case of supplying a 'MODAL' constant when the window is opened?

Any help greatly appreciated.

Regards!

Posted: Thu Feb 20, 2003 1:14 pm
by BackupUser
Restored from previous forum. Originally posted by Jose.

Have you done a search, try searching for "modal window".

There are several bits of code lying around for this, here is
just one link to try.

viewtopic.php?t=4291

Registered PureBasic User

Posted: Thu Feb 20, 2003 2:57 pm
by BackupUser
Restored from previous forum. Originally posted by webba.

Jose,

How embarrasing...:)

Thanks for the link.