FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBROWSE GETS
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
XBROWSE GETS
Posted: Sun Dec 02, 2012 04:57 PM

I found, that on gets in xbrowse ::selectedall() is standard. It should be to turn off or on! Now the cursor are on the last character in the get when i go to edit-mode. He should be on the first!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: XBROWSE GETS
Posted: Sun Dec 02, 2012 05:09 PM
Günther

Here is a work around .. Use the __Keyboard() function with the bOnPreEdit codeblock .. Also, I turned on the 'insert' button so the edit behavior 'would not' be in over-strike mode.

I would like to see the above workaround standard xBrowse behavior myself.

Rick Lipkin

Code (fw): Select all Collapse
// description
       oLbxB:aCols[5]:nEditType   := EDIT_GET
       oLbxB:aCols[5]:bOnPreEdit  := { || If(oRsInvDetail:Fields("Item Description"):Value = " ", ,;
                                     (__Keyboard( Chr( VK_HOME )) ,__Keyboard( Chr( VK_INSERT)) ))}
       oLbxB:aCols[5]:bOnPostEdit := {|o,v| _GetText( v,oLbxB,oRsInvDetail ) }
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: XBROWSE GETS
Posted: Sun Dec 02, 2012 05:39 PM

Shouldn't it be dependent on the picture "@K"

Continue the discussion