[Gambas-user] Objects on a Form III

Charlie karl.reinl at ...9...
Fri Jan 31 21:12:03 CET 2003


>
>
>>Salut Benoit and all gambas - mailers,
>>
>>I still looking for a possibiliety to access to the objects on a Form.
>>In the IDE it is made by scanning the *.form file, but is it possible to
>>do it
>>in a program ?
>>Like Form.objects or something like that.
>>I need to access to the form.object.proberties.
>>
>>amicalement
>>
>>charlie
>>    
>>
>Salut
>It's really simple !!!
>
>Form is a container and a control
>so look at the container properti in the componant explorer
>
>''//
>Dim hControl as Control
>Dim Counter as Integer
>
>For Each hControl in Me.Children
>   Counter = Counter + 1
>   Print hControle.With
>Next
>Message.Info ("There is " & str(Counter) & "Control in this Form")
>
>END 
>
>Fabien
>  
>
Salut ,

this works well for all Controls on 'the first flor'  only.
I got mor informations on

DIM hControl AS Object 

But wow can I find out the Containers and theire Controls ?
How can I aske for the kids ?

I turned Objects,Containers and Controls!

Is theire a roadmap ?

Charlie
 





More information about the User mailing list