>>I never intended to use any design time value because I do understand the handle is assigned at run time and can be any value. With the new collection class, the HWND assigned at runtime makes an excellent key when each [DO]form is added to the collection. Adding forms, removing forms, handling multiple instances of the same form is now easier with this class.
>
>Too bad you can't add an _assign event to the property JIC. That way, even if it did change at runtime, you could make the necessary adjustments.
You know, you can BINDEVENT to a property. Hehe. Try this:
oDelegate = CREATEOBJECT('PropTest')
oForm = CREATEOBJECT('form')
BINDEVENT(oForm, "TAG", oDelegate, "TagChanged")
oForm.Tag = 'test'
DEFINE CLASS PropTest AS Custom
PROCEDURE TagChanged
WAIT WINDOW NOWAIT "Tag Bind Fired"
ENDPROC
ENDDEFINE
Mark McCasland
Midlothian, TX USA