WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Dialog Editor version 6.X
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Dynamic Dialogs

Keywords:    dynamic dialogs

Question:

i have done some reading about the new dialogs and how they now support dynamic creation and updating, or so i have thought. am i right in thinking that if i create a dialog with x number of buttons, and one is pressed, i can now add buttons and inputs without recoding the entire dialog? am i getting the right meaning of dynamic here?

Answer:

Assuming I understand the statement/question...you are not correct in your understanding. The "dynamic" dialogs allow you to alter the content of the dialog without "refreshing" the dialog. An example: If you have a listbox of ASCII Decimal codes and the user selects one of those you can display the Hex and Octal values without the Dialog being refreshed. You can change almost everything, regarding the content of the dialog being displayed but not the underlying code itself. You can hide/unhide controls so it will give the appearance of altering the Dialog code but in reality the controls are still there.

From the User's perspective controls seem dynamic. They can come and go and change as they watch them.

From the programmers perspective, all the controls must be predefined before the Dialog is displayed, however the appearance and settings of the controls may vary while the dialog is displayed.


Article ID:   W15127
File Created: 2002:09:05:13:49:50
Last Updated: 2002:09:05:13:49:50