Page History
...
The OptionButton property shows or hides an option button in an EDITLINE control. By default, this option button looks just like a combo box drop down button. However, you may customize the button with any image you choose by setting the OptionImage property.
To respond to users clicking the option button, capture the OnOptionClick event.
Example
Code Block |
---|
// Subclass my editline control and add an option 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.OptionButton[":CtrlId:"]", 1) |