XBROWSE GETS

XBROWSE GETS

Postby byte-one » Sun Dec 02, 2012 4: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: XBROWSE GETS

Postby Rick Lipkin » Sun Dec 02, 2012 5: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: Select all  Expand view

// 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 ) }
 
User avatar
Rick Lipkin
 
Posts: 2636
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: XBROWSE GETS

Postby Gale FORd » Sun Dec 02, 2012 5:39 pm

Shouldn't it be dependent on the picture "@K"
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 38 guests