Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What the f... is this now
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01048571
Message ID:
01049009
Views:
29
>>
>> I see. I thought it's a property you created. How do you check, if this
>> property exists and what is the type of the object?
>>
>
>Actually I did not know anything of its existence until I had a look into Alexander's gpImage class. I thought "ooops.. interesting" and tried it. As that was excactely what I needed this came just in time.
>
>but if You make one of the Icon-objects public an enter "oPic." in the command window. Intellisense kicks in and shows You what properties there are. You can see it in the debugger too

Well, =MESSAGEBOX(PEMSTATUS(toIconLarge,'Handle',5)) returns .f. in the method GETASSOCICONPAIROBJECTS. So, this property doesn't exist.

Also do you remember you suggested to keep track of known types and their icons/bmps, so we would not execute the same code more than needed? Of course, we can handle this issue outside of the class, but may as well build this functionality in. I did it in the copy I sent you a while ago. Now I would have to merge the changes together...

Thanks a lot again for finishing with the code. Tomorrow I see, how can I use your code with collection, etc.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform