VFP to achieve in your browser to run the application method
Authors: Wang Shoujin silver
VFP data system using the applications developed, compiled, and installation can be released from the environment to run the operating system, it is merely a running system, we can make use of active documents (Active Documents) of the function of the operating system to achieve a simple manner to the application of the customer interface, HTML-based application transformation, through the activities of the document can be successfully prepared by the application before transplantation to the Web page, and will be passed to the function of vfp browser unit. Personnel following the application of a program running in the browser example on the achievement of specific process:
First, create a new project
NEW named in the project file manager to add a form to the project BD1 set the properties of the form are as follows:
TitleBar = 0 & & Close the form of the title bar
WindowState = 2 & & settings to maximize run-time form approach
ScollBar = 3 & & set when the form is non-full-screen display, you can use the vertical and horizontal scroll bar in the form of Destory Events Event object to add the following code:
clear Events & & to ensure that when the form is turned off, users can run out of applications.
Second, in the form to add data environment and the control object.
The data environment in the form to add a data table as a form of data source, where the increase in our staff is a table.
Environment using the mouse drag the corresponding data field options added to the form, as the editor of the form object, and add a data record for the operation of the class object, the form is set up as follows:
Third, add activities to the project document category
In the establishment of a good user interface applications, you can add activities to the project document type, and its steps are as follows:
Manager of the project and select "category" page, click "New" button and activities to create a document type, set the base class for the activities of documentation, will be stored in a custom class library file, set the results are as follows diagram ( slightly)
After setting the new type of double-click the new class object, open a new window type of the object code for the new type of object set Destory Events event code is as follows:
DO FORM BD1
Set up a new category of object attributes:
ContainerReleaseType = 1 & & user leave events document, VFP will automatically exit.
Fourth, set up mainly to generate new class files
Activities VFP6 documents compiled applications with other applications the same as ordinary VFP. Activities form the document will be prepared for even application, even for a generation after NEW.APP application, the application environment in VFP or run in a browser.
In order to run in a browser documentation activities through the system menu "Tools", select "Run Active Document", in the file name edit box to run the activities of the file name of the document NEW.APP, click the "Run" button , you will be prompted to run the paper want to choose to deal with, here we have to select "the current location in the document to open" option in the browser will be able to run the activities of documentation, the results are as follows plan (abbreviated)
Through the above steps, it can be easily prepared by the realization of VFP program is running in your browser, interested readers may wish to try.
Visual FoxPro Tutorial Articles
- VFP edit box method for automatic correction
- Visual FoxPro 9.0 is more powerful
- Dbf of how to use VFP to SQL Server 7.0 Distributed Query
- VFP the secondary development of smart sensors
- The contents of two databases on the output HTML format methods
- FoxWeb line with the rapid release of your database FOXPRO
- In Chinese and English to achieve VFP5.0 automatically switch
- In VFP to achieve with the combination of variant and an oval frame graphics menu
- Programmed to run through a dial-up network connection
- VFP to achieve in your browser to run the application method
- Visual FoxPro Application for increase in file compression
- Animation of simulation in the VFP
- Using Visual FoxPro 5.0 design data file structure browser
- VFP table tracking method
- In VFP print statements to achieve the specified number of records per page
- Procedures to allow VFP to run in a browser
- Visual FoxPro how to add and remove the network connection
- VFP and SQL SERVER like to do with C / S system
- OK karaoke subtitles colored dynamic display
- In a networked environment using Foxpro database management software developed under the Experience
Can't Find What You're Looking For?
Rating: Not yet rated