About the VFP form all controls control "Thisform.setall"! Classic

Source: Internet
Author: User

SOURCE CSDN Forum:
Thisform.setall

Thisform.setall ("Enabled",. F., "TextBox")
SQL Code

The SetAll method specifies a property setting for all controls in a container object or for a class of controls. Syntax Container.setall (cproperty, Value [, Cclass]) parameter Cproperty: The property to set. Value: The new value of the property, and the data type of value depends on the property being set. Cclass: Specifies the class name, which is the base class for the object and cannot be a Visual FoxPro base class. Description use the Set all method to set a property for all controls in the container or for some type of control. For example, to set the BackColor property of a Column object in table control to red, you can use the following commands: Form1.Grid1.SetAll (BackColor, RGB ( 
255 , 
0 , 
0 ) , Column) can also set object properties that are contained by other objects in the container. To set the ForeColor property of the header contained in each Column object in table control to green, you can use the following commands: Form1.Grid1.SetAll (' ForeColor ', RGB ( 
0 , 
255 , 
 0 ), ' Header ' 


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.