I have this code:
Separator1.Foreground = Color.Green Separator2.Foreground = Color.Green Separator3.Foreground = Color.GreenAnd so on. There are 15 of those separators. This looks excessive and ugly.
If it were VB5, I'd solve this problem easily:
Separator$.Foreground = Color.GreenBut sadly this doesn't seem to work on Gambas...
Is there a way to call all the objects on the form with the same name but a different number?
Your help is much appreciated.