Give your tabnavigator an id and use this code:

yourTabNavId["tabBar"]._tab0.enabled = false; 

 _tab0 is the first tab on the tabnavigator (use _tab1 for the second
and so on).

"Be aware, using unsupported code like this is not guaranteed to work
in future releases, and could have unintended consequences, and cause
your immortal soul to be damned to hell."  As said by Jeff Tapper in
this article from where I got it.
http://jeff.mxdj.com/disabling_a_tab_in_a_flex_tabnavigator.htm
The only modification you have to do in his article to work on cfform
is to use the id instead the name of yourtabnavigator

Felipe


On 8/9/05, Greg Hamer <[EMAIL PROTECTED]> wrote:
> fyi ... following is a definitive answer that I received off-list from Mike
> Nimer @ Macromedia (after a friend forwarded my question to him):
> 
> Greg,
> 
> No it's not possible. The closest you can get is to disable the fields in
> the tab (or the VBox, Panel, etc) cfformgroup that wraps the fields. But the
> tab has to stay. 
> 
> Hth,
> 
> ---nimer
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214168
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to