Restored from previous forum. Originally posted by Blu_Matt.
Is it possible to have gadget arrays (similar to control arrays in VB)?
Thanks.
Matt.
"Do you program in Assembler?" she asked. "NOP," I replied.
Arrays of gadgets?
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> Is it possible to have gadget arrays (similar to control arrays in VB)?
If you design your form in VB and then use my own vis2pure app to convert it
to PureBasic, then yes, you can have control arrays.
http://www.bowlay.com/vis2pure.htm
(Actually, you can also do it just by calling the same "click" routine from all
the gadgets in the array, and setting an index variable so the routine knows
which gadget called the routine).
PB - Registered PureBasic Coder
Edited by - PB on 09 February 2002 20:42:17
> Is it possible to have gadget arrays (similar to control arrays in VB)?
If you design your form in VB and then use my own vis2pure app to convert it
to PureBasic, then yes, you can have control arrays.
http://www.bowlay.com/vis2pure.htm
(Actually, you can also do it just by calling the same "click" routine from all
the gadgets in the array, and setting an index variable so the routine knows
which gadget called the routine).
PB - Registered PureBasic Coder
Edited by - PB on 09 February 2002 20:42:17
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm