To All
Is there a way to modify xBrowse to do two things ..
1- On EDIT_GET to have the cursor move to position 0 or to the beginning of the text field
2 - Instead of overstrike when editing the text .. have the text insert turned on .. that way when you make a change to the field .. you do not over write the text .. just togle insert ?
Thanks
Rick Lipkin
xBrowse Text editing wish list
- Rick Lipkin
- Posts: 2677
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
- Been thanked: 2 times
- Armando
- Posts: 3279
- Joined: Fri Oct 07, 2005 8:20 pm
- Location: Toluca, México
- Been thanked: 4 times
- Contact:
Re: xBrowse Text editing wish list
Rick:
For your second question, I use this code with TSBrowse, perhaps it can help you
with TXBrowse on EDIT method.
Best regards
For your second question, I use this code with TSBrowse, perhaps it can help you
with TXBrowse on EDIT method.
Code: Select all | Expand
oBrw:aColumns[ 2]:bPrevEdit := { | uVar | Set( _SET_INSERT, ! Set( _SET_INSERT ) )}
Best regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
- Rick Lipkin
- Posts: 2677
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
- Been thanked: 2 times
Re: xBrowse Text editing wish list
Armando
Thank you for your suggestion .. there does not appear to be a prepostget code block in xBrowse unless I have just missed it ?
I am still trying to come up with a solution and will share it when I get an answer.
Rick Lipkin
Thank you for your suggestion .. there does not appear to be a prepostget code block in xBrowse unless I have just missed it ?
I am still trying to come up with a solution and will share it when I get an answer.
Rick Lipkin
- Armando
- Posts: 3279
- Joined: Fri Oct 07, 2005 8:20 pm
- Location: Toluca, México
- Been thanked: 4 times
- Contact:
Re: xBrowse Text editing wish list
Rick:
Perhaps in ONPREVEDIT Method,
Just an idea.
Regards
Perhaps in ONPREVEDIT Method,
Code: Select all | Expand
oBrw:aColumns[ 2]:bOnPrevEdit := { | uVar | Set( _SET_INSERT, ! Set( _SET_INSERT ) )}
Just an idea.
Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
- Rick Lipkin
- Posts: 2677
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
- Been thanked: 2 times
Re: xBrowse Text editing wish list
Armando
Thank you once again .. no such code block bOnPrevEdit exists in xBrowse
Rick
Thank you once again .. no such code block bOnPrevEdit exists in xBrowse


Rick
- nageswaragunupudi
- Posts: 10733
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 11 times
- Contact:
- Rick Lipkin
- Posts: 2677
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
- Been thanked: 2 times
Re: xBrowse Text editing wish list
Rao and Armando
Thank you both for your answers .. here is the solution to the long edit string using the bOnPreEdit code block. This takes the cursor to position 0.
Rick Lipkin
Thank you both for your answers .. here is the solution to the long edit string using the bOnPreEdit code block. This takes the cursor to position 0.
Rick Lipkin
Code: Select all | Expand
oLbxB:aCols[5]:bOnPreEdit := { || __Keyboard( Chr( VK_HOME )) }