Erel B4X founder Staff member Licensed User Longtime User May 10, 2007 #1 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. Attachments TicTacToe-Control.sbp TicTacToe-Control.sbp 1.7 KB · Views: 746
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.
Cableguy Expert Licensed User Longtime User May 10, 2007 #2 I can run it, gives me an excepcion error!!Am i the only one?
Erel B4X founder Staff member Licensed User Longtime User May 10, 2007 #3 What exception and when does it happen?
RandomCoder Well-Known Member Licensed User Longtime User May 10, 2007 #4 Works for me :sign0060: Regards, RandomCoder
Cableguy Expert Licensed User Longtime User May 11, 2007 #5 I click on the link and then o open an when i try to run it... Attachments erro.jpg 59.3 KB · Views: 780
Erel B4X founder Staff member Licensed User Longtime User May 11, 2007 #6 Download the updated Basic4ppc Desktop: http://www.b4x.com/files/Basic4ppcDesktop-Unregistered.zip and it will be fixed.
Download the updated Basic4ppc Desktop: http://www.b4x.com/files/Basic4ppcDesktop-Unregistered.zip and it will be fixed.