ActiveX control default property discovery

activexvb6

Is it possible to determine which property of an ActiveX control is the default property? For example, what is the default property of the VB6 control CommandButton and how would I found out any other controls default!

/EDIT: Without having source to the object itself

Best Answer

I don't use VB, but here it goes.

I found Using the Value of a Control, but it's not a programmatic solution. If you have access to the code, look for

Attribute Value.VB_UserMemId = 0

using Notepad.

Related Topic