Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems compiling
Message
From
27/10/2011 21:51:58
 
 
To
27/10/2011 20:17:49
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01527492
Message ID:
01527508
Views:
49
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform