|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1609 |
color used in boxfilled |
03/03/2008 @ 17:24 by Gary
|
I am writing a compiling on a m505, but I want the program to work on all devices. However, I am having some trouble getting boxfilled to work with the proper backround color.
BEGIN Z=SCREENMODE SCREEN Z T=COLOR(0)
COLOR T BOXFILLED 60,100 TO 139,122
The problem is COLOR T does not set the pen color to the backround color. BOXFILLED works, but the color is not correct on the the other devices, Treo 650 and a Z22. In fact, even on the m505 there is a slite color variation in the BOXFILLED compared to the actual backround color.
Thanks Gary
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 08/03/2008 @ 15:29 by aldweb
visitor |
Hello Gary,
The trick you describe to make sure to use the background color to draw a filled box (for example, to erase a drawn area) is the one used since ages in my NekoCat sample application for example. And it does work very well.
So, my 1 penny guess is that there is something wrong somewhere in your code...
Maybe, look back at the source code of NekoCat, iBPlot, Matches, all these applications work with this principle.
Cheers, aldweb
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2 -------- 08/03/2008 @ 22:15 by Gary
visitor |
Sorry I did not get back sooner, but I tried compiling on my treo 650 and it works.
When I compile on the m505 it does not work. The m505 is version 4.0 and the treo is version 5.4.0.
Does iziBasic need a newer version to run correctly? I did not see anything in the manual about that.
Thanks Gary |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3 -------- 09/03/2008 @ 11:31 by aldweb
visitor |
Hello,
iziBasic was developped with all Palm OS versions compatibility in mind, iziBasic works with Palm OS 3.0 and up. A few statements and functions have some limitations (most of the time these are Palm OS limits, although I do not exclude a few bugs on my side), explanations are then provided in the user manual. Older devices also have memory limits which we do not have anymore in Palm OS 5 devices... which can have, on their side, some upward compatibility issues (and I had to manage some in iziBasic's source code...). Nevertheless, a same source code compiled in any device should almost always work just as fine in any device with a Palm OS version greater than the one set in the MINOSVER compiling directive.
Maybe send me your source code so that I can try to figure out what is happening...
Cheers, aldweb |
|
|
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky
|
|