I have HBox containing some buttons that appear to be disabled when
the application starts up.  I say appear because if I inspect them
their enabled property is true.  Yet, they are "greyed" out and
unclickable.  The HBox is defined as a child under WindowedApplication.
I can't find way to make them usable.  I must be missing something
obvious.

<mx:WindowedApplication ....
    <mx:menu>
        <mx:FlexNativeMenu id="appMenu" dataProvider="{tMenu}" 
labelField="@label" showRoot="false"/> 
    </mx:menu>
    <mx:HBox width="100%">
        <mx:Button id="upload" label="Upload" click="onSelect(event);"/>
        <mx:Button id="edit" label="Edit" click="onSelect(event);"/>
        <mx:Spacer width="100%"/>
        <mx:Label id="connection" text="No Connection"/>
    </mx:HBox>
    <mx:ViewStack id="main" selectedIndex="0" creationPolicy="all" width="100%" 
height="100%">
        <console:Upload id="uploader" width="100%" height="100%"/>
        <console:TemplateEditor id="editor" width="100%" height="100%"/>
    </mx:ViewStack>
</mx:WindowedApplication>

Reply via email to