okegbenle mayowa
Mon, 08 Jun 2009 02:29:38 -0700
Hello Anjum,
I think you should bind the enable property of your components to a public
Bindable variable.
eg
[Bindable]
public var buttonsEnabled:Boolean;
.
.
.
<mx:Button label="Submit" enabled= {buttonsEnabled}/>
<mx:Button label="Cancel" enabled= {buttonsEnabled}/>
This way, anytime you set buttonsEnabled to true or false, the buttons get
enabled or disabled respectively
Hope this helps
MayorBrain
________________________________
From: Anjum Shahzad <anjum.shah...@flyingtechs.com>
To: flexcomponents@yahoogroups.com
Sent: Monday, June 8, 2009 9:04:44 AM
Subject: [flexcomponents] how to make read only component at run time
Hi,
i want to make non-editable component except
buttons,link buttons.my case is these controls(buttons e.t.c) contained on a
canvas.i want to make ready only the whole canvas except buttons.
enable and disable deciesion is taken at runtime.i
do not want to set editable/enable the property of each control.
please provide the solution.
regrads
anjum