FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Show a Cursor in a Combobox
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Show a Cursor in a Combobox
Posted: Mon Jan 23, 2017 04:13 PM
To All

<Tab> or <Enter> through a form, is there a way to show some kind of focus or cursor when the data entry hits a combobox ? If I manually click on the first combobox, all the rest of the combobox's show a square circle when you <tab> or <enter> into the box .. but until you click on a combobox, there is no indication where the cursor is ?

The first screen shot shows no ( box ) cursor .. if I click in any Combobox .. then I get a square cursor .. see screenshot 2. I am using FWH 1612 .. Any Ideas ?

Rick Lipkin

No Box or cursor indication even though the cursor is located in the Time Out box.


With Cursor after you once click into any combobox
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: Show a Cursor in a Combobox
Posted: Mon Jan 23, 2017 07:02 PM
Rick,

Look at "Underline keyboard shortcuts and access keys" in this link https://support.microsoft.com/en-us/help/14202/windows-7-make-keyboard-easier-to-use
I think it's what you want.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Show a Cursor in a Combobox
Posted: Tue Jan 24, 2017 01:24 PM
Try adding this to ON INIT clause of the ACTIVATE DIALOG command:

Code (fw): Select all Collapse
oDlg:PostMsg( WM_KEYDOWN, VK_TAB )


Works fine here. I can see the square cursor when TABbing to a combobox.

EMG
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Show a Cursor in a Combobox
Posted: Tue Jan 24, 2017 04:20 PM

Enrico

AWESOME !! , your suggestion worked Great !!

Many Thanks
Rick Lipkin

Continue the discussion