FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TGET in insert mode
Posts: 82
Joined: Fri Mar 03, 2006 06:26 PM
TGET in insert mode
Posted: Wed Nov 13, 2013 01:37 PM

Is it possible to have a get control in insert mode when focused, along with the normal caret? In other words not having to press the insert key with the resulting blocky caret.

TIA
David

Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Re: TGET in insert mode
Posted: Wed Mar 25, 2015 12:57 PM

Dear David,

Did you find a solution for this request?

Sincerely,

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: TGET in insert mode
Posted: Wed Mar 25, 2015 01:06 PM
I hope you might have tried
Code (fw): Select all Collapse
oGet:bGotFocus := { || Set( SET_INSERT, .t. ) }
Regards



G. N. Rao.

Hyderabad, India
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: TGET in insert mode
Posted: Wed Mar 25, 2015 03:31 PM

Darrell,

If you call this ath the beginning of your app:

TGet():lChangeCaret = .F.

Then the GETs will not change their carets.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Re: TGET in insert mode
Posted: Wed Mar 25, 2015 10:32 PM

Thanks Antonio

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Re: TGET in insert mode
Posted: Thu Mar 26, 2015 03:55 AM

Hi Antonio,

I inserted code however it did not work.

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: TGET in insert mode
Posted: Thu Mar 26, 2015 07:20 AM

Darrell,

What FWH version are you using ?

Here it is working fine

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Re: TGET in insert mode
Posted: Thu Mar 26, 2015 12:00 PM

Dear Antonio,

I am using 14.09

I found the code below and added to program and it is working now.

set(_SET_INSERT, .T.)

Sincerely,

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: TGET in insert mode
Posted: Thu Mar 26, 2015 03:59 PM

very good :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 82
Joined: Fri Mar 03, 2006 06:26 PM
Re: TGET in insert mode
Posted: Sun Mar 29, 2015 12:00 PM

Hi Darrell

I have being away for a week (downtime :) ) and missed your post.

I see you have the solution already, I have converted one of my applications and the clients are happy :D

Cheers
David

Continue the discussion