TGET in insert mode

TGET in insert mode

Postby David Williams » Wed Nov 13, 2013 1: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
User avatar
David Williams
 
Posts: 82
Joined: Fri Mar 03, 2006 6:26 pm
Location: Ireland

Re: TGET in insert mode

Postby cdmmaui » 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
User avatar
cdmmaui
 
Posts: 693
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Re: TGET in insert mode

Postby nageswaragunupudi » Wed Mar 25, 2015 1:06 pm

I hope you might have tried
Code: Select all  Expand view  RUN

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10690
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: TGET in insert mode

Postby Antonio Linares » Wed Mar 25, 2015 3: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGET in insert mode

Postby cdmmaui » Wed Mar 25, 2015 10:32 pm

Thanks Antonio
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 693
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Re: TGET in insert mode

Postby cdmmaui » Thu Mar 26, 2015 3:55 am

Hi Antonio,

I inserted code however it did not work.
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 693
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Re: TGET in insert mode

Postby Antonio Linares » Thu Mar 26, 2015 7:20 am

Darrell,

What FWH version are you using ?

Here it is working fine
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGET in insert mode

Postby cdmmaui » 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
User avatar
cdmmaui
 
Posts: 693
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Re: TGET in insert mode

Postby Antonio Linares » Thu Mar 26, 2015 3:59 pm

very good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGET in insert mode

Postby David Williams » 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
User avatar
David Williams
 
Posts: 82
Joined: Fri Mar 03, 2006 6:26 pm
Location: Ireland


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests