Basic4ppc includes some keywords that allow you to easily work with a dynamic number of controls.
The main keywords are:
Control - Calls a control using a string.
Example: Control ("button" & i).Color = cRed
AddEvent - Wires a control event with a specific sub. One sub can handle many controls events.
Sender - The control that raised the event.
This is a short example (50 lines) of using these keywords to create a Tic-Tac-Toe game.
The main keywords are:
Control - Calls a control using a string.
Example: Control ("button" & i).Color = cRed
AddEvent - Wires a control event with a specific sub. One sub can handle many controls events.
Sender - The control that raised the event.
This is a short example (50 lines) of using these keywords to create a Tic-Tac-Toe game.