Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with ImageList
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem with ImageList
Miscellaneous
Thread ID:
00065533
Message ID:
00065533
Views:
71
I have a form with an ImageList that I want to add images to programatically. In the form's activate method I have this code:

THISFORM.oleMyImageList.ListImages.Add(, "MyIconKey", LOADPICTURE("MyIcon.ico"))

I get an 'Illegal file descriptor' error. What am I doing wrong? I was referring to Andy MacNeill's article in FPA's Jan '97 issue for help. Any ideas?

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform