Any change in ALT-Z with FWH27?

Any change in ALT-Z with FWH27?

Postby John » Fri Jan 13, 2006 3: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.
John
 
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Postby Antonio Linares » Fri Jan 13, 2006 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby John » Sat Jan 14, 2006 7: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.
John
 
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Postby Antonio Linares » Sat Jan 14, 2006 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby John » Sat Jan 14, 2006 9: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.
John
 
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Postby Antonio Linares » Sat Jan 14, 2006 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Sun Jan 15, 2006 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 40 guests