So how about, in the form's RightClick() event
LOCAL lcTextVal
DEFINE POPUP mypopup PROMPT structure
ON SELECTION POPUP mypopup lcTextVal = FIELD(bar(),"__mycursor")
ACTIVATE POPUP mypopup
thisform.edit1.text = lcTextVal
>Ok so far I have this in the rightclick event:
>
>DEFINE POPUP mypopup PROMPT structure
>ON SELECTION POPUP mypopup thisform.edit1.text = FIELD(bar(),"__mycursor")
>ACTIVATE POPUP mypopup
>
>But when I right click and pick an option, it says "THISFORM can only be used within a method".
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.