[Gambas-user] Iterating through and enabling and disabling	controls on a form...
    sbungay 
    sbungay at ...981...
       
    Tue Feb  6 15:53:24 CET 2007
    
    
  
   SOrry for the ambiguity in my initial message.. it reads "if the form 
has enabled set to false", it should read "if the control on the form is 
set to false at design time". My bad.
Steve.
Benoit Minisini wrote:
> On Tuesday 06 February 2007 05:15, Stephen Bungay wrote:
> 
>>ControlHandle.Enabled = True doesn't set Enabled to True if the form has
>>Enabled set to False by default. However, if Enabled is set to True by
>>default then ControlHandle.Enabled can successfully toggle the value, thus
>>Disabling and Enabling the control. Is this a bug?
>>
> 
> 
> No, it is a feature. A disabled container automatically disabled its children.
> 
> Regards,
> 
    
    
More information about the User
mailing list