 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu Jan 26, 2006 3:20 pm Post subject: Edit masks caret |
|
|
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
|
Posted: Thu Jan 26, 2006 3:58 pm Post subject: Re: Edit masks caret |
|
|
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 |
|
 |
|
|
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
|
|