Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fire Event
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00786774
Message ID:
00786947
Views:
34
TBLeave is a TextBox, this are inside a class that inherits from DataGridTextBoxColumnStyle

Private Sub TBLeave(ByVal sender As Object, ByVal e As EventArgs)

If myButton.MouseButtons = MouseButtons.Left Then
If MouseOver Then
Exit Sub
End If
End If

If _isEditing Then
SetColumnValueAtRow(_source, _rowNum, TB.Text)
_isEditing = False
Invalidate()
End If
TB.Hide()
myButton.Hide()
AddHandler Me.DataGridTableStyle.DataGrid.Scroll, New EventHandler(AddressOf
HandleScroll)
End Sub 'LeaveTB

Private Sub HandleScroll(ByVal sender As Object, ByVal e As EventArgs)
If TB.Visible Then
TB.Hide()
myButton.Hide()
End If
End Sub 'HandleScroll

How You can see in the scroll event of the DataGrid i hide the TextBox and the Button.

So from my form i want to fire the DataGrid Scroll Event.
Previous
Reply
Map
View

Click here to load this message in the networking platform