How do you build the tabs like in the script editor

J. Landman Gay jacque at hyperactivesw.com
Mon Jun 6 11:59:46 EDT 2011


On 6/6/11 8:20 AM, Richard Gaskin wrote:
> Good to see you here, Mark:
>
>> It's a while since I've been on the list but anyway, how would I go about
>> building the same tab interface (multiple document interface) as the LC
>> script editor?
>>
>> As the user wants to open a document, they would have the choice of
>> overwriting the existing open document, or opening the document on a new
>> tab. The tab would have a close button on it just like LC's. Each opened
>> document would belong to one tab.
>>
>> They user could potentially open as many documents as they want. As the
>> number of opened tabs exceeds the stack width, two new navigation tabs
>> would
>> have to display at the far right. This would allow the user to bring into
>> view those tabs further out to the right, and the other of the 2
>> navigation
>> buttons would allow the user to view those tabs to the left.
>>
>> Anyone done such a thing?
>
> I believe at least one of Jerry's script editors uses horizontal tabs,
> but they're a lot of work to implement.

I think the OP means horizontal tabs, since that's what the LiveCode 
editor uses.

That's as simple as setting up a tab button where each tab opens either 
the correct card, or shows the correct group.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list