PC Review


Reply
Thread Tools Rate Thread

Entering a timespan value of 24:00 in property pane

 
 
Jos
Guest
Posts: n/a
 
      24th Nov 2004
I have a custom control with a property of type TimeSpan.

When I enter a value of 24:00:00 in the property pane I get an "Improper
property value" error.

How do I enter this value?
And how do I enter a value greater than 24 hours?

Thanks,

Jos


 
Reply With Quote
 
 
 
 
Jos Branders
Guest
Posts: n/a
 
      27th Nov 2004
Jos wrote:
> I have a custom control with a property of type TimeSpan.
>
> When I enter a value of 24:00:00 in the property pane I get an
> "Improper property value" error.
>
> How do I enter this value?
> And how do I enter a value greater than 24 hours?
>
> Thanks,
>
> Jos


OK, I found it, it's a dot between the days and the hours:

1.00:00:00 is 24 hours
1.12:00:00 is 36 hours
3.00:00:00 is 3 days
etc.

--

Jos


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Entering an enumeration type as a property Nathan Sokalski Microsoft ASP .NET 6 8th Nov 2009 12:56 AM
Entering an enumeration type as a property Nathan Sokalski Microsoft VB .NET 6 8th Nov 2009 12:56 AM
Moving the Property Sheet and Navigation Pane =?Utf-8?B?RG9uIEdyYXk=?= Microsoft Access 0 30th Jan 2007 06:24 PM
DataColumn.Expression Property and TimeSpan type (.Net 2.0) thomas Microsoft ADO .NET 2 21st Sep 2006 02:59 AM
Property pane freeze on Visual Studio .NET IDE sam votski Microsoft Dot NET Framework 0 7th Dec 2004 02:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:57 PM.