Share via


Style Tab, Text Box Builder

The Style tab in the Text Box Builder specifies text box visual effect, border, and character alignment. This builder also has the Value tab and the Format tab.

When you choose OK, the builder closes, applying the property settings from every tab.

Special Effect

  • 3D
    Specifies a bold left and top edge for the text box. This option corresponds to the 3D setting of the SpecialEffect property.
  • Plain
    Specifies that the text box is an unshadowed box on the form. This option corresponds to the Plain setting of the SpecialEffect property.

Border

  • Single
    Specifies a single line around the text box. This option corresponds to the Fixed-Single setting of the BorderStyle property.
  • None
    Specifies no line around the text box. This option corresponds to the None setting of the BorderStyle property.

Character Alignment

  • Left
    Specifies that text in the text box will be left-aligned. This option corresponds to the Left setting of the Alignment property.

  • Right
    Specifies that text in the text box will be right-aligned. This option corresponds to the Right setting of the Alignment property.

  • Center
    Specifies that text in the text box will be centered. This option corresponds to the Center setting of the Alignment property.

  • Automatic
    Specifies that text in the text box will be aligned according to the data type of the control source. This option corresponds to the Automatic (Default) setting of the Alignment property.

  • Size Text Box to Fit
    Automatically sizes the text box. If an input mask is specified, the input mask settings are used to fit the text box. If not, then the ControlSource property field length is used to fit the text box.

    Note   If you specified an input mask on Format tab of the Text Box Builder, the text box will enlarge to fit the length of the input mask. If you did not specify an input mask, the text box will enlarge to fit the field length.

See Also

BorderStyle Property | ControlSource Property | Format Tab, Text Box Builder | SpecialEffect Property | Text Box Builder | Value Tab, Text Box Builder