Previous | Index | Next 

ItemCheck event

The ItemCheck event is supported but has a different syntax. Moreover, under VB6 this event fires when the checked state has been already assigned, whereas in VB.NET it fires before the assignment occurs. The code inside a VB6 event handler can reset the checked state of an element by simply assigning it, whereas code in a VB.NET event handler must assign the new state to the NewValue property of the ItemCheckEventArgs object passed as an argument to the event handler.

VB Migration Partner fully supports this event and automatically accounts for all the behavioral differences between VB6 and VB.NET.

 

Previous | Index | Next