AddSpinButton Method
Description
Adds a spin button to the GridRecordItem.
Syntax
Public Function AddSpinButton( _
Optional ByVal bInside As Boolean = False _
) As GridInplaceButton
Parameters
- bInside: True to draw the button on the inside of the cell. False to draw the button on the outside of the cell.
Return Type
Returns a reference to the GridInplaceButton just added.
Remarks
A spin control with two buttons is displayed, and you can use this button to change the cell numeric value. You can use the InplaceButtonDown and ValueChanging events to determine the new value and compare it to the old value to determine which button was pressed (up or down arrow).
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.