Page 1 of 1

Searching but not finding - Programmatically create tabs

Posted: Sat Feb 14, 2015 3:23 am
by trenatos
I've been looking for info on this for a while, but I can't find it anywhere: How would I programmatically create/delete tabs?

It's for a dynamic interface, so I won't know the values of the tabs, or how many there are beforehand.

Re: Not searching enough but still finding...

Posted: Sat Feb 14, 2015 2:06 pm
by FredBeck
Where on earth have you been looking? :)
From the user's manual :
To create the individual menu items that will appear in the menu, set the button's text
property to the menu's contents, one menu item per line. You can either set this property
in a handler, or fill in the box labeled "Menu items" on the Basic Properties pane of the
property inspector.
And since it's Coffe+Livecode time here, there's a stack.

Re: Searching but not finding - Programmatically create tabs

Posted: Sat Feb 14, 2015 4:22 pm
by trenatos
Bah, I knew it'd be something stupid simple, just couldn't find it. lol

Thanks FredBeck :)

Re: Searching but not finding - Programmatically create tabs

Posted: Sun Feb 15, 2015 3:14 am
by dunbarx
Hi.

You should also play around with all the control characters that go along with that, so you can create hierarchal menus, dividing lines, etc.

Craig Newman

Re: Searching but not finding - Programmatically create tabs

Posted: Sun Feb 15, 2015 4:06 pm
by trenatos
I'm looking for / thinking of making a decent folder/file tree

Re: Searching but not finding - Programmatically create tabs

Posted: Sun Feb 15, 2015 6:23 pm
by jmburnod
Hi Marcus,
Here is a lesson about "files and folder" that could be useful for your project
http://lessons.runrev.com/m/4071/l/1708 ... ers-part-2
Best regards
Jean-Marc

Re: Searching but not finding - Programmatically create tabs

Posted: Sun Feb 15, 2015 9:41 pm
by trenatos
Getting the data's not a problem, just a matter of displaying, and if I'll have to build something up for that myself or if I can find something free. (At the moment it seems I'll be creating something)