Click to See Complete Forum and Search --> : Avoid default method


alecash
June 28th, 2001, 09:01 AM
Under VB when I call a control in a dialog box (TestD)for example : TestD.OneTexBox , it calls in fact the default method of the TextBox class which is Value. Is there a way to avoid this please ?

John G Duffy
June 28th, 2001, 04:51 PM
There is no way to prevent VB from using default properties by other than specifying exactly what you want (Leave it blank and VB will supply the default). In VB.Net (VB 7), default values are no longer accepted.

John G