ISEdit.AutoSelect

Description

This property is True if the text in the edit control is automatically selected when the control gets focus.

Syntax

object.AutoSelect

Part Attribute Type Description
object Required
The object always implements the ISEdit interface

Return Value

bool

Example

Display AutoSelect for the specified edit control.

Dim aEdit
Dim aEditInfo

Set aEdit = Form.Controls_("edtInform")

aEditInfo =_  
  "ShortName: " & aEdit.ShortName & vbNewLine &_
  "TypeName: " & aEdit.TypeName & vbNewLine &_
  "Auto Select: " & aEdit.AutoSelect               
  
Profile.MsgBox(aEditInfo) 
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Auto Select can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the edit control in the controls tree > AutoSelect.

Version information

Added in v7.8.0