TGET in insert mode

Post Reply
User avatar
David Williams
Posts: 82
Joined: Fri Mar 03, 2006 6:26 pm
Location: Ireland

TGET in insert mode

Post by David Williams »

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
User avatar
cdmmaui
Posts: 653
Joined: Fri Oct 28, 2005 9:53 am
Location: The Woodlands - Dallas - Scottsdale - London
Contact:

Re: TGET in insert mode

Post by cdmmaui »

Dear David,

Did you find a solution for this request?

Sincerely,
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: TGET in insert mode

Post by nageswaragunupudi »

I hope you might have tried

Code: Select all

oGet:bGotFocus := { || Set( SET_INSERT, .t. ) }
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: TGET in insert mode

Post by Antonio Linares »

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
User avatar
cdmmaui
Posts: 653
Joined: Fri Oct 28, 2005 9:53 am
Location: The Woodlands - Dallas - Scottsdale - London
Contact:

Re: TGET in insert mode

Post by cdmmaui »

Thanks Antonio
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
Posts: 653
Joined: Fri Oct 28, 2005 9:53 am
Location: The Woodlands - Dallas - Scottsdale - London
Contact:

Re: TGET in insert mode

Post by cdmmaui »

Hi Antonio,

I inserted code however it did not work.
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: TGET in insert mode

Post by Antonio Linares »

Darrell,

What FWH version are you using ?

Here it is working fine
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
cdmmaui
Posts: 653
Joined: Fri Oct 28, 2005 9:53 am
Location: The Woodlands - Dallas - Scottsdale - London
Contact:

Re: TGET in insert mode

Post by cdmmaui »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: TGET in insert mode

Post by Antonio Linares »

very good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
David Williams
Posts: 82
Joined: Fri Mar 03, 2006 6:26 pm
Location: Ireland

Re: TGET in insert mode

Post by David Williams »

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
Post Reply