Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HWND Property
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00790675
Message ID:
00790737
Views:
22
>>Mark, I think it's meant to discourage using the property value that's shown at design time more than anything else. Like Brian, I've never seen a window's handle change unless it was destroyed and later re-created.
>
>That is what I had hoped. The doc meaning was not that clear. Their wording of "Because the value of this property can change while a program is running, you cannot rely on its value" is horrible.
>
>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.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform