The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multipage dialog, start other page number when testing
#1
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).


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)