Code Samples
The product includes numerous VB.NET and C# sample applications. All
samples include complete source code. For more detailed sample code please
refer to the sample applications.
Receiving TextScrolled Events
After dragging the control from the Visual Studio .NET Toolbox
onto your application's form, you can set various properties at
design time. Alternatively. you may also set these properties at runtime.
Optionally, you may receive and act upon events received from the control.
Listing 1 demonstrates receiving TextScrolled events.
Private Sub Marquee_TextScrolled(ByVal sender As Object, _
ByVal e As ComponentSpace.Marquee.MarqueeEventArgs) _
Handles Marquee.TextScrolled
' The TextScrolled event is fired whenever the marquee text completes a scroll cycle.
End Sub
|
Listing 1 Receiving TextScrolled events
|