FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Get - Cut/Paste/Delete problem
Posts: 284
Joined: Mon Oct 24, 2005 08:04 PM
Get - Cut/Paste/Delete problem
Posted: Thu Sep 14, 2006 01:48 PM

All,

Last month I posted a problem using the copy/cut/paste menu when right clicking on a get. This problem was fixed but we have a similar problem when using Delete.

If you double click on a get to highlight the text, right click, and select Delete the contents of the get is deleted. However, when you tab or click out of the get the Deleted text is put back in the get!

Thanks,
Randal Ferguson

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Get - Cut/Paste/Delete problem
Posted: Fri Sep 15, 2006 07:54 AM
Randal,

Please add these changes to Class TGet:
#define WM_CLEAR           771
...
      case nMsg == WM_PASTE
           ...

      case nMsg == WM_CLEAR
           CallWindowProc( ::nOldProc, ::hWnd, WM_CLEAR, 0, 0 )
           ::oGet:buffer = Space( Len( ::oGet:buffer ) )
           ::SetPos( 1 )
           ::oGet:Assign()
           return 0
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 284
Joined: Mon Oct 24, 2005 08:04 PM
Get - Cut/Paste/Delete problem
Posted: Sun Sep 17, 2006 01:35 AM

Thanks!
Randal

Continue the discussion