Search found 1 match
Search found 1 match • Page 1 of 1
- Wednesday 15th January 2020 5:11am
- Forum: General
- Topic: Addressing several objects on a form in 1 line of code
- Replies: 8
- Views: 2493
Greetings! I have this code: Separator1.Foreground = Color.Green Separator2.Foreground = Color.Green Separator3.Foreground = Color.Green And 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.Green But ...