Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - SOLVED: MarkupStackPanel Children Refresh Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: MarkupStackPanel Children Refresh Problem

 Post Reply Post Reply
Author
Message
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: MarkupStackPanel Children Refresh Problem
    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

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

Language: Visual Basic 6.0 SP6

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
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: 16 March 2009 at 7:43am
Thanks. fixed.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

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.188 seconds.