Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - SOLVED: TaskDialog issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: TaskDialog issue

 Post Reply Post Reply
Author
Message
Krog View Drop Down
Groupie
Groupie


Joined: 06 February 2008
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Krog Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: TaskDialog issue
    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
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Krog View Drop Down
Groupie
Groupie


Joined: 06 February 2008
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Krog Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.184 seconds.