Any change in ALT-Z with FWH27?

Post Reply
John
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Any change in ALT-Z with FWH27?

Post by John »

Hi,

in FWH25, a button like &Zoek (Search) worked when using the ALT key in combination with the Z, and standing in a GET. Since i've upgraded (FWH27/xHarbour 0.99.51), using the ALT-Z combination clears the GET, and that's it.

Any ideas how to get my original functionality back?

Thanks in advance!

John.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

John,

Do you see the underscore "_" under the "Z" ? Could you please post a screenshot here ? (use imageshack.com to host the image)
regards, saludos

Antonio Linares
www.fivetechsoft.com
John
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Post by John »

Hi Antonio,

When pressing the ALT key, the underscores appear.

This is what's in my RC file:
PUSHBUTTON "&Zoek", 303, 126, 224, 50, 14
...
EDITTEXT 305, 14, 224, 110, 13


And in my app:
REDEFINE BUTTON oZoek ID 303 OF oDlg
....
REDEFINE GET oZoekString VAR cZoekString ID 305 of oDlg valid if(GETKEYSTATE(VK_RETURN),(ZoekString(cBestand, cZoekString,oBrw),oZoekString:oJump:=oZoekString,.T.),.T.)

The function ZoekString does the actual searching in the DBF.

Thanks in advance,

John.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

John,

This sample works ok:
http://hyperupload.com/download/d385d963/john.zip.html

Could you please test it there and let us know if it works ok for you ? Thanks.
regards, saludos

Antonio Linares
www.fivetechsoft.com
John
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Post by John »

Antonio,

your example works fine. So it seems the extra code i use, makes the contents of the GET dissapear. Strangely enough, this worked in the previous version...

Thanks,

John.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

John,

If you could provide us a sample to reproduce the problem, that would help very much. Thanks.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

John,

Thanks for your emailed sample. Already fixed in your code and sent back to you.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply