aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1609

Forum - Forum
iziBasic - iziBasic


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

actif  Sujet n° 1609  color used in boxfilled

le 03/03/2008 @ 17:24
par Gary

Anonyme



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
Ecrire à Gary   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1
--------
le 08/03/2008 @ 15:29
par aldweb

Anonyme

visiteur
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
Ecrire à aldweb   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2
--------
le 08/03/2008 @ 22:15
par Gary

Anonyme

visiteur
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
Ecrire à Gary   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3
--------
le 09/03/2008 @ 11:31
par aldweb

Anonyme

visiteur
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
Ecrire à aldweb   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^