Re: default button
- Posted by Jonas Temple <jtemple at yhti.net> Jul 14, 2004
- 602 views
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