Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Feature not available
Message
De
12/08/2005 21:52:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/08/2005 21:44:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
MySQL
Divers
Thread ID:
01040644
Message ID:
01040652
Vues:
14
>The MODIFY COMMAND command is not available in the run-time (compiled EXE). See Run-time command restrictions in the help file for more commands that are not available (like MODIFY FORM,...).
>
>As an alternative to the internal editor, you could use an external editor (such as NotePad++ or SciTE Editor which are both Open Source). And then use the RUN /N command to execute the editor as follows:
>
>lcProgram = "c:\program files\notepad++\notepad++.exe" + ' "' + lcFileName + '"'
>RUN /N &lcProgram
>
>Note that the double-quotes above are to enclose the file name to account for spaces in the path.

I am not sure whether MODIFY COMMAND is disabled; I think it is not. But you can edit text in an EditBox, within VFP.

Note that for commands, the COMPILE command would be required (disabled in earlier versions; available at runtime in VFP 6 SP3 and later).

However, Maltin wanted to edit a form; it is more difficult to give the end-user the interactive capabilities which you expect from a command like MODIFY FORM.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform