Print Page | Close Window

Minor Problem with TaskDialog Documentation

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=10785
Printed Date: 11 May 2024 at 8:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Minor Problem with TaskDialog Documentation
Posted By: jpbro
Subject: Minor Problem with TaskDialog Documentation
Date Posted: 26 May 2008 at 10:03pm
Hi,

For the EnableCommandLinks property, the TaskDialog documentation mentions:

Quote When using command links, all characters up to the first new line character in AddButton's Text argument will be treated as the command link's main text, and the remainder will be treated as the command link's note text.

But in vb, using vbNewLine in the text argument of AddButton will cause a big blank space between the main part of the caption and the description. Using vbCr will not be interpreted as a new line (my first guess), so all of the text will appear in the larger caption font. It turns out the correct choice of constants is vbLf, so I think the documentation should reflect this.



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

Language: Visual Basic 6.0 SP6




Replies:
Posted By: Oleg
Date Posted: 27 May 2008 at 1:01am
Thanks.

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



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