justin1974 Posted August 26, 2003 Share Posted August 26, 2003 I've created the dialog fine but: How do i add chioces to the menu? Is there a way of making a reference file that contians the choices for the pulldownmenu? Quote Link to comment
tom_shady Posted March 11, 2006 Share Posted March 11, 2006 i found out the following: the pulldownmenuitems are created wenn the dialog is called with RunLayoutDialog(dialogId,drivedialog) drivedialog is your procedure, getting called while the dialog is displayed to the user Procedure drivedialog(item:Longint;data:Longint); RunLayoutDialog will pass item to drivedialog the first time drivedialog is called it will get the value SetupDialogC - this function isn?t documented ;-{ within this call you can create the pulldownitems with InsertCoice() a example is given here: http://www.nemetschek.net/support/custom/vscript/example.php have a look at Align Selected Object hope this will help, even if this discussion is quite old... well google find?s this page first, seems there aren?t so many modern-dialog programmers... Tom Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.