Glossary Item Box

DuplicateCellGetCellGetCellsCountRedrawRemoveAllCellsRemoveCell

See Also VS GridMap Help Send Feedback

SetCell

Function SetCell (newID As Object, CellX As Integer, CellY As Integer, Optional newTitle As String = "", Optional newData As Object = Nothing, Optional newViewtitle As Boolean = True) return clsPsysCell

Same speed

Set a new cell object passing X and Y position.

Use this sub for create a new cell by X, Y position. You must set the ID and in optional set a title and if the title is visible.

 

Visual Basic example:

PsysGridMap1.SetCell(1, 10, 10, "Title", True)

 

Function SetCell (newCell As clsPsysCell)

Same speed

Set new cell by object.

Use this sub to create a new cell by a object.

Visual Basic example:

Dim oCell As New psysGridMap.clsPsysCell
oCell.X = 1
oCell.Y = 1
oCell.ID = "myID"
oCell.Title = "Title"
oCell.Data = myObject
oCell.CellBackColor = Color.AliceBlue
oCell.CellForeColor = Color.Black
oCell.CornerNote = True
oCell.CornerSize = 7
oCell.CornerPosition = psysGridMap.clsPsysCell.enumCornerPosition.RightTop
oCell.CornerColor = Color.Red
PsysGridMap1.SetCellObj(oCell)

 

DuplicateCellGetCellGetCellsCountRedrawRemoveAllCellsRemoveCell