Print Page | Close Window

QUESTION: PropertyItemDate format values

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=12679
Printed Date: 27 November 2024 at 11:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: QUESTION: PropertyItemDate format values
Posted By: Aaron
Subject: QUESTION: PropertyItemDate format values
Date Posted: 14 November 2008 at 12:54am
Hi,
 
When adding PropertyItemDate item the format of date will be, for example,  14/11/2008
 
I noticed when assigning a value the format CAN be 14-11-2008
 
  1. How can I change this into 14-11-2008 ?
  2. Shouldn't this format be checked in "Regional and Language Options" ? I checked and it is set to 14-11-2008 but it still shows 14/11/2008

Thank you



-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



Replies:
Posted By: Oleg
Date Posted: 14 November 2008 at 2:22am
Hi,
 
Clear Format property and it will use regional setting:
 
    DateItem.Format = ""
    DateItem.SetMask "", ""
    DateItem.Value = "01/31/2005"


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Aaron
Date Posted: 14 November 2008 at 4:08am
Hi Oleg,
 
Thanks for reply. It is working but when user wants to change the date he/she have to enter the "-" character. Is there something possible with SetMask ? I can't get this to work :(
 
Thanks in advance
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: petery
Date Posted: 10 December 2008 at 2:51pm
Does version 9.81 support regional formatting natively?


-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2
Language: C# for .NET 2.0



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