Print Page | Close Window

SOLVED: Task Dialog

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12281
Printed Date: 26 September 2024 at 12:16am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Task Dialog
Posted By: ElvisM
Subject: SOLVED: Task Dialog
Date Posted: 29 September 2008 at 12:37am
Hi friends...
Is there a way to set the font property to the TaskDialog control?
Could be necessary...!
 
Regards,
Elvis


-------------
Product: Xtreme SuitePro (ActiveX) version 17.2
Platform: Windows 10 64bits
Language: Visual Basic 2015



Replies:
Posted By: ElvisM
Date Posted: 30 September 2008 at 7:01pm
CodeJock's support..
Can you help me?
 
Thanks.


-------------
Product: Xtreme SuitePro (ActiveX) version 17.2
Platform: Windows 10 64bits
Language: Visual Basic 2015


Posted By: jpbro
Date Posted: 30 September 2008 at 9:07pm
You can use Markup to change fonts, colours, add graphics, etc... Here's an example of using different fonts for the MainInstructionText and a Button:


   With Me.TaskDialog1
      .EnableMarkup = True
     
      .MainInstructionText = "<TextBlock FontFamily='Trebuchet MS'>Message in one font, buttons in another</TextBlock>"
     
      .AddButton "<TextBlock FontFamily='Courier New' FontSize='24pt'><Bold>BIG BUTTON</Bold></TextBlock>", 100
     
      .ShowDialog
   End With



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

Language: Visual Basic 6.0 SP6



Posted By: ElvisM
Date Posted: 02 October 2008 at 4:38pm
Very, very good...
Thanks jpbro.
 
It's working.
 
Regards;


-------------
Product: Xtreme SuitePro (ActiveX) version 17.2
Platform: Windows 10 64bits
Language: Visual Basic 2015



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