RE: TabItems and Combos

new topic     » topic index » view thread      » older message » newer message

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)
> 
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu