1. TabItems and Combos

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 message » categorize

2. 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

new topic     » goto parent     » topic index » view message » categorize

3. Re: TabItems and Combos

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: TabItems and Combos

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu