1. TabItems and Combos
- Posted by Evan Marshall <1evan at sbcglobal.net> Apr 17, 2003
- 403 views
I have a program with a TabControl containing some number of TabItems which in turn contain some number of Combos. Only the Combos belonging to the rightmost TabItem are visible, and they are visible no matter which TabItem I click on. How do I make the Combos visible at the right time and place? Using win32lib v0.57.9 Win98SE --Code Example include win32lib.ew constant Win = createEx(Window,"",0,0,0,600,400,0,0), tabber = createEx(TabControl,"",Win,5,20,400,100,0,0), tab = createEx(TabItem,"Pick Me",tabber,Default,Default,Default,Default,0,0), tab2 = createEx(TabItem,"No, Me",tabber,Default,Default,Default,Default,0,0), combo = create(Combo,"",tab,50,50,50,20,0), combo2 = create(Combo,"",tab2,60,70,60,30,0) WinMain(Win,Normal)
2. Re: TabItems and Combos
- Posted by Evan Marshall <1evan at sbcglobal.net> Apr 17, 2003
- 387 views
I'll have to try it at home on my XP box. Jonas Temple wrote: > >Evan, > >The example you provided worked fine for me. > >Using Win32Lib V0.57.9 >Win2000 Pro > >Jonas >Evan Marshall wrote: > > >>I have a program with a TabControl containing some number of >>TabItems which in turn contain some number of Combos. Only >>the Combos belonging to the rightmost TabItem are visible, >>and they are visible no matter which TabItem I click on. >>How do I make the Combos visible at the right time and place? >> >>Using win32lib v0.57.9 >>Win98SE >> >>--Code Example >> >>include win32lib.ew >> >>constant >>Win = createEx(Window,"",0,0,0,600,400,0,0), >>tabber = createEx(TabControl,"",Win,5,20,400,100,0,0), >>tab = createEx(TabItem,"Pick >>Me",tabber,Default,Default,Default,Default,0,0), >>tab2 = createEx(TabItem,"No, >>Me",tabber,Default,Default,Default,Default,0,0), >>combo = create(Combo,"",tab,50,50,50,20,0), >>combo2 = create(Combo,"",tab2,60,70,60,30,0) >> >>WinMain(Win,Normal) >> >> > > >TOPICA - Start your own email discussion group. FREE! > > -- Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats. -- Howard Aiken
3. Re: TabItems and Combos
- Posted by Derek Parnell <ddparnell at bigpond.com> Apr 17, 2003
- 387 views
Also, try the new win32lib release. ---------------- cheers, Derek Parnell ----- Original Message ----- From: "Evan Marshall" <1evan at sbcglobal.net> To: "EUforum" <EUforum at topica.com> Subject: Re: TabItems and Combos > > I'll have to try it at home on my XP box. > > > Jonas Temple wrote: > > > > >Evan, > > > >The example you provided worked fine for me. > > > >Using Win32Lib V0.57.9 > >Win2000 Pro > > > >Jonas > >Evan Marshall wrote: > > > > > >>I have a program with a TabControl containing some number of > >>TabItems which in turn contain some number of Combos. Only > >>the Combos belonging to the rightmost TabItem are visible, > >>and they are visible no matter which TabItem I click on. > >>How do I make the Combos visible at the right time and place? > >> > >>Using win32lib v0.57.9 > >>Win98SE > >> > >>--Code Example > >> > >>include win32lib.ew > >> > >>constant > >>Win = createEx(Window,"",0,0,0,600,400,0,0), > >>tabber = createEx(TabControl,"",Win,5,20,400,100,0,0), > >>tab = createEx(TabItem,"Pick > >>Me",tabber,Default,Default,Default,Default,0,0), > >>tab2 = createEx(TabItem,"No, > >>Me",tabber,Default,Default,Default,Default,0,0), > >>combo = create(Combo,"",tab,50,50,50,20,0), > >>combo2 = create(Combo,"",tab2,60,70,60,30,0) > >> > >>WinMain(Win,Normal) > >> > >> > >TOPICA - Start your own email discussion group. FREE! > > > > > -- > Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats. > -- Howard Aiken > > > > TOPICA - Start your own email discussion group. FREE! >
4. Re: TabItems and Combos
- Posted by Evan Marshall <1evan at sbcglobal.net> Apr 17, 2003
- 382 views
Thanks, Derek, that did the trick. Derek Parnell wrote: > >Also, try the new win32lib release. > >---------------- >cheers, >Derek Parnell >----- Original Message ----- >From: "Evan Marshall" <1evan at sbcglobal.net> >To: "EUforum" <EUforum at topica.com> >Sent: Friday, April 18, 2003 4:29 AM >Subject: Re: TabItems and Combos > > >>I'll have to try it at home on my XP box. >> >> >>Jonas Temple wrote: >> >> >>>Evan, >>> >>>The example you provided worked fine for me. >>> >>>Using Win32Lib V0.57.9 >>>Win2000 Pro >>> >>>Jonas >>>Evan Marshall wrote: >>> >>> >>>>I have a program with a TabControl containing some number of >>>>TabItems which in turn contain some number of Combos. Only >>>>the Combos belonging to the rightmost TabItem are visible, >>>>and they are visible no matter which TabItem I click on. >>>>How do I make the Combos visible at the right time and place? >>>> >>>>Using win32lib v0.57.9 >>>>Win98SE >>>> >>>>--Code Example >>>> >>>>include win32lib.ew >>>> >>>>constant >>>>Win = createEx(Window,"",0,0,0,600,400,0,0), >>>>tabber = createEx(TabControl,"",Win,5,20,400,100,0,0), >>>>tab = createEx(TabItem,"Pick >>>>Me",tabber,Default,Default,Default,Default,0,0), >>>>tab2 = createEx(TabItem,"No, >>>>Me",tabber,Default,Default,Default,Default,0,0), >>>>combo = create(Combo,"",tab,50,50,50,20,0), >>>>combo2 = create(Combo,"",tab2,60,70,60,30,0) >>>> >>>>WinMain(Win,Normal) >>>> >>>> >>>> >>>> >>>TOPICA - Start your own email discussion group. FREE! >>> >>> >>-- >>Don't worry about people stealing your ideas. If your ideas are any good, >> >> >you'll have to ram them down people's throats. > > >>-- Howard Aiken >> >> >>TOPICA - Start your own email discussion group. FREE! >> >> > > >TOPICA - Start your own email discussion group. FREE! > > -- Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats. -- Howard Aiken