Home > Language Reference > Classes > Grid
Masked Property
Mask or show a row.
Syntax
Public Property Get Masked(ByVal iRow As Integer) As Boolean
Public Property Let Masked(ByVal iRow As Integer, ByVal bMasked As Boolean)
| Parameter | Description |
| iRow | Row index |
Remarks
If the Masked property is True, any column with the 'Masked' attribute (See Columns design time property) will be hidden on the row whose index is iRow . This parameter is in the range 0 to Rows -1.
In the following example, we define a Grid in which we will mask the third row :
| Column definition dialog box |
![]() |
Private Sub Form_Load()
dim i as Integer
Dim lst as List
'Fill the List for column #3
Set lst=Grid1.List(3)
lst.Redraw=False
For i=0 to 9
lst.AddItem "Item " & i
Next i
lst.Redraw=True
'Fill the Grid1 control
For i=0 to 9
Grid1.AddItem i,i
Next i
'Mask the 3thrd row, index 2
Grid1.Masked(2)=True
End Sub| Grid1 |
![]() |
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | - |
| Windows CE | Windows CE 3.0 | - |