Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Paste to a webcontrol field
Message
From
15/12/2003 13:42:34
Carlos Mergal
US Bankruptcy Court - Puerto Rico
San Juan, Puerto Rico
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
How to Paste to a webcontrol field
Miscellaneous
Thread ID:
00859211
Message ID:
00859211
Views:
56
The INPUT='FILE' is an HTML variable type as textbox but its purpose is to browse for a file. If you put it on a web page it will place a textbox with a Browse button. There the user can type the file name with path or click the button and browse his computer for a file.

From VFP you can populate HTML textboxes without much problem thru the field's .VALUE property in the webcontrol. The problem here is that the .Value property fot this type of field is read-only for security reasons, so you cannot access it. I am trying to figure out a way to populate that field in the HTML code and the only way I can see how is thru Cut-and-Paste. The thing is that I can populate what I want to paste with the _cliptext but I don't know how to paste that information. I found in VFP documentation the _edpaste function as part of th VFP APIs but I don't understand how to use it. Basically what I need is some guidance using this _edpaste function or something else that will accomplish a paste function.


TIA,

Carlos
Next
Reply
Map
View

Click here to load this message in the networking platform