Print Page | Close Window

SOLVED: MarkupStackPanel Children Refresh Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13694
Printed Date: 07 July 2024 at 4:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: MarkupStackPanel Children Refresh Problem
Posted By: jpbro
Subject: SOLVED: MarkupStackPanel Children Refresh Problem
Date Posted: 15 March 2009 at 3:08pm
FIXED IN LATEST TESTING BUILD.

Using the RemoveAt and Insert methods of the MarkupStackPanel.Children object doesn't refresh the display...making the MarkupLabel control visible & invisible doesn't help either. You have to make the StackPanel hidden and visible as follows:


mo_Panel.Children.RemoveAt 0

mo_Panel.Visibility = xtpMarkupVisibilityHidden
mo_Panel.Visibility = xtpMarkupVisibilityVisible


Sample project:
uploads/20090315_150739_StackPanelBug.zip - uploads/20090315_150739_StackPanelBug.zip



-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




Replies:
Posted By: Aaron
Date Posted: 16 March 2009 at 2:41am
Hi Jason,
 
You are right about this, I tried with resizing MarkupLabel and it will refresh markup. I think RemoveAt and Insert methods don't call internal redraw.....
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Oleg
Date Posted: 16 March 2009 at 7:43am
Thanks. fixed.

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


Posted By: jpbro
Date Posted: 16 March 2009 at 5:08pm
Thank you!

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




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