![]() |
Redraw galleries content |
Post Reply
|
| Author | |
San0k
Groupie
Joined: 06 February 2008 Location: Ukraine Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Topic: Redraw galleries contentPosted: 25 June 2008 at 8:07am |
|
Hello,
It is continue of subj https://forum.codejock.com/forum_posts.asp?TID=9987 I have upload swf-video demonstrates problem. 20080625_075046_Problem.zip When I change picture in first(inline) gallery icons in second(popup) gallery must be change to new icons. But it happen only if I move mouse cursor to the gallery area. See pictures... Before: After I drag cursor in gallery area: Main question: How I can redraw Galleries from code??? RedrawBar() don't help me. |
|
![]() |
|
San0k
Groupie
Joined: 06 February 2008 Location: Ukraine Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 June 2008 at 5:23am |
|
Anyone can help me?!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 June 2008 at 12:39pm |
|
Hi,
Video and screenshot gives noting. We need your code to check what you do - how load/change icons.
Modify our sample and attach it here.
|
|
|
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: 01 July 2008 at 10:37am |
|
20080701_102454_toUpload.zip
1. Build and run sample 2. Select "TEST" tab 3. Click "test1" button and make sure that lines are black. 4. Click "test2" button, in message box click on and IMMEDIATELY click test1 again. 5. You see black lines again. 6. Wait 10-20-30 second without any mouse moving but lines black also. But if you move mouse cursor into gallery area - gallery will redrawed and lines will be red! Please see my code (with comments "Test code") I need fire redrawing from my code! Thanks, Alex. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 July 2008 at 1:14pm |
|
Hi,
assign some Id for gallery:
gal = (CommandBarGallery)b1.CommandBar.Controls.Add(XTPControlType.xtpControlGallery, 20000, "", false, false);
gal .Items = CommandBars.CreateGalleryItems(20000);and redraw it with
CommandBars .FindControl(null, 20000, true, true).Parent.RedrawBar(); |
|
|
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: 02 July 2008 at 6:22am |
|
Thanks a lot!
It works! |
|
![]() |
|
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 |