VFP to use the system variables _SCREEN
In Visual foxpro in a special system variable, it is _SCREEN. It is the object type of system variables, you can use it to specify the main Visual FoxPro window properties and methods. But we can not create events for the process of _SCREEN. In Visual FoxPro to make full use of _SCREEN object on the main window will be able to carry out various operations. Surface a few examples to explain:
1. _screen Hide the use of the main vfp window.
In the procedure How to hide the main window does VFP? Only in the proceedings together with the line of code:
_screen.visible =. f.
2. VFP main window to change the icon and title
The VFP window icon and the small fox "MicrosoftVisualFoxPro" heading into your favorite icon and title, just the implementation of the code:
_SCREEN.ICON = Icon file name (. ICO)
_SCREEN.CAPTION = Title name
3. _SCREEN Be using the main window of the form contains the number of steps:
4. If you do not want to see a fox head and the upper right corner of the main window of the three buttons, the following code to executable:
_screen.controlbox =. f.
5. Be the main window controls the number of:
6. The definition of the main window to display text font, size.
_screen.fontname = font name & & such as: Lishu
_screen.fontsize = name & & if: 20
7. The main window to change the shape of the mouse pointer:
_screen.mousepointer = value & & value ranging from 0 to 14.0 degrees from the value for the silent
FoxPro Tutorial Articles
- INTERNET use VFP to create a database in Dynamic Query
- VFP songs with the preparation of the on-demand multi-media devices
- VFP edit box method for automatic correction
- VFP to use the system variables _SCREEN
- VFP table to track the realization of the log method
- Modified to achieve by the standard class library VisualFoxPro
- Grid control the use of VFP General entry interface design
- VFP Chapter Essentials to create and use tables
- Essentials VFP Chapter IV to create and use databases
- VFP Chapter VI Essentials object-oriented programming
- VFP Chapter V Essentials to create queries and view
- VFP form the basis of Chapter VII of the Design Guide
- VFP Chapter Essentials class to create and use
- VFP Chapter IX Essentials menu and toolbar design
- VFP Chapter VIII of the basis of statements of curriculum design and labeling
- Chapter XI Essentials VFP application development
- VFP Chapter Essentials basic knowledge of database systems
- VFP chapter Essentials language based on VFP
- Batch print envelopes with VFP
- Animation of simulation in the VFP
Can't Find What You're Looking For?
Rating: Not yet rated