Page 1 of 1

Posted: Sat Feb 22, 2003 8:22 pm
by BackupUser
Restored from previous forum. Originally posted by dmoc.

Do they have to be unique for the same window for different types of gadget? Eg, is zero ok for both a string and a button gadget?

Two windows, same type of gadget, do gadget numbers have to be unique?

Posted: Sat Feb 22, 2003 9:16 pm
by BackupUser
Restored from previous forum. Originally posted by freak.

Gadget numbers should be unique, even if they are on different Windows. However, if you don't want to ge Events for a Gadget, or change it after creation, you can give all those 'static' Gadgets the same Number.

Like in the Editor Source, all TextGadgets that don't change have 0 as Number.

Timo

Posted: Sat Feb 22, 2003 10:01 pm
by BackupUser
Restored from previous forum. Originally posted by dmoc.

Cheers Timo.