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

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 1532  using menu button on tro650

23/04/2007 @ 16:26
by steve

Anonymous



inkey$ does not trap it, so what else would I use?

Am I missing the obvious??
  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
--------
24/04/2007 @ 12:35
by Supertrucker

Anonymous

visitor
First I have to ask, are you trying to actually trap the menu button keypress, or are you simply trying to get a menu to work in your program?

If you just want to use a menu, I can help you with that, but if you want to actually trap the button you're probably going to have to use PP to create some kind of "poplet."

As far as the poplets go, you're on your own... You need to understand Pascal for that task. Hence, I bought myself two books off Amazon on Pascal for less than 12 bux. We'll see how that goes.

The PP (Pocket Pascal) site is linked from this one.

Peace,

Supertrucker
Write to Supertrucker   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
--------
24/04/2007 @ 13:35
by Steve

Anonymous

visitor
I should have been more clear.

Yes I am trying to get a menu to work,... using the menu button to give me the menubar across the top.
  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
--------
24/04/2007 @ 17:31
by Supertrucker

Anonymous

visitor
Give me till this evening, and then I'll post a reply. I work thirds, I willl get back to you as soon as I can. My job takes precedence, but, I do what I can.

Peace,

Supertrucker
Write to Supertrucker   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4
--------
24/04/2007 @ 23:01
by aldweb

Anonymous

visitor
Hello Steve,

No, INKEY$ will not trap a menu, this is a button, not a key (yeah, dummy answer, sorry!).

You should trap a menu from with DOEVENTS or WAITEVENT, these functions should return a 1001 event for a menu, well I hope so because the latest Palm devices have proven not to always be compliant with their ancestors' behaviours...
For instance, the left and right buttons often changed of code recently, this is why Khertan wrote a PP applet some time ago for trapping them, according to the device(s) you target.

Now, to get a menu to work:
1. design its resource in BIRD (or RsrcEdit)
2. include the resource file with the RESOURCEFILE compiling directive
3. load the menu with the MENU statement
4. capture the 1001 event with the DOEVENTS or WAITEVENT function
5. once the 1001 event was launched, you will know which menu item was selected with the MENUITEM function

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° 5
--------
27/04/2007 @ 15:04
by Steve

Anonymous

visitor
Thankyou!

the 1001 event was exactly what I wanted.

Is there a reference list somewhere for these sort of things as they relate to iziBasic?
  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 6
--------
30/04/2007 @ 23:18
by aldweb

Anonymous

visitor
Is there a reference list somewhere for these sort of things as they relate to iziBasic?

I guess that the iziBasic wiki should be a good place to store that kind of information...

Cheers,
aldweb
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 ^