![]() |
How to create a progressbar in XAML markup? |
Post Reply
|
| Author | |
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Topic: How to create a progressbar in XAML markup?Posted: 19 June 2015 at 9:04am |
|
Is there a way to get the DC of a panel/grid or image markup and create a ProgressCtrl in that location?
|
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
![]() |
|
jpbro
Senior Member
Joined: 12 January 2007 Status: Offline Points: 1357 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 June 2015 at 2:34pm |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 June 2015 at 6:19pm |
|
Thanks! But you have to manually calculate the pixel positions and also update the xaml every time, which is not a very good solution.
|
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
![]() |
|
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 August 2015 at 8:18pm |
|
So, is there any way to get the DC of a StackPanel or other Markup element? so I can place a control inside.
|
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
![]() |
|
astoyan
Admin Group
Joined: 24 August 2013 Status: Offline Points: 324 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 August 2015 at 10:38pm |
|
It should be faily easy to achieve using markup scripting however it still requries some manual work to be done. Starting from v17.0 beta 2 markup supports scripting, you can already try it out in the latest beta, but due to an issue with this release markup doesn't work in release mode, so you'll have to compile it in debug. There are several new XAML samles added that demonstrate scripting it using JavaScript, VBScript can be used as well.
|
|
![]() |
|
markr
Senior Member
Joined: 01 August 2004 Status: Offline Points: 443 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 August 2015 at 6:36pm |
I'm using the MFC edition of XTP v17 beta 2, and markup is failing for me in debug mode as well as release mode. - Mark R. |
|
![]() |
|
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 |