Link Search Menu Expand Document

TextBox.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 the TextBox.
Only supported since AI Ver.1.0.2 and later version.
Call format TextBox.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
    TextBox1.SetMargins(2, 2);
    
Related item