Link Search Menu Expand Document

DateEdit.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 ​​DateEdit .
Only supported since AI Ver.1.0.2 and later
Call format DateEdit.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
    DateEdit1.SetMargins(2, 2);
    
Related item