Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Focus on the PromptYesNo dlg
Focus on the PromptYesNo dlg [message #19748] Mon, 12 January 2009 10:49 Go to next message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Hi all,

It is possible to assign the focus to the yes button of the PromptYesNo prebuild dlg? The aim is to avoid use the mouse. Using the keyboard is faster Smile

Thanks a lot

Alex
Re: Focus on the PromptYesNo dlg [message #19749 is a reply to message #19748] Mon, 12 January 2009 13:20 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
It's not possible without changing the Prompt source, but you can use the Y/N keys to press the buttons. I think the intention is that PromptYesNo should not have a default answer, since it is entirely dependent on context.
Re: Focus on the PromptYesNo dlg [message #19750 is a reply to message #19749] Mon, 12 January 2009 13:34 Go to previous messageGo to next message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Ok, thank you!
I will change the source.

Is there any ready to use dlg box that reads some text from user?
(with an edit box)

Alex

[Updated on: Mon, 12 January 2009 13:36]

Report message to a moderator

Re: Focus on the PromptYesNo dlg [message #19751 is a reply to message #19750] Mon, 12 January 2009 17:59 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
kbyte wrote on Mon, 12 January 2009 12:34

Is there any ready to use dlg box that reads some text from user?
(with an edit box)

Yes, the EditText functions do this.
Re: Focus on the PromptYesNo dlg [message #19752 is a reply to message #19751] Tue, 13 January 2009 12:38 Go to previous message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Great!

Alex
Previous Topic: Printing with times new roman font?
Next Topic: show tooltip as QTF
Goto Forum:
  


Current Time: Thu Oct 31 23:50:10 CET 2024

Total time taken to generate the page: 0.02436 seconds