Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

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

 

 

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software