Search found 23 matches: overstrike

Searched query: overstrike

by Rick Lipkin
Fri Aug 25, 2017 12:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to make memo edit in dialog automatic selectnone?
Replies: 5
Views: 1299

Re: How to make memo edit in dialog automatic selectnone?

Günther

I place this at the top of my Main program :

Code: Select all | Expand


// replaces overstrike in gets
Set( _SET_INSERT, .t. )
TGet():lChangeCaret := .f.
 


This globally sets all fields to insert rather to overstrike .. a bit clumsy, but it works.

Rick Lipkin
by nageswaragunupudi
Mon Apr 17, 2017 2:23 pm
Forum: FiveWin for Harbour/xHarbour
Topic: fw_SetUnicode()
Replies: 5
Views: 1182

Re: fw_SetUnicode()

... Even in a Unicode application, if CHRGRP is specified as CHR_ANSI, that GET behaves exactly like in a normal ANSI application, i.e., insert/overstrike modes work and all picture clauses work, but input is restricted to ANSI characters and Unicode characters are rejected.

When CHRGRP is CHR_ANY ...
by Antonio Linares
Sun Oct 23, 2016 9:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: Very Old Date problem
Replies: 29
Views: 7806

Re: Very Old Date problem

Please discard my previous message. It looks to me more as an ::oGet:Insert() and ::oGet:OverStrike() issue

going to do some more tests
by Rick Lipkin
Thu May 21, 2015 12:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Default Edit fields OverStrike vs Insert mode
Replies: 7
Views: 1916

Re: xBrowse Default Edit fields OverStrike vs Insert mode

Rao

This is an important topic for many developers .. a GREAT Solution! :D

Thank You
Rick Lipkin

Code: Select all | Expand


// replaces overstrike in gets
Set( _SET_INSERT, .t. )
TGet():lChangeCaret := .f.
 

Image
by nageswaragunupudi
Thu May 21, 2015 12:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Default Edit fields OverStrike vs Insert mode
Replies: 7
Views: 1916

Re: xBrowse Default Edit fields OverStrike vs Insert mode

Mr Rick

Please set TGet():lChangeCaret := .f. somewhere towards the beginning of your Main() function.

You will see only the Thin Caret in all Gets whether in Insert Mode or OverWrite Mode.
by Rick Lipkin
Wed May 20, 2015 9:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Default Edit fields OverStrike vs Insert mode
Replies: 7
Views: 1916

Re: xBrowse Default Edit fields OverStrike vs Insert mode

Thank you for your code .. what I am trying to do is to make the insert block just a normal cursor line .. and the oHand Cursor does not effect that :|

Rick Lipkin
Image
by karinha
Wed May 20, 2015 7:41 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Default Edit fields OverStrike vs Insert mode
Replies: 7
Views: 1916

Re: xBrowse Default Edit fields OverStrike vs Insert mode

// testget3.prg Model.#include "fivewin.ch"function main()   FromCode()   //FromrES() return NilFunction FromCode()   local oDlg   local oGet1, oGet2, oGet3, oGet4   local cVar1, cVar2, cVar3, cVar4, oHand  &nbsp ...
by Rick Lipkin
Wed May 20, 2015 1:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Default Edit fields OverStrike vs Insert mode
Replies: 7
Views: 1916

Re: xBrowse Default Edit fields OverStrike vs Insert mode

Rao

I am just getting back to this topic and I approve of the Insert Behavoir, unfortunitly, the cursor is too fat. I have searched the forums and found several topics on this

http://forums.fivetechsupport.com/viewtopic.php?f=3&t=21995&hilit=set+cursor

However, is there a global cursor setting ...
by nageswaragunupudi
Sun May 10, 2015 12:06 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Default Edit fields OverStrike vs Insert mode
Replies: 7
Views: 1916

Re: xBrowse Default Edit fields OverStrike vs Insert mode

Personally I too prefer insert mode.
But there is nothing like default for xbrowse-get or independent get. Get just follows the existing setting of insert mode set by programmer or user.

So, please just use Set( _SET_INSERT, .t. ) and then all subsequent xbrowse-gets and independent gets work in ...
by Rick Lipkin
Fri May 08, 2015 7:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Default Edit fields OverStrike vs Insert mode
Replies: 7
Views: 1916

xBrowse Default Edit fields OverStrike vs Insert mode

Rao

I know we have talked about this before, but to be compatible with Excel and many other Microsoft products, it would be nice if the Field edit would by default be in Insert Mode rather than over-strike.

I just opened Excel and went to edit a cell and moved my cursor back a few characters and ...
by don lowenstein
Thu Mar 07, 2013 4:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: tcbrowse editcol method
Replies: 0
Views: 437

tcbrowse editcol method

... this is very routine processing.

My problem is, applying that key's value to the contents of the beginning of the edit field.
I can use the OVERSTRIKE method of the oget:oget object to "preserve" the key pressed and apply it to the current contents of the oget:oget (which is really a Harbour get ...
by Rick Lipkin
Thu Apr 26, 2012 6:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Text editing wish list
Replies: 6
Views: 1201

xBrowse Text editing wish list

... 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 ...
by cdmmaui
Wed Jun 29, 2011 6:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Program Error at GET
Replies: 2
Views: 2069

Program Error at GET

... Args:
[ 1] = U
[ 2] = N 1
[ 3] = N 0

Stack Calls
===========
Called from: => SUBSTR(0)
Called from: source\rtl\tget.prg => TCLIPGET:OVERSTRIKE(1326)
Called from: tget.prg => TGET:KEYCHAR(810)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: .\source\classes\CONTROL.PRG => TCONTROL ...
by zazibr
Thu Mar 13, 2008 4:40 pm
Forum: FiveWin para Harbour/xHarbour
Topic: xharbour cvs + fivewin 8.01 = GPF ?
Replies: 9
Views: 4718

... lDisplay )
METHOD DelEnd()
METHOD DelLeft()
METHOD DelRight()
METHOD DelWordLeft()
METHOD DelWordRight()

METHOD Insert( cChar )
METHOD OverStrike( cChar )

#ifdef HB_COMPAT_C53
METHOD HitTest(mrow, mcol)
#endif


PROTECTED: /* P R O T E C T E D */

DATA cColorSpec // Used only for ...