In the following script, why is the "Style" listbox is seen thru in two tabpages? Please help. Thanks.
Dialog>Dialog1
Caption=Dialog1
Width=705
Height=636
Top=168
Left=207
Max=1
Min=1
Close=1
Resize=1
TabBook=msTabBook1,208,104,289,297,0
ListBox=Style,232,144,121,97,Style 1%CRLF%Style 2
TabPage=Email
TabPage=Word
ListBox=ABC%CRLF%XYZ,104,128,121,97,
EndTabBook
EndDialog>Dialog1
Show>Dialog1,Result
A Listbox is seen thru multiple tabpages
Moderators: JRL, Dorian (MJT support)
A Listbox is seen thru multiple tabpages
Last edited by armsys on Sun Apr 27, 2008 8:06 am, edited 1 time in total.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Rather than delete this thread, perhaps you can post what your mistake was, and how you fixed it. Then others may learn from it.
I suspect the answer is that the listbox was not placed on the tab page. It's parent was probably the form rather than the tab page but positioned at the same place as the tab page. It was therefore always visible. By removing it and placing it on the selected tab page the problem was solved, making it owned by the tab page rather than the form directly. Am I right?
I suspect the answer is that the listbox was not placed on the tab page. It's parent was probably the form rather than the tab page but positioned at the same place as the tab page. It was therefore always visible. By removing it and placing it on the selected tab page the problem was solved, making it owned by the tab page rather than the form directly. Am I right?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?