why is the caret freeze?

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
good day to the experts,<br/>
<br/>
My form have several maskTextbox and a text box, one of the masktextbox is my starting point of editing and or adding upon clicking add button or edit button. <br/>
<br/>
i put this code at the add/edit button <br/>
mskDateTime.Enabled=true;<br/>
mskDateTime.Focus();<br/>
mskDateTime.<span style="font-size:x-small SelectionStart = 0;<br/>
<br/>
My problem is the caret wil freeze at the selected masktextbox upon entry, i have to hit the ENTER key twice before i can change the value?. Sometimes when i hit the ENTER key, the pop-up at the FORMS icon will shows
up, It seems that i lost the focus of the form? or at the textboxes?<br/>
<br/>
thanks for any explanation regarding this error
<span style="font-size:x-small <br/>
<hr class="sig .madix_t

View the full article
 
Back
Top