Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut menu how to return a value
Message
De
28/04/2006 07:00:09
 
 
À
28/04/2006 06:42:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01117430
Message ID:
01117436
Vues:
16
>I was spending hours in the ER yesterday, so I had to entertain myself. I started programming a soduku puzzle game.
>now here is the question:
>I build a shortcut menu with the available numbers like:
>2
>3
>6
>8
>
>the user can select one of the numbers. this number now should be entered in the textcontrol from where the menu was called.
>
>And I forgot how to do this. I don't think
>
>ON SELECTION BAR 3 OF shortcut thisform.activecontrol.value = 2
>
>
>will work.
>
>any ideas anybody?
>
>Thanks
>
ON SELECTION BAR 3 OF shortcut _SCREEN.ActiveForm.activecontrol.value = 2

or
ON SELECTION BAR 3 OF shortcut .activecontrol.value = 2

WITH m.thisform
  ACTIVATE POPUP shortcut
ENDWITH
>
>Peter
>(no I have to do some real work :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform