SETBUTTONBORDER |
Top Previous Next |
Syntax SETBUTTONBORDER(win as WINDOW,id as INT,width as int) Description Sets the width of a @RGNBUTTON border. Parameters win - Parent window or dialog containing the control. id - Controls identifier. width - Width of the buttons border. Return value None Remarks The allowed values for the width parameter depends on the type of @RGNBUTTON used: -For a button with a region and 3D border (default) the width value can be 0, 1 or 2. 0 turns the border off. -For a button with a region and @CTLBTNFLAT style the width value can be 0 to n. 0 turns the border off, n can be any size. -For a button without a region the width value can be 0 or 1. In other words On or Off.
Example usage 'button 3 is a regioned button with automatic hot tracking color |