Alt+ letter( & ) POSSIBLE BUG ?

Alt+ letter( & ) POSSIBLE BUG ?

Postby MdaSolution » Wed Apr 07, 2010 5: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
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm


Re: Alt+ letter( & ) POSSIBLE BUG ?????????????

Postby MdaSolution » Wed Apr 07, 2010 5: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
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: Alt+ letter( & ) POSSIBLE BUG ?????????????

Postby Otto » Wed Apr 07, 2010 6: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]
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6364
Joined: Fri Oct 07, 2005 7:07 pm

Re: Alt+ letter( & ) POSSIBLE BUG ?????????????

Postby Enrico Maria Giordano » Wed Apr 07, 2010 7: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
User avatar
Enrico Maria Giordano
 
Posts: 8725
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Alt+ letter( & ) POSSIBLE BUG ?????????????

Postby MdaSolution » Thu Apr 08, 2010 8:01 am

Thanks,
On Xp I found this setting but on Windows Seven I not found where...
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests