Re: default button

new topic     » goto parent     » topic index » view thread      » older message » newer message

George Walters wrote:
> 
> Does anyone know how to setFocus to an edit text control and still show 
> a default button to respond to when a the enter key is pressed. I  know 
> how to do both but not at the same time. as soon as I set focus to the 
> edit etext control I lose focus on the button selected... I guess my 
> question is how to set a default button.
> 
> george
George,

Using Win32Lib I use the DefPushButton control type to define the default
push button.  To my knowledge, the button does not need to have focus 
(except maybe in the case of a multi-line edit control?) in order to 
be pressed.  

Jonas

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu