SOLVED: TaskDialog issue
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=15972
Printed Date: 26 November 2024 at 10:05pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: SOLVED: TaskDialog issue
Posted By: Krog
Subject: SOLVED: TaskDialog issue
Date Posted: 09 January 2010 at 9:42am
Here are some notes related to the TaskDialog control (version 13.2.1) when using RadioButtons.
DefaultButton:
When setting this option to xtpTaskButtonOk, or not using it, we cannot to use the Enter key to fire the default button. Indeed no default button is present.
AllowCancellation:
When using (or not using) this option I would like to use the Esc key from the keyboard, and pressing this key does not make any effect. And still clicking on the 'X' (close button) from the TaskDialog does not close it.
Then we could use the TaskDialog easily with the keyboard only, without the need to touch the mouse. When we have options we only use the Down key and Enter, or Esc to cancel the dialog.
All these options were tested with the UseComCtl32 ON and OFF.
Regards!
------------- Product: Xtreme SuitePro (ActiveX) version 15.2.1
Platform: Windows XP SP2
Language: Visual Basic 6 SP6
|
Replies:
Posted By: shipwreck
Date Posted: 09 January 2010 at 11:38am
Hey Krog!
I was just looking for something like this last night.
Thanks for the tips!
------------- Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)
Language: Visual Basic 6.0 SP6
|
Posted By: Krog
Date Posted: 10 January 2010 at 7:50am
Nevermind I would get the solution...
I was using low ID values (1 and 2) for the RadioButtons, and that was causing that behavior.
I solved it simply using higher IDs:
TaskDialog.AddRadioButton "Option 1", 101
TaskDialog.AddRadioButton "Option 2", 102
Sorry for the incovenience.
------------- Product: Xtreme SuitePro (ActiveX) version 15.2.1
Platform: Windows XP SP2
Language: Visual Basic 6 SP6
|
|