comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Highlight default button
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Highlight default button [message #70232] Fri, 26 March 2010 01:03
LNpellen is currently offline  LNpellen
Messages: 37
Registered: November 2009
Member
I'm trying to modify CW_FORM to have a default focus on a button or a
text-field. I have succeeded with the text-fields. For the buttons I
think I have the focus correct because pressing space bar works, but
there is no highlight or dotted line around the text to indicate which
button have the focus and I'd prefer to press Return or Enter instead.

I found a thread in this group from 2000 where the answer was that
this is not possible with Windows. Is it still so in 2010? The
dialog_message type Question have this correct so I cannot understand
why this should not be possible for all buttons in IDL. I tried to
find the dialog_message source code to copy code, but did not succeed.

I have used the WIDGET_CONTROL, <id>, /INPUT_FOCUS

Any suggestions?

Ellen
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: western hemisphere to eastern
Next Topic: Re: Highlight default button

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:45:01 PDT 2025

Total time taken to generate the page: 0.00529 seconds