Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing selection from popup to form?
Message
From
25/01/2005 04:27:56
 
 
To
24/01/2005 15:18:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
00980061
Message ID:
00980299
Views:
23
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform