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

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° 1532  using menu button on tro650

le 23/04/2007 @ 16:26
par steve

Anonyme



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

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

Anonyme

visiteur
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
Ecrire à Supertrucker   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 24/04/2007 @ 13:35
par Steve

Anonyme

visiteur
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.
  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 24/04/2007 @ 17:31
par Supertrucker

Anonyme

visiteur
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
Ecrire à Supertrucker   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° 4
--------
le 24/04/2007 @ 23:01
par aldweb

Anonyme

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

Anonyme

visiteur
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?
  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° 6
--------
le 30/04/2007 @ 23:18
par aldweb

Anonyme

visiteur
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
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 ^