|
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > MLGrid Control > MLGrid Control Commands > MLGrid_FormatColEdit |
Description
Force column format when editing a cell.
Syntax
n = MLGrid_FormatColEdit(hGrid, Col, MaxLen [, TextCase [, Justify [, RGBColor [, WriteLock]]]])
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
hGrid |
Number |
No |
handle to grid control, the one returned by CONTROL ADD MLGRID ... |
Col |
Number |
No |
Column to be forced |
MaxLen |
Number |
No |
Text maximum length from 2 to 255 |
TextCase |
Number |
Yes |
0=lower, 1=upper |
Justify |
Number |
Yes |
0=left, 1=right, 2=center |
RGBColor |
Number |
Yes |
Foreground color |
WriteLock |
Number |
Yes |
%TRUE if write protected from user data entry. |
Remarks
MLGrid_Put will still be usable even if cells are write protected
Restrictions
See also
Examples