Table of Contents

TSpinProperties Record

Spin properties of a scrollbar, spinner, listbox or combobox.

Syntax

Unit: FlexCel.Core

TSpinProperties = record;

Fields

Name Description
Min Minimum value for the spinner/scrollbar.
Max Maximum value for the spinner/scrollbar.
Incr How much the scrollbar moves when you press the up or down arrow. You will probably want to keep this at 1.
Page How much the scrollbar moves when you press pgup/down.
Dx Width of the scrollbar. It should normally be 16.
IsHorizontal If used in a scrollbar, this property defines if the scrollbar is horizontal or vertical.

Methods

Name Description
Create Overloaded
Create
Create(Integer, Integer, Integer, Integer)
Create(Integer, Integer, Integer, Integer, Integer)
Create(Integer, Integer, Integer, Integer, Integer, Boolean)
Equals Returns true if both objects have the same data.
GetHashCode Hashcode for the object.
Clone Creates a copy of the data.
IsNull Returns true if the record doesn't have a defined value.
HasValue Returns true if the record has a defined value. This is the inverse of IsNull

Operators

Name Description
Equality Adapts the = operator so it returns true when both instances have the same values.
Inequality Adapts the <> operator so it returns true when both instances have different values.