Hi,
I've created a dialog in my script, including 2 pages.
Those pages have the basic buttons (next/previous, cancel, validate). Then, I also added personnalized buttons in the second page. But I have difficulties to make those buttons do exactly what I want.
For example, I've added a button in page 2
iDialogTemplate2.PushButton(10, 170, 200, 28, "Add a new relation", "BUTTON_NEW");
I've created the dedicated function :
this.BUTTON_NEW_pressed = function()
{
//treatment to save the results
//call to page 0
}The treatment to save the results works well (I haven't detailed it). My issue is when I tried to reload the Page(0) of the Dialog. I don't know how to proceed. Does someone know how to reopen the page 0 when you click on a button on page 1 ?
Robert Goldenbaum on
Have you tried
Dialog.setDlgFocus ( int nDlgItemIndex ) to set the focus again to an element on the first page ?
Or you could try to do something with
setActiveWizardPages ( int[] activePages )
BR Robert