We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Datagrid LeaveProblem

Thread ID:

Created:

Platform:

Replies:

7708 Oct 7,2003 06:35 AM Windows Forms 0
loading
Tags: FAQ
Sridhar
Asked On October 7, 2003 06:35 AM

Hi, I have a editable datagrid in a Windows forms. after filling fews rows i want to leave the datagrid and set focus to a text box control on the form. My code is Like this Private Sub dgItems_CurrentCellChanged(...) Handles dgItems.CurrentCellChanged If oldCurrentRow < Convert.ToInt32(txtPieces.Text) Then ' Some custom code i wrote. else txtWeight.Focus() Exit Sub end if End Sub the focus is not going there . can any one help me in this Regards and Thank You Sridhar G

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;