FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Alt+ letter( & ) POSSIBLE BUG ?
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM
Alt+ letter( & ) POSSIBLE BUG ?
Posted: Wed Apr 07, 2010 05:47 PM

I want call a folder or a get with alt+ letter sample :

@ 3, 3 SAY "Get&One" SIZE 25, 7 PIXEL OF oFrm COLOR 0, 14215660
@ 12, 3 GET oGet1 VAR cMastro1 Picture "9999" SIZE 16, 10 PIXEL OF oFrm

If I compiled it Inot see the _ down the O of "GetOne" then If I press alt BUTTON I can see the underscore "_" down the letter

AND THE RUN OK

there is a bug ?
If I not press alt button I cannot see the underscore down on GetOne

FWH .. BC582.. xharbour
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Alt+ letter( & ) POSSIBLE BUG ?????????????
Posted: Wed Apr 07, 2010 05:49 PM

It's an XP setting.

EMG

Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM
Re: Alt+ letter( & ) POSSIBLE BUG ?????????????
Posted: Wed Apr 07, 2010 05:59 PM

Emg,
you think I can call__keyboard( Vk_Alt) ?
but it is not logic !!!

I try it on Vista and windows Seven run the same !!!

FWH .. BC582.. xharbour
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Alt+ letter( & ) POSSIBLE BUG ?????????????
Posted: Wed Apr 07, 2010 06:54 PM
I think you have to insert a keydown method into folder class.
I did this for left/right keys:
Best regards,
Otto

[code
METHOD KeyDown( nKey, nFlags ) CLASS TFolder
local nOption1 := ::nOption

//msginfo(str(nOption1))

do case

CASE nKey == VK_RIGHT //modify
nOption1 := nOption1 + 1
IF nOption1 > Len( ::aDialogs )
nOption1 := 1
ENDIF
::SetOption( nOption1 )
CASE nKey == VK_LEFT //modify
nOption1 := nOption1 - 1
IF nOption1 < 1
nOption1 := Len( ::aDialogs )
ENDIF
::SetOption( nOption1 )

otherwise

return Super:KeyDown( nKey, nFlags )
endcase

return 0

//----------------------------------------------------------------------------//[/code]
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Alt+ letter( &amp; ) POSSIBLE BUG ?????????????
Posted: Wed Apr 07, 2010 07:13 PM
MdaSolution wrote:Emg,
you think I can call__keyboard( Vk_Alt) ?
but it is not logic !!!

I try it on Vista and windows Seven run the same !!!


Please go to the desktop properties then Appearence (Aspetto) then Effects (Effetti) then remove the check from "Hide underlined etc." (Nascondi le lettere sottolineate...).

EMG
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM
Re: Alt+ letter( &amp; ) POSSIBLE BUG ?????????????
Posted: Thu Apr 08, 2010 08:01 AM

Thanks,
On Xp I found this setting but on Windows Seven I not found where...

FWH .. BC582.. xharbour

Continue the discussion