Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - QUESTION: PropertyItemDate format values
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

QUESTION: PropertyItemDate format values

 Post Reply Post Reply
Author
Message
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Topic: QUESTION: PropertyItemDate format values
    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....
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
petery View Drop Down
Newbie
Newbie


Joined: 03 December 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote petery Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.