It may not be obvious but you can add the events in this library to the controls in the ControlEx library although it may not be useful or work for some of them. For example - A TrackBar
Code:
' assuming a ControlEvents Object called TrkBrEvents
' and a TrackBar object called TrkBr
Sub App_Start
Form1.Show
TrkBr.New1("Form1",10,10,100,30,false) ' new TrackBar Control
TrkBrEvents.New1(TrkBr.ControlRef) ' add the new events
End Sub
Sub TrkBrEvents_GotFocus
' do something
End Sub
You can also add the events to controls added at runtime by just specifying their name -
Code:
AddButton("Form1","RunTimeButton",10,10,60,30,"ClickMe")
BtnEvents.New1("RunTimeButton")