Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding images programatically to an ImageList
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Adding images programatically to an ImageList
Miscellaneous
Thread ID:
00065064
Message ID:
00065064
Views:
52
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
Reply
Map
View

Click here to load this message in the networking platform