Ribbon make good But whithout icons or bitmaps |
Post Reply |
Author | |
mistersoft
Groupie Joined: 06 June 2011 Status: Offline Points: 18 |
Post Options
Thanks(0)
Posted: 06 June 2011 at 4:08pm |
Hello word,
I am newest in this forum, this is my first experience with CJ, and i have v15. I work under "WINDEV 15" platform with CJ.OCX and have much problems with icons and bitmaps. I cannot have any image in my ribbon. - CommandBarsGlobalSettings.ResourceImages.LoadFromFile : Make me GPF error. - CommandBars.Icons.LoadBitmap(resDir + "GroupIcons.bmp", New Object() {ID_GROUP_CLIPBOARD, ID_GROUP_FONT, ID_GROUP_PARAGRAPH, ID_GROUP_FIND}, XtremeCommandBars.XTPImageState.xtpImageNormal) : make me error of TYPE in the second parameter (ARRAY). Is there any solution, is there any person here who work with WINDEV. I am blocked. Please Help. thanks |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Try set single bitmap for single id:
CommandBars.Icons.LoadBitmap(resDir + "GroupIcons.bmp", ID_GROUP_CLIPBOARD, XtremeCommandBars.XTPImageState.xtpImageNormal) |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Also check, maybe ImageManager ActiveX control will work for WinDev.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
mistersoft
Groupie Joined: 06 June 2011 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
ok, thanks for you,
I will check this. For ImageManager, i dont know and dont test it. So for having a good teacher, i use vb6 sample supplied with the package. I know that many of members of the ocx isn't detected by windev for example : If i want to define the licence by : CommandBarsGlobalSettings.Licence, Windev says that CommandBarsGlobalSettings isn't a member of the OCX. One other thing, the language can't be defined when i use SuitePro.ResourceFr.dll (For French). May be, it's me, i dont know but i will continue. regards. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |