Jump to content
Developer Wiki and Function Reference Links ×

CreatePullDownMenu How do i add choices


Recommended Posts

  • 2 years later...

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...