Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - problem with setimagelist method in VFP
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

problem with setimagelist method in VFP

 Post Reply Post Reply
Author
Message
sporsoft View Drop Down
Newbie
Newbie


Joined: 28 October 2004
Location: Hungary
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote sporsoft Quote  Post ReplyReply Direct Link To This Post Topic: problem with setimagelist method in VFP
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
sporsoft View Drop Down
Newbie
Newbie


Joined: 28 October 2004
Location: Hungary
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote sporsoft Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2005 at 4:06am

Use Icons property too:

TaskPanel.Icons.AddBitmap/LoadBitmap.

 

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
vicos View Drop Down
Groupie
Groupie


Joined: 23 November 2009
Location: Romania
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote vicos Quote  Post ReplyReply Direct Link To This Post 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)

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.