CompuServe Messages

#Modula-2 Oxxi Gadgets

    13-Sep-87 12:19:52
Fm: Pat Cummings, OXXI 76367,1704
To: Jim Vogel 73177,441
Hi Jim: I realise your message was for Steve but I thought I might be able to help. The proper way to disable/enable gadgets is with OnGadget()/OffGadget() and it really works, I checked. However, here is the problem the text is rendered again when you issue a call to OnGadget() but the ghost pattern is still their and is not erased. If you try OnGadget()/OffGadget() with an Image based gadget you will notice it works just fine, because the whole image is redrawn. In order to work properly you have to clear the rectangle where the text gadget is located and then do a call to OnGadget(). I hope that helps. >> Leon <<