VB.NET 2005 Equivalent!!!  
Author Message
Linusguy





PostPosted: Visual Basic General, VB.NET 2005 Equivalent!!! Top

Hi all

I would like to know the equivalent for the following in VB.NET 2005...

* PopupMenu was not upgraded.
* KeyPreview was not upgraded.
* InvisibleAtRuntime was not upgraded.
* DefaultCancel was not upgraded.
* ClipBehavior was not upgraded.

Could anyone throw light or suggest some alternatives/workaround for the same. Thanks in advance.

Many Thanks
Sathya ^_^



Visual Basic15  
 
 
Brendan Grant





PostPosted: Visual Basic General, VB.NET 2005 Equivalent!!! Top

Alternatives to what you are looking for really depends on how they are being used... you’d likely use the ContextMenu property in place of PopupMenu... KeyPreview does exist, but only on Forms. You could set a control’s Visible property to false to get the same effect as InvisibleAtRuntime. Rather than using DefaultCancel you can use a forms CancelButton property to specify the cancel button for a dialog... and ClipBehavior no longer exists and I know of no other alternative off hand.