contents   index   previous   next

Margin Property


Returns/sets the margin (both left and right) for controls that support that feature. Used in conjunction with UIToolX.UI_Refresh.




UIToolX1.Margin (ByVal Data As Integer)




UIToolX1.Margin = 4




In the above example, the UIToolX will set the left and right margins to four pixels for controls that support that option.




Usage Notes


This property will set the margin of controls that support this feature. For example, setting this method to four will move the text in a TextBox 4 pixels to the right so that the text does not start against the left side of the control.