Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut menu how to return a value
Message
From
28/04/2006 07:00:09
 
 
To
28/04/2006 06:42:20
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01117430
Message ID:
01117436
Views:
15
>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 :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform