Hi!
I created a private cycle custom class with MUI create custom class (subclassing it from cycle).
Then i create an object with NewObject((mymcc)->mcc_Class, NULL, TAGDONE);
If i start this way the program crashes.
If i write this:
NewObject((mymcc)->mcc_Class, NULL, MUIA_Cycle_Entries, myarray, TAGDONE);
it's ok.
But if i want to fill cycle gadget values with an external array (or even with one taken from the data area) i.e. in new method?
I tried with a set (obj, MUIA_Cycle_Entries, myarray); but it does nothing.
How can i do if i would like to "set" it at new time?
Thank you!
[ Edited by rebraist 02.03.2012 - 20:59 ]Mac Mini g4 1,5 mos 3.1 registered
Powerbook g4 1,67 mos 3.1 unregistered
Sam440 Os4.1.6
Aros-Aros-Aros.