Re: Looking for Ideas for Tab Control

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

Al Getz wrote:
> 
> don cole wrote:
> > 
> > Al Getz wrote:
> > > 
> > > don cole wrote:
> > > > 
> > > > hello Al,
> > > > 
> > > > I would work like long file names.
> > > > 
> > > > I'm thinking of Edita here.
> > > > 
> > > > Rather than a tab saying Deluxe Slide Show 3 it might say DSS3.
> > > >  or maybe even A1,A2,B4,etc. You might put the full name in that hidden
> > > >  menu
> > > >  you get when you pass the mouse over the tab. (I forget what it's
> > > >  called).
> > > > 
> > > > I made a mistake in that last post. it should he been therefor the tab
> > > > line
> > > > will be shorter,
> > > > 
> > > > How do get the tabs on the bottom?
> > > > 
> > > > I found TABSTOP, but can't find any TABSBOTTOM.
> > > > 
> > > > 
> > > > Don Cole
> > > 
> > > Hi Don,
> > > 
> > > 
> > > Oh i see what you mean now.
> > > 
> > > I also like the idea of tabs on the bottom for one style, so maybe
> > > i should include that kind of style too.
> > > Antonio and myself were also talking about right or left side tabs,
> > > where the text would fit real nice and you can have many more
> > > tabs before running out of space.  How's this sound?
> > > 
> > > Presently i dont think Windows allows tabs on the bottom, although
> > > with my custom control i guess i could add a style to have them
> > > appear on the bottom instead of the top, but let me know what
> > > you think about right side tabs?
> > > 
> > 
> > Go to
> > <a
> > href="http://www.troja.freeserve.co.uk/freestuf.htm">http://www.troja.freeserve.co.uk/freestuf.htm</a>
> > and notice the tabs at the bottom.
> > 
> > The tabs on the side seems ok. Especially if you named them A1,A2,B3,etc. as
> > not to take up too much room. The word I was thinking of was ToolTip. You
> > could
> > have a tooltip over each tab spelling out the fullname of the tab.
> > 
> > 
> > > Al
> > > 
> > > 
> > > My bumper sticker: "I brake for LED's"
> > > 
> > 
> > Don Cole
> 
> Hi Don,
> 
> Wait a minute...silly me...i think there is a style: TCS_BOTTOM.
> Yes, confirmed on the MS site, as well as TCS_VERTICAL and TCS_RIGHT.
> This means with the default MS tab control we can put the tabs on
> the top, bottom, or left or right side.
> If you're using the LaunchPad, then you can change the style yourself.
> Just add it in with the other styles (if any) where the tab control
> is created (ie add the TCS_BOTTOM).
> 
> Thanks for reminding me about this!

I haven't tried LaunchPad yet but I did try Edita.

I changed the line:

TC = create(TabControl, "" , 0, Main, 0,0,372,122,TCS_MULTILINE)

to

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)

And re-bind Edita.

Thanks for the tip. I was looking for it on the Microsoft web site but couldn't
find anything. I did find that TABSTOP means tab stop not tabs top.

By the way whether the tab are on the top ,bottom, or side it still takes up 
the same amount of room.

Don Cole

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

Search



Quick Links

User menu

Not signed in.

Misc Menu