![]() |
Is this a BUG or a MASK problem? |
Post Reply ![]() |
Author | |
vbuser ![]() Newbie ![]() Joined: 22 January 2004 Status: Offline Points: 39 |
![]() ![]() ![]() ![]() ![]() Posted: 23 June 2004 at 2:11am |
PROPERTY GRID: I've noticed that if I load values from a database into the grid and the value isn't formated according to the MASK the grid will stay empty - Will not re-format the data - This is a big drawback, because if you have added many records to a database, say a phone number, and you later change the mask, whenever you display the "old" records the grid will simply not show anything... Am I missing something? Item.SetMask sMask, sLiteral |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
You can now use the Item.MaskedText property to get\set the values
without the mask. So you could assign your phone bumber from your
database as 1112223333 and it will be formated with your mask (111)
222-3333.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |