aldweb

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

m.aldweb.com


Neither French, nor English?

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




Weather / Spam / www

Lyon Weather


aldweb against spam


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

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1606

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 1606  Right Justify numbers in a Visibasic numberfield

01/02/2008 @ 10:17
by Gary

Anonymous



I have a few questions concerning VisiBasic and Bird.

1. How do you right justify a numberfield in VisiBasic?
2. How do you change the color of a button in VisiBasic and with Bird?

I tried to right justify a numberfield in Bird, but when I set Alignment to Right it does not stick.

I set all the parameters like this, Editable, Usable, Underline, Numeric, and Single Line with Alignment set to right, but the cursor is on the left when I use the numberfield not the Right.

I am also having some trouble with setfocus. I have a NUMFIELD #26 and SETFOCUS #26 isn't working on my program.

Thanks
Gary
  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
--------
04/02/2008 @ 14:08
by aldweb

Anonymous

visitor
Hello Gary,

1. if I remember well, you can't, this is some Palm OS limitation. Then ViziBasic does not offer the option (when Bird does, but it is only taken into account for text fields)

2. a little bit the same thing, it is not offered by Palm OS for an option for changing the button color, it will take system's default color.
The trick is then to use an IMAGEBUTTON (the image being the content of the button), or to draw an image underneath the button which is then created dynamically using the BUTTON statement.

About your issue with SETFOCUS, would you mind to send me a sample piece of source code in which you succeed to have the same issue?

Cheers,
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
04/02/2008 @ 21:02
by Gary

Anonymous

visitor
Thanks, I understand now and I also sent you my code with the setfocus issue.

Gary
  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
10/02/2008 @ 20:44
by Gary

Anonymous

visitor
I've noticed that setfocus is working on my Treo 650, it points to the correct field, but it does not show a cursor in the field.

Gary
Write to Gary   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 ^