Today I noticed an issue with dynamic created panes on the navigation bar control.
In the attached sample, clicking the button twice will crash the app in my environment.
Can someone please confirm this. Maybe I do something wrong here, because this is basic functionality and should work.
- Founder/Site Admin
- Posts: 1162
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
The only way I got it working is to define a pane in the designer and programmatically remove the pane before adding dynamic ones.
Code: Select all
Call SalNavRemovePane( nb1, 0 ) Set bOk = SalNavAddPane( nb1, -1, "pane1", "", "" ) Set bOk = SalNavAddPane( nb1, -1, "pane2", "", "" ) Call SalNavAssociateChild ( nb1, 0, 0, pb2 )
Who is online
Users browsing this forum: [Ccbot] and 0 guests