Didn't take into account that panelindex is for controls within the
pagepanel.
I am now using pagepanel1.value instead of pagepanel1.panelindex.
And um, the mysterious crash was me introducing a breakpoint in the
compiling without realizing it...
Which stopped the app without information, but didn't crash it as I
thought.
Brains on caffeine...
Cheers,
Koen van Hees
It crashes the program and gives no clues in the debugger.
This is the code I use to set the page, inside the popupmenu Change
handle
Sub Change()
if me.ListIndex <> -1 then
select case me.ListIndex
case 0
PagePanel1.PanelIndex=0
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>