Computer Science, asked by subham1464, 1 year ago

what is one of the common properties of the control

Answers

Answered by divyasharma5344
10
The following properties apply to most of the objects :

1. Name : It sets the name of the control, through which you can access the control 's properties and methods.

2. Appearance : It can be zero for a flat look or 1 for a 3-D look.

3. Back color : It sets the background color on which text is displayed or graphics are drawn.

4.Fore color : It sets the foreground color.

5.Font : It sets the face, attribute, and size of font used for the text on the control.
6. Visible : set this property to false to make a control invisible.


hope you help
Answered by Jasleen0599
0

Name is one of the common properties of the control.

  • The control's name property serves as its unique identifier and is also referred to as the control's object name. At runtime, a programmer can also access the additional properties of controls and methods by using the name property.
  • Through the Framer interface, users can utilise Property Controls to transmit properties (also known as props) to a code component.
  • Clients utilise the Name attribute, which is a string, to locate, announce, or identify an object for the user. The Name property is supported by all objects. For instance, the name of a button control is written on the button itself, whereas the name of a list box or edit control is written in the static text that comes before the control in the tab order.
  • Name: By changing the control's name, you can access the control's methods and properties.
  • Look: It can be 0 for a flat appearance or 1 for a 3-D appearance.
  • Back Color: This controls the colour of the background that is used to display text or create graphics.
  • It determines the foreground colour.
  • Font: It determines the font's face, attributes, and size for the control's text.
  • For example, the text on a Label control or the caption of a Command Button control. It also sets the text that is displayed on many controls that do not allow input.

#SPJ2

Similar questions