Tab Panel Highlights Not Appearing Correctly?

J. Landman Gay jacque at hyperactivesw.com
Wed Sep 17 19:16:57 EDT 2014


On Wed, Sep 17, 2014 at 9:26 AM, JOHN PATTEN <johnpatten at me.com> wrote:
>> I think i must be using the Tab Panel object incorrectly. The tabs do not
>> highlight correctly when clicked on.

On 9/17/2014, 12:44 PM, Peter Haworth wrote:
> I think by resetting the text of the tab, it loses the info on which tab
> was clicked.  I would save off the tab number that was clicked (I think
> that's the menuhistory for tabbed buttons but not sure) then reset it after
> you set the text.

The menupick message includes the previous tab as a parameter, so one 
solution for John might be to change the mouseUp handler to a menuPick 
and track things that way.

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




More information about the use-livecode mailing list