Print Page | Close Window

Is this a BUG or a MASK problem?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=879
Printed Date: 10 May 2024 at 5:57pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is this a BUG or a MASK problem?
Posted By: vbuser
Subject: Is this a BUG or a MASK problem?
Date 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




Replies:
Posted By: SuperMario
Date Posted: 20 October 2004 at 8:25am
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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net