FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Cursor into get with Mask!?
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
Cursor into get with Mask!?
Posted: Mon May 05, 2008 12:18 PM

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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Cursor into get with Mask!?
Posted: Mon May 05, 2008 03:45 PM

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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
Cursor into get with Mask!?
Posted: Mon May 05, 2008 05:07 PM

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
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Cursor into get with Mask!?
Posted: Mon May 05, 2008 10:24 PM

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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Cursor into get with Mask!?
Posted: Tue May 06, 2008 05:16 AM

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
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
Cursor into get with Mask!?
Posted: Tue May 06, 2008 11:14 AM
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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Cursor into get with Mask!?
Posted: Tue May 06, 2008 11:53 AM

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
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
Cursor into get with Mask!?
Posted: Tue May 06, 2008 12:45 PM
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

Continue the discussion