Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 07/03/2006 @ 22:28 par aldweb
visiteur |
"white" is not always the right backcolor as color themes can be applied to all color devices (native in the new ones, with some third party tools for earlier color devices).
The COLOR(0) function retrieves the backcolor whatever the device's screen capabilities. So there is no need for complex checks. For example, give a look to the NekoCat sample program (a "white" square is drawn over the cat or the mouse when it moves to erase its previous status), or to the Matches sample application (matches are also erased a similar way), or even to the iBPlot sample program (this time, the whole drawing area is refreshed with a similar way of doing).
Cheers, aldweb
|