Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EditMask Focus

Status
Not open for further replies.

Rottdpogs

IS-IT--Management
Jul 17, 2001
86
CN
Please Advice. How can I focus on the EditMask box on datawindow. What I mean is when it focuses i like it to highlight the value inside the editmask box. Coz on the Edit box it has a property of auto selection. Could someone advice me how do to, thanks in advance...
 
To put the focus onto any object in a dw use the following code:

dw_1.SetColumn (<column name>)
dw_1.SetFocus ()


To auto-highlight the text in the column, put the following code into the ItemFocusChanged event of dw_1:

this.SelectText (1, 9999)


Olan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top