Previous | Index | Next 

Click event

The Click event is supported under VB.NET; however this event doesn’t fire when the control’s Value is changed via code. Also, it is advisable not to use the MouseClick event, because such an event doesn’t fire if the control’s value is changed via the keyboard. The most reliable way to replicate the original VB6 behavior is using the CheckStateChange event.

VB Migration Partner correctly handles all these differences. Converted VB.NET code works exactly as in the original VB6 program.

 

Previous | Index | Next