Vcl.NumberBox.TCustomNumberBox.SpinButtonOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SpinButtonOptions: TNumberBoxSpinButtonOptions

C++

__property TNumberBoxSpinButtonOptions* SpinButtonOptions = {read=FSpinButtonOptions, write=FSpinButtonOptions};

Properties

Type Visibility Source Unit Parent
property public
Vcl.NumberBox.pas
Vcl.NumberBox.hpp
Vcl.NumberBox TCustomNumberBox

Description

Defines spin button properties and behavior.

SpinButtonOptions allows you to set different settings:

  • ArrowColor: Defines arrow color for normal state. The default value is clWindowText.
  • ArrowDisabledColor: Defines arrow color for disabled state. The default value is clGrayText.
  • ArrowHotColor: Defines arrow color for hot state. The default value is clWindowText.
  • ArrowPressedColor: Defines arrow color for pressed state. The default value is clWindowText.
  • ArrowWidth: An Integer that defines the width of the arrow. If the value is 0 (default), then arrow width adjusts automatically.
  • ButtonWidth: An Integer that defines width of the buttons.
  • Placement: Defines the placement of the spin button. The options are:
    • nbspCompact: A compact view.
    • nbspInline: An inline view.
    • nsbpNone: Not visible (default)
  • RepeatTimerInterval: Defines timer inerval to repeat click of the button
  • ShowInlineDividers: Defines visiblity of dividers if Placement is nbspInline

See Also