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 #979

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 979  Textfield focus

29/10/2004 @ 21:30
by Daniel

Anonymous



Hello,

First, thank's for the new iZiBAsic release.

One question:

How set the textfiled focus ?
I wrote a iziBasic program with two textfield, when run the program the focus always in the second textfield, why ?
  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
--------
29/10/2004 @ 21:46
by aldweb

Anonymous

visitor
Hello Daniel,

The iBAddress sample program gives a clue about the answer.

ShowRecord:
'Top field #2 set last to get focus
UPDATEFIELD #4,B$­­
UPDATEFIELD #6,C$­­
UPDATEFIELD #8,D$­­
UPDATETEXT #10,E$­­
UPDATEFIELD #13,F$­­
J$­­=STR$­­(I,0)+"/"+STR$­­(K,0)
UPDATELABEL #17,J$­­
'Top field #2 set last to get focus
UPDATEFIELD #2,A$­­
RETURN

It is even the only comment I inserted in the sample programs!

Indeed, the focus is always set to the last field, either created or updated.
Would you wish to force the focus to one field, here is way to do it (I assume in this sample code that the field was already created):

B$­­=FIELD$­­(#4) : UPDATEFIELD #4,B$­­

This preserves the value currently stored in the field.

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
--------
30/10/2004 @ 00:10
by Daniel

Anonymous

visitor
oooh !
Thank's.

Other question:

I compiled a with the iZiBasic, a icon make with rsrcEdit without problem but i can't compiled a icon make with IconMgr.

How indicate this in the resource directive ? or the prblem is in the icon format of IconMgr ?

Write to Daniel   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
--------
30/10/2004 @ 05:34
by gmigueis

Anonymous

visitor
Hello!
I had the same problem with IconManager. For the hi-res resources to be recognized by Palm OS (as it is out of the box - there are workarounds, of course) they have to be uncompressed! Not a big deal for bitmaps of 22*18 anyway.
So, open your icon library in IconMgr, select Menu->Misc->Compression and press the "Uncompress all icons", or so, button.
Everything should work fine now!

IconMgr is a really great app! I'm wondering if the author can update it to allow custom dimension bitmaps
Write to gmigueis   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 ^