BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Edit masks caret

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Jan 26, 2006 3:20 pm    Post subject: Edit masks caret Reply with quote



Hi.

I am trying to control caret position in jdbtable when editing starts.
Caret positions, when there are no edit masks are where they should be, for
String to the left , and for the number to the right.
But when I put edit mask for anything,date, string , number, editing always
starts from the right. And that is only good for numbers and nothing else.

So how to control caret position in edit masks. In the help there is
something that says I should write my own class and implement ItemEditMask
interface on it.

Also there is a class ItemEditmaskStr, which i was trying to extend with no
luck(I changed "move" method, but then parsing was wrong).
So, is it possible to just extend ItemEditmaskStr class and override just
what i need, or do I have to write my own class and implement everything
from ItemEditmask interface.
And yes, if I am searching for solution in wrong class...interface...place
someone please write WHAT "controls" that caret. I think that it is in Edit
mask , because without them everything is OK.

bye..
Back to top
Guest






PostPosted: Thu Jan 26, 2006 3:58 pm    Post subject: Re: Edit masks caret Reply with quote



And yes, the ^ sign for caret control position when editing starts doesn't
work...or is it just me...so with this mask("^#,###,###.##") editing will
ignore ^ and start from right...WHY...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.