TaskDialog Control |
Post Reply |
Author | |
BerbBrown
Senior Member Joined: 16 September 2009 Status: Offline Points: 101 |
Post Options
Thanks(0)
Posted: 06 October 2009 at 4:38pm |
Hi
In the help provided with Suite Controls 13.1 and 13.2, it shows the TaskDialog control with a progress bar. When I display a TaskDialog the progress does not appear with the green glass bar. He is my code: With tdmProgress .EnableMarkup = True .WindowTitle = "test" .MainIcon = xtpTaskIconWarning .MainInstructionText = "<TextBlock>Please be patient</TextBlock>" .ContentText = "<TextBlock TextWrapping='Wrap'>Test</TextBlock>" .MessageBoxStyle = True .UseComCtl32 = True .ProgressBarStyle = xtpTaskProgressBarMarquee .ShowDialog End With I use the Constructed event to start the progress meter Private Sub tdmProgress_Constructed() tdmProgress.StartProgressBarMarquee True, 20 End Sub |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Do you have a manifest file? Also in VB6 manifest is only used when running the exe, not while in IDE. You can use skinframework as well to do this.
|
|
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
|
You can use XP Visual Styles in IDE, also.
To enable XP Visual Styles simply
- make a VB6.EXE.manifest
- put in ...\VB98 folder
- run VB6
Caution with Frame control, if you use:
- OptionButton become black
- CommandButton present a black border
- many controls may flicker when move mouse over it
Solution: put a PictureBox into Frame, then insert all control in he PictureBox.
|
|
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
|
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 |