Print Page | Close Window

problem with setimagelist method in VFP

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2692
Printed Date: 27 September 2024 at 11:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: problem with setimagelist method in VFP
Posted By: sporsoft
Subject: problem with setimagelist method in VFP
Date Posted: 06 August 2005 at 4:08am

If I using taskpanel Setimagelist method under Visual Foxpro then I get this error message: "runtime error R6025 - pure virtual function call. The situation is same if I using Codejock Imagemanager control.

Can somebody help me how I can use imagelist ?



-------------
POCOK



Replies:
Posted By: Oleg
Date Posted: 07 August 2005 at 1:25am

1. Call CommandBars.Options.UseSharedImageList = False;

2. Call CommandBars.Icons.AddBitmap/LoadBitmap.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: sporsoft
Date Posted: 07 August 2005 at 12:25pm
Your suggestion is OK for Commandbar object but not for the TaskPanel control.  My question was about the TaskPanel. Do you have any idea about it ?

-------------
POCOK


Posted By: Oleg
Date Posted: 08 August 2005 at 4:06am

Use Icons property too:

TaskPanel.Icons.AddBitmap/LoadBitmap.

 

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: vicos
Date Posted: 01 February 2013 at 4:20pm

TaslPanel.Icons.LoadBitmap('D:\Folder' + "iconverde.bmp" , 2, xtpImageNormal)


Local Array laIcons[6]
m.laIcons[1] = ID_FILE_SAVE
m.laIcons[2] = ID_FILE_SAVE_AS
m.laIcons[3] = ID_FILE_OPEN
m.laIcons[4] = ID_FILE_CLOSE
m.laIcons[5] = ID_FILE_OPTIONS
m.laIcons[6] = ID_APP_EXIT

This.CommandBars.Icons.LoadBitmap(FullPath("res\BackstageIcons.png"), @laIcons, xtpImageNormal)




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net