Mask Problem - Item.SetMask |
Post Reply |
Author | |
vbuser
Newbie Joined: 22 January 2004 Status: Offline Points: 39 |
Post Options
Thanks(0)
Posted: 09 June 2004 at 12:39am |
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 |
|
vbuser
Newbie Joined: 22 January 2004 Status: Offline Points: 39 |
Post Options
Thanks(0)
|
any help on this?
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
This feature has been included in version 9.0:
Set Category = wndPropertyGrid.AddCategory("Masked") Set Item = Category.AddChildItem(PropertyItemString, "Phone", "Phone No: (800) 555-1212") Item.SetMask "Phone No: (000) 000-0000", "Phone No: (___) ___-____" 'Here you can now assign unformatted text and it will use the mask Item.MaskedText = 8004561232# |
|
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 |