realbasic-nug
[Top] [All Lists]

Tabpanel "enable" problem

To: "REALbasic Network Users Group" <realbasic-nug at lists dot realsoftware dot com>
Subject: Tabpanel "enable" problem
From: "Tracy" <tracygj at ak dot planet dot gen dot nz>
Date: Fri, 20 Feb 2004 13:02:16 +1300
References: <636AC430-6335-11D8-A180-000A95687284 at ossayu dot com>
Hi listers
A little tabPanel problem I've struck:

I want to be able to  - on a 3 tab tabpanel, while
allowing my users to work on tab 2 - I want tabs
1 and 3 to be not accessable.

I've tried putting code into the "change" event of the
tabpanel - but this simply runs the code and shows
the warning I want - then sets the focus to the tab anyway.

So I need either...
(1) A way to intercept the mouse click event on the tab
     and hence stop it
(2) Be able to do  myTabPanel.tab1.enabled = false
    but the tabpanel is one object so this sets the entire
tab as not enabled.

Any ideas or workarounds ??

Cheers Tracy


 - - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>