bvr
New Member
Posts: 3
|
Post by bvr on Oct 15, 2010 11:29:04 GMT -5
I have a registered version of LB Workshop, and Im in the GUI builder. The Edit and Edit Tools menus are grayed out and I can't access them. After I use the API Tab strip, I cannot do anything else, it just keeps moving the tab strip. Example would be I have a new GUI created, then I click on the API Tab Strip, and stretch it out to the same height and width of the GUI form, because my program is too big for one GUI, so I wanted to use tabs. But after I use the tab tool, and select any other tool, it doesn't select them. I could click on a new tool, then click on my GUI to add it and it will just have the cross arrows, and will just edit the position of the tab controls.
|
|
|
Post by Alyce Watson on Oct 15, 2010 20:00:01 GMT -5
Yes, this happens. If you make a control the same size as the client area of the window, you cannot draw other controls there. Try it with another type of control and you will see that the same thing happens. To fix it, make the tab control smaller and position the other controls outside of the tab control. The GUI maker will not allow you to add controls to the tab strips. You'll have to do that within your program. Tab strips are complex controls. You must capture the user clicks and change the other controls to coincide with the tab that has been clicked. Here is a tutorial on the use of tab strips. lbpe.wikispaces.com/TabStripsIf you do not want to do something so complicated, it would be better to choose another method of presenting multiple pages of controls. You can open and close many other windows in a Liberty BASIC program.
|
|