Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !

Mobile version of
the aldweb Site

Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]

Weather / Spam / www

Lyon Weather

aldweb against spam

To receive news about this website, consider subscribing to our Newsletter.
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News


   visitors online

What do you think of the new design of the aldweb Site?
Great !
So ugly...
forum.gifForum - iziBasic - Topic #1372

Forum - Forum
iziBasic - iziBasic

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1372  Color Question

07/03/2006 @ 20:44
by Nevin


Is there a standard color code that I can use for "white" that will cover Palm OS 3.0-5.0 or do I have to have my program do a series of checks with if statements to check the screen so that it will cover older versions of Palm OS that may not support as many colors.

Write to Nevin   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
07/03/2006 @ 22:28
by aldweb


"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).

Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
Forum Topic  Forum 

^ Top ^