Occurs when the user scrolls the grid.
[Visual Basic]
Public Event Scroll As CancelEventHandler
[C#]
public event CancelEventHandler Scroll
[Delphi]
public property Scroll: CancelEventHandler read remove_Scroll write add_Scroll;
Example
To keep row resizing from occurring in the drop-down at run time, use the following code:
Private Sub C1TrueDBDropdown1_Scroll(ByVal sender As Object, ByVal e As C1.Win.C1TrueDBGrid.CancelEventArgs) Handles C1TrueDBDropdown1.Scroll
Me.TextBox1.Visible = True
End Sub
· C#
private void C1TrueDBDropdown1_Scroll(object sender, C1.Win.C1TrueDBGrid.CancelEventArgs e)
{
this.TextBox1.Visible = true;
}
· Delphi
procedure TWinForm.C1TrueDBDropdown1_Scroll(sender: System.Object; e: C1.Win.C1TrueDBGrid.CancelEventArgs);
begin
Self.TextBox1.Visible := true;
end;
See Also
C1TrueDBDropdown Class | C1TrueDBDropdown Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |