Cursor into get with Mask!?

Cursor into get with Mask!?

Postby JC » 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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

Postby James Bott » Mon May 05, 2008 3: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby JC » Mon May 05, 2008 5: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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

Postby driessen » 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. 24.02 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc77
User avatar
driessen
 
Posts: 1399
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Antonio Linares » Tue May 06, 2008 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41406
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby JC » 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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

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

Postby JC » 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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 32 guests