Modal Windows Anyone?

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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!
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by webba.

Jose,

How embarrasing...:)

Thanks for the link.
Post Reply