All,
I have a problem when using "@K" picture clause. If I have several controls on a window or dialog and the user tabs or presses enter to move through the controls the get text is correctly deleted if they user types a character in a get. However, if the user clicks on a control using the mouse and types a character the text of the get is not deleted and the character typed is simply inserted (or overwrites) the text in the control.
Can someone confirm (or not) this problem?
Using Fivewin April 2006 & xHarbour.
Thanks,
Randal Ferguson
Problem with @K picture clause
I have experienced the same problem with FWH 2.6 and xHabour 0.99.2
My English is not very good, please excuse me
Regards from Honduras
My English is not very good, please excuse me
Regards from Honduras
_ A. Martinez
http://www.multisofthn.com
Honduras, Centro America
xHarbour Enterprise 1.2.2, Fivewin 13.06
http://www.multisofthn.com
Honduras, Centro America
xHarbour Enterprise 1.2.2, Fivewin 13.06
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Randal,
I had a problem with the @K picture also, but I don't remember exactly what the problem was. I made this change to the goHome() method of the TGet class (version 7.05).
Try it, and if it works for you, then perhaps Antonio will add this fix to FWH.
James
I had a problem with the @K picture also, but I don't remember exactly what the problem was. I made this change to the goHome() method of the TGet class (version 7.05).
Try it, and if it works for you, then perhaps Antonio will add this fix to FWH.
James
Code: Select all
METHOD GoHome() CLASS TGet
::oGet:Home()
//if ::oGet:Type == "N" // flag to clear buffer if typing is detected
if ::oGet:Type == "N" .or. "K" $ upper(::oGet:Picture) // J Bott
::oGet:Clear := .t.
endif
::SetPos( ::oGet:Pos )
return Self
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact: