OLE control methods provide convenient one-time operations to developers. Unlike properties, whose values are persistent over the life of a control, methods represent actions that a control can perform. Often, methods will change the values of other control properties, so be sure to read the Remarks section of each method carefully. The following methods apply to the SRP Button Control:

Method
Description
Version Introduced
AboutBoxDisplays the control's about box. 
DisableComboMouseWheelDisables mouse wheel scrolling for OpenInsight combo boxes 
DoClickProgrammatically fires the OnClick event 
LoadRawImageLoads the Icon property from raw image data instead of an image file. 
RefreshRedraws the control. 
ShowContextMenuDisplays a context menu at the given mouse point.3.0.3
  • No labels