Home Forums General XMetaL Discussion Dynamic UI Reply To: Dynamic UI

fjeneau9

Reply to: Dynamic UI

Hi Derek,

We wanted to create a form (modal dialog box) which generated checkboxes and resized based on how many elements were returned via Application.ActiveDocument.getElementsByTagName(““);

In the end, I went with your first suggestion to create extra hidden controls and set the code to unhide them when appropriate.  All is well with that, so thanks!

Now my only issue is how to pass the value returned from the On_Click event of a button into a variable resting within the macro that opened the form.  The value is an array containing the indices of the selected items.  Perhaps I should just check Dlg.DoModal() == 1 and check the values of each checkbox within the macro code?

Reply

Products
Downloads
Support