+----------------+ V | >>-anEditControl~RemoveStyle(--"---+-UPPER------+-+--"--)------>< +-LOWER------+ +-NUMBER-----+ +-WANTRETURN-+ +-OEM--------+ +-TAB--------+ +-GROUP------+
Remove one or more edit control styles from the edit control. This method works with the window styles that can be changed by accessing the edit control window directly after the edit control has been created.
The style argument can be one or more of the style keywords. (Each keyword is separated by a blank.) See the argument list for the AddStyle method for detals on the keywords.
Negative values indicate error, non-negative values indicate success.
The value is the negated Operating System Error code. The absolute value of the return can be used to look up the error reason in the Windows documentation.
The was no valid keyword in the style argument. Note that if the style argument contains at least one valid keyword other invalid keywords are then ignored.
There is an (internal) problem with the dialog or the dialog handle.
There is an (internal) problem with the resource ID or window handle of the edit control.
The numeric value of the edit control's previous style.
This example shows the syntax to remove the lower and the tabstop styles from an edit control.
editControl = dlg~getEditControl(IDC_ENTRYLINE) if .nil == editControl then return editControl~removeStyle("LOWER GROUP")