Show a Cursor in a Combobox

Show a Cursor in a Combobox

Postby Rick Lipkin » Mon Jan 23, 2017 4: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.
Image

With Cursor after you once click into any combobox
Image
User avatar
Rick Lipkin
 
Posts: 2618
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Show a Cursor in a Combobox

Postby vilian » Mon Jan 23, 2017 7: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
User avatar
vilian
 
Posts: 920
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Show a Cursor in a Combobox

Postby Enrico Maria Giordano » Tue Jan 24, 2017 1:24 pm

Try adding this to ON INIT clause of the ACTIVATE DIALOG command:

Code: Select all  Expand view
oDlg:PostMsg( WM_KEYDOWN, VK_TAB )


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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Show a Cursor in a Combobox

Postby Rick Lipkin » Tue Jan 24, 2017 4:20 pm

Enrico

AWESOME !! , your suggestion worked Great !!

Many Thanks
Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2618
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 101 guests