[Gambas-user] Object class and name

PV oreip at ...1...
Thu May 12 15:33:38 CEST 2005

Hi everybody,

I need to iterate over a set of different controls (like textboxes, buttons,
labels etc) inside a container, and I need to know their name (and possibly
class) to properly operate on each of them.

I have to do something like

   DIM hControl AS Control
   FOR EACH hControl IN Frame1.Children
     IF hControl.Class [or .Name] = something THEN
     END IF

but, according to what I have been able so far to learn about Gambas, neither
.Class nor .Name are available.

Is that right or is there any other method to accomplish this task?


More information about the User mailing list