does VB6 allow referencing Form instance as a singleton just by naming its data type? or what is happening?
问题 I am seeing code like "Unload frmMain" where from what I can tell frmMain is the type/module name, and I don't think it could also be simultaneously a variable name of the "ObjFrmMain" sort. Nevertheless, this command does successfully induce the form in question to unload. So is the data type being used as an alias for its single existing instance? Or maybe for all of its instances? Does VB6 do similar things to data types other than those derived from Form? 回答1: Yes, VB6 has odd object