FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Any change in ALT-Z with FWH27?
Posts: 67
Joined: Mon Dec 26, 2005 07:44 AM
Any change in ALT-Z with FWH27?
Posted: Fri Jan 13, 2006 03:46 PM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Any change in ALT-Z with FWH27?
Posted: Fri Jan 13, 2006 06:38 PM

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
Posts: 67
Joined: Mon Dec 26, 2005 07:44 AM
Any change in ALT-Z with FWH27?
Posted: Sat Jan 14, 2006 07:24 AM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Any change in ALT-Z with FWH27?
Posted: Sat Jan 14, 2006 08:51 AM

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
Posts: 67
Joined: Mon Dec 26, 2005 07:44 AM
Any change in ALT-Z with FWH27?
Posted: Sat Jan 14, 2006 09:03 AM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Any change in ALT-Z with FWH27?
Posted: Sat Jan 14, 2006 09:44 AM

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Any change in ALT-Z with FWH27?
Posted: Sun Jan 15, 2006 08:05 AM

John,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion