12-07-2013, 03:33 PM
I converted 2 separate dialogboxes (macros) to one multi-page dialog box containing 2 pages (0 and 1).
The conversion seems to work, but I do not know how to directly start the dialog in page '1' (second page) when I am in a function (for quick testing purposes).
The dialog structure is like follows, the bold parts the exact foldernames as in my project:
--- kboot => main folder
|
|----kboot_MAIN (when started, it shows content of 'S1', first page)
|
|----S1
|
|----s2
The folder "kboot_MAIN" contains 2 items
- one macro: 'kboot_multi_DialogBox_init'
- one function: 'kpboot_multi_DialogBox_initMainDialog' that is called from 'kboot_multi_DialogBox_init'
'kpboot_multi_DialogBox_initMainDialog' contains
BEGIN DIALOG
0 "" 0x90C80AC8 0x0 0 0 352 408 "Dialog"
...etc...
The folder 'S1' contains everything for page 0 (first page)
The folder 'S2' contains everything for page 1 (second page)
When I am working on a function in 'S2', I want to start that 'page 1' (second page) when I press the run button.
Is there a way to achieve this?
I did this in one-page dialogs by adding something like this in the top of the function " \Dialog_Editor" (Dialog_Editor, replaced by desired mac/function).
If I use that method, I would put "\kpboot_multi_DialogBox_init" in the top of the function but that starts in page 0 (first page).
The conversion seems to work, but I do not know how to directly start the dialog in page '1' (second page) when I am in a function (for quick testing purposes).
The dialog structure is like follows, the bold parts the exact foldernames as in my project:
--- kboot => main folder
|
|----kboot_MAIN (when started, it shows content of 'S1', first page)
|
|----S1
|
|----s2
The folder "kboot_MAIN" contains 2 items
- one macro: 'kboot_multi_DialogBox_init'
- one function: 'kpboot_multi_DialogBox_initMainDialog' that is called from 'kboot_multi_DialogBox_init'
'kpboot_multi_DialogBox_initMainDialog' contains
BEGIN DIALOG
0 "" 0x90C80AC8 0x0 0 0 352 408 "Dialog"
...etc...
The folder 'S1' contains everything for page 0 (first page)
The folder 'S2' contains everything for page 1 (second page)
When I am working on a function in 'S2', I want to start that 'page 1' (second page) when I press the run button.
Is there a way to achieve this?
I did this in one-page dialogs by adding something like this in the top of the function " \Dialog_Editor" (Dialog_Editor, replaced by desired mac/function).
If I use that method, I would put "\kpboot_multi_DialogBox_init" in the top of the function but that starts in page 0 (first page).