October 30, 2025, 10:48:04 AM

News:

IWBasic runs in Windows 11!


Tabs..?

Started by King64, February 20, 2011, 04:01:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

King64

Hi guys, i'm here again with another question for you  ;D. I'd like to add to my app a tab control as output window of EB, showed below, but i can't  :(. I searched around a bit, but I found nothing. Is there anyone of you has to show me the code about it? Thanks in advance for the answer(s)  :)

LarryMc

In the toolbar example program change this line
tc = CONTROLEX(parent,"systabcontrol32","",x,y,w,ht,@BORDER|@EXCLIENTEDGE,0,num)
to this
tc = CONTROLEX(parent,"systabcontrol32","",x,y,w,ht,@BORDER|@EXCLIENTEDGE|2,0,num)
and that will put the tabs on the bottom.
You can also do it with the Control Pak library that comes with IWBasic/EB.

If you want it to look EXACTLY like the picture then you'll have to draw it yourself.

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

King64

Thank you for the explanation Larry.  :)