Thanks Phil. I think the "(" is the standard char to disable menu items, so that makes sense. I did notice the "(" character in front of the lines that I disabled. Pete
On Sun, Apr 1, 2012 at 3:16 PM, Phil Davis <rev...@pdslabs.net> wrote: > Hi Pete, > > As usual in Livecode, there are multiple ways to disable a tab. If you > want to manipulate the button text directly, you can put "(" before the > line of button text for the tab you want to disable. Or to enable all tabs, > replace "(" with empty in text of btn 1. > > Best - > Phil > > > > On 4/1/12 1:45 PM, Pete wrote: > >> Thanks Marty. Sometimes the obvious just slips by me! >> Pete >> >> On Sun, Apr 1, 2012 at 12:43 PM, Marty Knapp<martykn...@comcast.net> >> wrote: >> >> Hey Pete, >>> Using "disable menuItem 2 of btn "Tab Menu" seems to work. >>> >>> Marty Knapp >>> >>> I have a tab control and I'm using the method of revealing data on each >>> >>>> tab >>>> by having groups with the same name as each tab which are hidden/shown >>>> when >>>> a tab is clicked. >>>> >>>> Depending on data conditions, I need to disable one of the tabs, meaning >>>> that clicking ion it has no effect. Right now, I'm doing this in a >>>> selectionChanged handler that checks the data condition, beeps if the >>>> use >>>> clicks on a disallowed tab, and leaves the original tab/group displayed. >>>> >>>> That works OK but there is no visual indication that the tab is not >>>> available. Ideally, I'd like the text in the tab heading to be greyed >>>> out, >>>> kinda like a disabled menu item. Any ideas how to do that? >>>> >>>> >>>> >>>> ______________________________****_________________ >>> >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/****mailman/listinfo/use-livecode<http://lists.runrev.com/**mailman/listinfo/use-livecode> >>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> >>> > >>> >>> >>> >> > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > > ______________________________**_________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> > > -- Pete Molly's Revenge <http://www.mollysrevenge.com> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode