ChangeGadgetClass
Posted: Fri Aug 08, 2003 2:31 pm
For Coloring a Gadget (i.e. a Window) you need to set a parameter in the Gadgets WindowClass. If I try to set the Background Brush for a specific Gadget (Container Gadget) I change at the same time all other ContainerGadgets too.
It would be nice, to have a command, that allows you to automatically create another WindowClass, so I can seperate specific Gadgets from the others.
For Reasons of needed Memory I wouldn't want to create a new Class for every new Gadget.
It would be nice, to have a command, that allows you to automatically create another WindowClass, so I can seperate specific Gadgets from the others.
Code: Select all
ContainerGadget( .... ) ; would have PBContainer01 Class
ContainerGadget( .... ) ; this also
ChangeGadgetClass( )
ContainerGadget( .... ) ; would have PBContainer02 Class