Thanks
Your a life saver
I love this plugin now
One last cheeky request
I dont suppose you could just write a bit of code showing how to make a tab menu to the right of the screen?
- Co-ordinates (540,0,640,480): at this resolution
- 3 tabs (so I can see the pattern and do it myself from now on)
Thanks
Your brilliant
I love this plugin
I have had a go myself, but I just get a black screen
Heres the code i used:
#include "BBBGUI_CONSTANTS.dba"
set display mode 640,480,32
sync on : sync rate 40
start bbb gui `"Media\Ruby.msstyles"
windows set font 7,"Arial",0,0,0,0
windows set visibility 1
windows set icon "Media\dbpro_icon.ico"
dbpro_w=get dbpro window() : set main window dbpro_w
tab=make tab control(20,20,200,200,TCS_FIXEDWIDTH,dbpro)
w1=make window(1,23,196,174,"",tab,WS_CHILD) : tab insert item tab,"1.",0,w1
w2=make window(1,23,196,174,"",tab,WS_CHILD) : tab insert item tab,"2.",1,w2
w3=make window(1,23,196,174,"",tab,WS_CHILD) : tab insert item tab,"3.",2,w3
tab set item size tab,50,20
l=make label(50,50,100,100,"First tab",w1)
l=make label(50,50,100,100,"Second tab",w2)
l=make label(50,50,100,100,"Third tab",w3)
tab set selected item tab,0
set window on
window set style dbpro_w,window get style(dbpro_w)||WS_CLIPCHILDREN
do
sync
loop