Link Search Menu Expand Document

NumberEdit.SetMargins Method

Explanation Set the left and right margins.
In the initial state, the left and right margins are the OS standard positions.

When setting the margin, specify that the total value of the left and right margins fits in the character display area of NumberEdit.
Only supported since AI Ver.1.0.2 and later version.
Call format NumberEdit.SetMargins( leftMargin, rightMargin )
Return value None
Arguments integer leftMargin Specify the left margin between 0 and 32767
integer rightMargin Specify the right margin between 0 and 32767
Exception FUNC-4 Invalid argument
Example of use
    NumberEdit1.SetMargins(2, 2);
    
Related item