Versions des environnements
Network:
Windows 2003 Server
>not, have your read event, the strange thing is do not run the form, do form entrada.scx that is not then display
Just to make sure we avoid some misunderstanding. Let us assume for example that you have a project called MyProg.PJX, and it contains the following files:
Main.prg
MyScreen.scx
Within the project file MyProg.PJX, the Main.prg is set as the main program (i.e. if you right-click on Main.prg there should be a checkmark on the "Set Main" item in the popup menu. Inside main.prg you would have the following code:
DO FORM MyScreen
READ EVENT
The form MyScreen.scx has one label with the caption "Hello!" and one command button with label "OK". In the CLICK event of the command button we put "CLEAR EVENTS"
After compiling to EXE, you run the program by typing "DO MyProg" in VFP. Double-clicking on MyProg.EXE should give results as expected.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement