Cursor into get with Mask!?

Post Reply
User avatar
JC
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil
Contact:

Cursor into get with Mask!?

Post by JC »

Why the cursor don't go to the end of the value when it has entered mask?

When the get has a mask, the cursor goes until after the last character. But when he has some kind of mask, the cursor is always before the last character.

I thought that if I have the new fivewin version, this bug has been fixed but not.

How can I fix it?
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Júlio,

I am pretty sure this is the same behavior of Clipper and Harbour has recreated it. With DOS Clipper apps, the font was a fixed size and now we have proportional fonts which also complicates things since each data entry may have a different physical length.

So, this is Harbour faithfully recreating the old behavior of Clipper. Weather or not this is a good thing is questionable.

Maybe Antionio can tell us more.

James
User avatar
JC
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil
Contact:

Post by JC »

Ok James

We waiting!
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

Julio,
James,

The problem Julio is mentioning is sometimes enoying. It makes deleting the last character using the backspace impossible. It should be possible to put the cursor in non-insert mode (a line, not a block) just behind the last possible character.

I'm pretty used to is now, but my customers sometimes complain about it.

Regards,
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Michel, James, Julio,

Its the way a Clipper GET behaves as James explained.

FiveWin Class TGet uses a Harbour (Clipper) GET in a DATA, and copy the results of its buffer and cursor position into the Windows GET. So what we see is what the Harbour GETs does.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
JC
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil
Contact:

Post by JC »

Antonio Linares wrote:Michel, James, Julio,

Its the way a Clipper GET behaves as James explained.

FiveWin Class TGet uses a Harbour (Clipper) GET in a DATA, and copy the results of its buffer and cursor position into the Windows GET. So what we see is what the Harbour GETs does.
Linares, so is necessary to modify the xHarbour (Clipper) GET to get better results for cursor position into the Windows GET?
This prevents a good typing data.
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Júlio,

Thats not as easy as it seems :-)

What behavior should we modify ? We need to decide what Clipper behavior to keep and what behaviors to change.

And most important: we have to keep backwards compatibility. Pictures have to work fine, navigation keys, etc.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
JC
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil
Contact:

Post by JC »

Antonio Linares wrote:Júlio,

Thats not as easy as it seems :-)

What behavior should we modify ? We need to decide what Clipper behavior to keep and what behaviors to change.

And most important: we have to keep backwards compatibility. Pictures have to work fine, navigation keys, etc.
Linares, I agree with you! 100%!
But, if change the fivewin get class? Exists any way to do it? I think this might be a alternative way to do, but not the correct :(
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
Post Reply