-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3i
mQBtAzNbtlwAAAEDAOsilyHKFPvoEV0ZCb2jIiGChE1W1PNmR23qFeKA/qrwrWuU
uY7dkgRf+RetV8OT0G9wJCZE1eZt5LqLVhI5oOTd2w2cOBHz+HguVHNJ/sPQ5x6q
aC6heD2iT7dQ0YfMsQAFEbQdVmlydHVhbCBDb3dib3kgdmljdGhjQGlibS5uZXSJ
AHUDBRAzW7Zdok+3UNGHzLEBAd7nAv9A5HmpaHmX/ccQTZEALe3olMvMR5nw5+Y7
6kBHlWxFCVMbbXL+KPiuc0sa+pfoLJZpyDtPXPS+X4sgdneb6JIoL7kD1PIBamAE
nDay87lcUgHv36M0f03xomNNV6H+DEU=
=X+2D
-----END PGP PUBLIC KEY BLOCK-----
->Can any1 tell me how I can remove this "GhostGrid" from a Gadget which was
->turned off with OffGadget(), after using OnGadget()... It seems as doesn't
->OnGadget() do it... I tried RefreshGadgets() and RefreshGList()... none worked..
->Thx 4 help...
Don't tell me. Your using Borders for your gadget images. I've never found
an easy solution myself, except maybe having a blank image the same size
as the gadget (just have PlanePick set to NULL, PlaneOnOff set to NULL).
Use drawimage to erase the old grid, then refresh your gadget imagery.
Anyone got any better solutions?
->C'ya
->--
-> ___ -+- ____________________ __________________________________
-> \ \__ /\_____/_ ____________/ / / _______________/ ____ ______ \___
-> // / // / _ \// / / / _ // / // / /. / / / / __ \/. / / /
->/ / / // / // / // / /__ / /__/ / / / / //__ / / /__ . /
->\____/__/__/__/__/_____/__/__/_____/ \____/_____/________/_____/_____/_____/
->
[cut PGP]
->
->
->
Dave - Damien - Head Pixie
------------------------------------------------------
>>>>>Insert amusing phrase, comment or quote here<<<<<
------------------------------------------------------
The Entity can be contacted at: djk...@york.ac.uk
djk...@ug.cs.york.ac.uk
head...@geocities.com
URLs: http://www.york.ac.uk/~djk102/
http://www.geocities.com/Area51/9191/
>Can any1 tell me how I can remove this "GhostGrid" from a Gadget which was
>turned off with OffGadget(), after using OnGadget()... It seems as doesn't
>OnGadget() do it... I tried RefreshGadgets() and RefreshGList()... none worked..
This is a proplem typical for non-image gadgets (working with IntuiBorders
instead of IntuiImages). The most system-conformal way of solving this
problem is to use an IntuiImage structure as gadget image, and call
RefreshGList to redraw the gadget. This will draw on top of the grid, hence
erasing it.
If you want to use IntuiBorders, here's how:
-Read the coordinates of the gadget from the list.
-RectFill() the area where the gadget is located, to remove the grid by hand.
-Refresh the gadget image with RefreshGList().
Not very nice, I know. (:
Greetings,
Thomas
______________don't_cut_here,_it_could_damage_your_terminal____________________
_______ _____ _____
/ / / / / / / EMAIL: th...@einstein.math.tu-berlin.de
/ /____/ / / /____/
/ / / / / / \ http://www.math.tu-berlin.de/~thor/thor/index.html
/ / / /____/ / /
_______________________________________________________________________________