Function Name
dcl-Grid-SetCellStyle
Syntax
(dcl-Grid-SetCellStyle
<CONTROL> Row [as Long ] Column [as
Long ] Style [as
Integer ] )
Return Type
Boolean (T if successful; otherwise NIL)
Applies To
Grid
This method sets the cell style for the cell at the
specified row and column. Note that cells inherit the column default
style when style is set to -1.
Style
Description
-1
Undefined
0
No style set
1
Check box
2
Option button
3
Toggle Icon (see SetCellImages )
4
Ellipsis button
5
Pick button
6
Text
7
Angle
8
Integer
9
Unit (affected by DIMZIN system variable)
10
Upper case text
11
Lower case text
12
Password
13
Multiline text
14
Currency
15
Date
16
Time
17
Percentage
18
Dropdown list
19
Arrows
20
AutoCAD colors
21
Text styles
22
Plot styles
23
Plot style tables
24
Plotters
25
Fonts
26
Drives
27
Layers
28
Dimension styles
29
Image/text dropdown list
30
AutoCAD color
31
Truecolor
32
Lineweight
33
Linetype
34
Folders
35
Files (see SetCellDropList )
36
Dropdown combo list
37
Dropdown angles combo list
38
Dropdown integers combo list
39
Dropdown units combo list (affected by DIMZIN system variable)
40
Dropdown upper case text combo list
41
Dropdown lower case text combo list
42
AutoCAD symbol name
43
Dropdown AutoCAD symbol name combo list