Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Paste to a webcontrol field
Message
 
 
À
15/12/2003 13:42:34
Carlos Mergal
US Bankruptcy Court - Puerto Rico
San Juan, Porto Rico
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00859211
Message ID:
00859846
Vues:
15
Carlos,

Check Re: HowTo force Richtextctrl to react on keyboard '{CTRL+V}' Thread #850053 for some ideas.

>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,
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform