Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS TreeView Version 5
Message
From
29/08/1997 04:27:51
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00047347
Message ID:
00047521
Views:
46
>>I'm using MS TreeView ActiveX control version 5 for my Vfp 5 application, every basic thing works fine except I can't show image of the Nodes object of TreeView Control.
>>
>>I'm using MS ImageList AxtiveX Control to keep all my .Bmp and icons, accroding to the TreeView help documentation, in order to show image in the TreeView control, first must associate a ImageList Control to the TreeView ImageList property.
>>
>>However, I can't associate a ImageList Control to The ImageList property even in run-time or design time, why ?
>
>MS screwed up TreeView control (at least for VFP use) since version which has the size 332288, date 08/21/96
>
>Put in your TreeView Init method
>
>this.Object.ImageList = this.parent.oleImageList.Object
>
>(supposing your ImageList control has name "oleImageList")
>
>HTH,
>
>Nick

Thanks for your help Nick. I'm able to associate a ImageList Control to the TreeView's ImageList property now.

By thw way, would you mind explain further why we need to put the word "Object" in order to reference to an OLE object's property and methods ? Why some of the ActiveX controls doesn't need the word "object" in order to access the object's property or methods. Fox example, MsComm32.ocx, we can directly assign the communication setting as THISFORM.oleMyComm.setting="9600,N,8,1", or reading from the COM port by using the object's input method as "lcChar=THISFORM.OleMyComm.Input".

Thanks for your help. Have a nice day.
Lim Boon Eam
limbe@pc.jaring.my
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform