![]() |
Redraw controls problem |
Post Reply
|
| Author | |
San0k
Groupie
Joined: 06 February 2008 Location: Ukraine Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Topic: Redraw controls problemPosted: 28 March 2008 at 10:22am |
|
Hello!
I've found that controls sometimes are not being redrawn when I change their icons during runtime (e.g. ButtonPopup icon or gallery item icons). The problem disappers when I hover the mouse under corresponding Ribbon Group or change the tab. Can this be fixed? Thanks for great support! Alex. |
|
![]() |
|
San0k
Groupie
Joined: 06 February 2008 Location: Ukraine Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 April 2008 at 8:41am |
|
Please help me.
Subj problem everywere in Ribbon ActiveX! |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 April 2008 at 12:29pm |
|
Hi,
you can call RedrawBar. How do you change icon ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
San0k
Groupie
Joined: 06 February 2008 Location: Ukraine Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 April 2008 at 5:57am |
|
RedrawBar did't help.... :(
I change icon by next method: CommandBars.Icons.RemoveIcon(controlId); CommandBars.Icons.AddBitmap(....); |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 April 2008 at 2:42pm |
|
Hi,
Think better add all icons in startup but change IconId property of corresponded controls
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
San0k
Groupie
Joined: 06 February 2008 Location: Ukraine Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 June 2008 at 7:32am |
|
But in my project icons generates at runtime. I cannot load all in startup :(
|
|
![]() |
|
ijwelch
Senior Member
Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 June 2008 at 10:09pm |
|
Does it help if after you do this:
CommandBars.Icons.RemoveIcon(controlId); CommandBars.Icons.AddBitmap(....); Control.IconID=controlId Maybe this will force refresh |
|
![]() |
|
San0k
Groupie
Joined: 06 February 2008 Location: Ukraine Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 June 2008 at 5:40am |
|
CommandBarGalleryItem hav't IconId propery :(
|
|
![]() |
|
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 |