Re: Looking for Ideas for Tab Control

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

Derek Parnell wrote:
> 
> don cole wrote:
> 
> > TC = create(TabControl, "" , 0, Main,
> > 0,0,372,122,{TCS_MULTILINE,TCS_BOTTOM})
> > 
> > It's still at top.
> > 
> > Then to
> > 
> > TC = create(TabControl, "" , 0, Main,
> > 0,0,372,122,{TCS_BOTTOM,TCS_MULTILINE})
> > 
> > Now it's at the bottom but no multiline. It does have little scroll tabs
> > that
> > works fine.
> > 
> > I'm going to leave it at
> > 
> > TC = create(TabControl, "" , 0, Main, 0,0,372,122,TCS_BOTTOM)
>  
> 
> Have you tried ...
> 
>    TC = create(TabControl, "" , 0, Main, 0,0,372,122,
>               w32or_all({TCS_MULTILINE,TCS_BOTTOM}))
> 
> The 'w32or_all()' will cause those flags to be merged with the default ones,
> whereas you had it coded the {TCS_MULTILINE,TCS_BOTTOM} would have replaced
> the default flags, and that might be a problem.
> 
> -- 
> Derek Parnell
> Melbourne, Australia
> Skype name: derek.j.parnell


Hello Derek,

That did the trick.

Edita uses Arwen;I took the w32 out and it worked.

   TC = create(TabControl, "" , 0, Main, 0,0,372,122,
            or_all({TCS_MULTILINE,TCS_BOTTOM}))


So "OR" really means "AND" here?



Don Cole

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

Search



Quick Links

User menu

Not signed in.

Misc Menu