property Gantt.SelStart as Long
Returns or sets the starting point of text selected; indicates the position of the insertion point if no text is selected.

TypeDescription
Long A long expression that indicates the starting point of text selected

By default, the SelStart property is 0 ( the text gets selected from the first character ). Use the SelStart property to specify the starting point of selected text, when edit operations begins. The SelStart and SelLength properties are valid only if the control is editable. Use the AllowEdit property to allow control edits the data using a text box field. Use the Edit method to programmatically edit a cell using a textbox field. The SelStart property must be set in the code, before starting editing the cell. The control fires the BeforeCellEdit event when the control is about to open the text box editor. The control fires the AfterCellEdit property when the edit ends.