DateTime combo

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jared

    #1

    DateTime combo

    Hi,

    I want to hide the text of a date time combobox when no record is loaded.

    The best I can do so far is to show only a single format character "_" by
    using custome format string.

    Is there an more effective way to do this?


  • Cor Ligthert [MVP]

    #2
    Re: DateTime combo

    Jared,

    I prefer make it invisible

    Just my thought,

    Cor


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: DateTime combo

      "Jared" <jared@paradigm it9.net.au> schrieb:[color=blue]
      > I want to hide the text of a date time combobox when no record is loaded.
      >
      > The best I can do so far is to show only a single format character "_" by
      > using custome format string.
      >
      > Is there an more effective way to do this?[/color]

      I don't think there is a way to do that because the control doesn't directly
      support null values. What you can do is assigning a space as format string,
      which will cause the control to appear "empty".

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      Working...