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.
Any change in ALT-Z with FWH27?
- Antonio Linares
- Site Admin
- Posts: 42516
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
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.
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.
- Antonio Linares
- Site Admin
- Posts: 42516
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
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.
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.
- Antonio Linares
- Site Admin
- Posts: 42516
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42516
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact: