FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Question to XBROWSE
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Question to XBROWSE
Posted: Tue Sep 27, 2016 02:21 PM

Which way i can go to delete a dataline in xbrowse only with the key VK_DELETE? Thanks.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Question to XBROWSE
Posted: Wed Sep 28, 2016 05:45 AM

oBrw:bKeyDown := { |k| If( k == VK_DELETE, oBrw:Delete(), nil ) }

We advise using oBrw:Delete(). This method works for all kinds of datasources.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Question to XBROWSE
Posted: Wed Sep 28, 2016 09:22 AM

Thanks!

Regards,
Günther
---------------------------------
office@byte-one.com

Continue the discussion