Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modeless Dialogs

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Could someone give me a code fragment to create a modeless dialog box please.

I need to create a pallet-style box at the side of my program.

Thanks
 
Once you have defined your Dialog, and have an instance of it's Class, call it's .Create() function to display it.
This will show the dialog modeless.

You can define member variables to hold the contents of the controls on the dialog. These member variables are updated
when the Ok button is pushed. If you wish to update them sooner, call .UpdateData(false) to update from control to
variable, or .UpdateData(true) to update from variable to control.

Regards,
Alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top