Here is some code if anyone wants to set the textbox controls to always
be in edit mode:
Private Sub TextboxAlwaysInEditMode(Optional ByRef ctls As
System.Windows.Forms.Control.ControlCollection = Nothing)
If ctls Is Nothing Then ctls = oTrans.EpiBaseForm.Controls
For Each ctl As Control In ctls
If ctl.HasChildren Then
TextboxAlwaysInEditMode(ctl.Controls)
If TypeOf(ctl) Is
Infragistics.Win.UltraWinEditors.UltraTextEditor Then
Dim txt As
Infragistics.Win.UltraWinEditors.UltraTextEditor = CType (ctl,
Infragistics.Win.UltraWinEditors.UltraTextEditor)
txt.AlwaysInEditMode = True
End If
Next
End Sub
In the form load event place the call to the sub:
TextboxAlwaysInEditMode()
be in edit mode:
Private Sub TextboxAlwaysInEditMode(Optional ByRef ctls As
System.Windows.Forms.Control.ControlCollection = Nothing)
If ctls Is Nothing Then ctls = oTrans.EpiBaseForm.Controls
For Each ctl As Control In ctls
If ctl.HasChildren Then
TextboxAlwaysInEditMode(ctl.Controls)
If TypeOf(ctl) Is
Infragistics.Win.UltraWinEditors.UltraTextEditor Then
Dim txt As
Infragistics.Win.UltraWinEditors.UltraTextEditor = CType (ctl,
Infragistics.Win.UltraWinEditors.UltraTextEditor)
txt.AlwaysInEditMode = True
End If
Next
End Sub
In the form load event place the call to the sub:
TextboxAlwaysInEditMode()