Page History
...
To respond to users clicking the spin button, capture the OnSpinClick event.
Example
Code Block |
---|
// Subclass my editline control and add a spin button to it CtrlId = @Window:".EDITLINE" Handle = Get_Property(CtrlId, "HANDLE") rv = Send_Message(@Window:".OLE_SUBCLASS", "OLE.Subclass", Handle, CtrlId) Convert "." to ";" in CtrlId Set_Property(@Window:".OLE_SUBCLASS", "OLE.SpinButton[":CtrlId:"]", 1) |