Difference between revisions of "ListBox.CellKeyDown"

From Xojo Documentation

m
 
Line 3: Line 3:
 
| owner=[[ListBox]]
 
| owner=[[ListBox]]
 
| ownertype=class
 
| ownertype=class
| parameters=Row as [[Integer]], Column as [[Integer]],  Key as [[String]]
+
| parameters=row as [[Integer]], column as [[Integer]],  key as [[String]]
 
| returntype=[[Boolean]]
 
| returntype=[[Boolean]]
 
| platform=all
 
| platform=all
 
}}
 
}}
 
{{Description
 
{{Description
|text = The user has pressed a key while a cell in the ListBox is being edited. ''Row'' and ''Column'' are zero-based.
+
|text = The user has pressed a key while a cell in the ListBox is being edited. ''Row'' and ''Column'' are zero-based.}}
 +
 
 +
== Notes ==
  
 
This cell is identified by the ''Row'' and ''Column'' parameters. ''Key'' is the key that the user pressed.
 
This cell is identified by the ''Row'' and ''Column'' parameters. ''Key'' is the key that the user pressed.
  
CellKeyDown returns a [[Boolean]]. Returning [[True]] prevents the text from changing automatically and prevents the CellTextChange event from firing. }}
+
CellKeyDown returns a [[Boolean]]. Returning [[True]] prevents the text from changing automatically and prevents the CellTextChange event from firing.

Latest revision as of 19:41, 9 August 2013

Event


ListBox.CellKeyDown(row as Integer, column as Integer, key as String) As Boolean

Supported for all project types and targets.

The user has pressed a key while a cell in the ListBox is being edited. Row and Column are zero-based.

Notes

This cell is identified by the Row and Column parameters. Key is the key that the user pressed.

CellKeyDown returns a Boolean. Returning True prevents the text from changing automatically and prevents the CellTextChange event from firing.