Tab menu ?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Chrius
Posts: 19
Joined: Fri Jan 28, 2011 4:04 pm

Tab menu ?

Post by Chrius » Mon Apr 18, 2011 5:30 pm

Hi,

i searched around, without success...
I'd like to allow the final user to add/delete tabs (on tab menus), and rename them... but don't know how...

Moreover, we can get the tab in use, with the name, but isn't there any other way to ? (with his number for example)

Thanks for help

Chris

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Tab menu ?

Post by Mark » Wed Apr 20, 2011 9:16 am

Hi Chris,

Like any button, just add or remove a line from the text of a tab button, e.g.

put cr & "New Tab" after the text of btn "Your Tab Button"

Yes, you can also use numbers. There are many ways to refer to a particular line in a button or to a particular item in a menu. What do you want to do exactly?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Chrius
Posts: 19
Joined: Fri Jan 28, 2011 4:04 pm

Re: Tab menu ?

Post by Chrius » Thu Apr 21, 2011 3:58 pm

well thanks for help !

i was in the wrong way... It works now
I just have to investigate more to manipulate it as I want... I'll come back here if I have problems to solve my case

Post Reply