Print Page | Close Window

SetMask in PropertyItemDouble

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=24342
Printed Date: 21 November 2024 at 7:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SetMask in PropertyItemDouble
Posted By: Visionwin
Subject: SetMask in PropertyItemDouble
Date Posted: 05 December 2022 at 8:47am
Hello! Smile
In a PropertyItemDouble control I need the mask to be with the thousands separator and with fewer decimal places than the number passed.
For example, if I pass the number 1000000.1234, I want the edition to be 1,000,000.12
I have tried it with SetMask('#.###.###,##','_.___.___,__') but it doesn't work. Any idea how I can do it?
Thank you! Big smile



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