Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I replace the VFP icon on the form title bar
Message
From
22/09/2000 10:08:53
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00418733
Message ID:
00419698
Views:
32
>Dangerous eh? VMP4 .setIcon() sets to (1) the applications icon or (2) a blank icon. If I don't want one of these 2 icons that I set it my self. Where is the danger in that? If I was doing some type of blind data manipulation then I think it would be different.

I only meant dangerous in the sense that you applied a band-aid fix to something without knowing why it was working the way that it does. If you had known that VMP uses the SetIcon method, you could have simply overridden that method in the form instance, but instead you put code in a method that could run any number of times during the form's life, potentially incurring an unnecessary performance hit.

I don't mean to sound harsh- sometimes methods like you used seem like the easiest way out and seem therefore to make the most sense. I've used them myself, I just wanted to caution against recommending blind fixes to others.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform