>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 :-)