cancel
Showing results for 
Search instead for 
Did you mean: 

text validate in grid

Former Member
0 Kudos

hello

i have a grid wich are filling by data provinding from database

i want to check the bouton control when any value in datagrid will change.

someone can guide me for event can be control the data grid

i used this code but it doesn't work:

Private Sub user_table_ItemLostFocus(ByVal FormUID As String, ByVal ItemUID As String, ByVal BeforeAction As Boolean, ByRef BubbleEvent As Boolean) Handles Me.ItemLostFocus

If ItemUID = "Grid" Then

If BeforeAction = False Then

Me.oSboForm.Items.Item("update").Enabled = True

End If

End If

End Sub

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

If you want to validate any change then you can done it on keydown event.....

Thanks

Former Member
0 Kudos

...and don't forget STRG-V (Paste) and STRG-X (Cut) which seems to be a Menu-Event (it does not appear as a KeyDown-Event here).

Since a MenuEvent does not provide a MTX-UID, ColUID and RowNo. it must be located with something like "ActiveCell".

I'm also in research on that...

Edit:

STRG means CTRL in english, sorry...

Edited by: Roland Toschek on Feb 6, 2009 1:37 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Try to Use Item Changed Ivent

Mohamed Zubair