Page 1 of 1

Posted: Sat Feb 09, 2002 3:34 pm
by BackupUser
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.

Posted: Sat Feb 09, 2002 8:41 pm
by BackupUser
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

Posted: Sun Feb 10, 2002 9:12 pm
by BackupUser
Restored from previous forum. Originally posted by Blu_Matt.

Lovely! Thanks :)

"Do you program in Assembler?" she asked. "NOP," I replied.