- Please add a ButtonLayout property:
a) blVertical: this shows the spin-buttons vertically aligned (= current/default button layout)
b) blHorizontal: This shows the spin-buttons horizontally aligned (up/down arrows side by side: This would display the spin arrows at a larger size)
c) blBothSides: This shows the spin-buttons horizontally aligned on the left and right side of the Edit
- LabelPosition: Please add lpLeftAndRightCenter (when LabelCaption = 'LeftCaption|RightCaption'): This is often needed with SpinEdits.
These features would make the excellent TAdvSpinEdit even more powerful!
Do you mean with 2) that the TAdvSpinEdit should have 2 attached labels, one left and one right?
Yes, this might sound a bit strange, but it's often needed with SpinEdits, e.g.:
Create [n] lines
Where LabelCaption = ‘Create|lines’ (left label + pipe char + right label)
Fortunately, many TMS controls have the Label property, which is a small compensation for the poor layout capabilities in Delphi.
Therefore, a simple and flexible transparent TAdvLayoutPanel (or TAdvLayoutContainer) from TMS would be a most needed container control. Such a control should have automatic alignment rules for the contained controls (and would avoid the well-known dilemmas of using a TPanel as a container control).
Upon further investigating, note that the TAdvSpinEdit has a property Direction with which the direction of the up/down button can be set.
TAdvTouchSpinEdit has the up and down button on the left and right side:
