CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Format

  1. #1
    Join Date
    Oct 1999
    Location
    US
    Posts
    34

    Format

    I need a number appeared formated in a textbox or
    combobox dropdown.
    Example 0 looks like 10020000
    1 looks like 10020001
    Thank you!
    Alex!


  2. #2
    Join Date
    Jan 2000
    Location
    CA
    Posts
    52

    Re: Format

    A direct way to do this would be to add the value 10020000 to the number that you are desiring to have displayed. Then show the result.


  3. #3
    Join Date
    Oct 1999
    Location
    US
    Posts
    34

    Re: Format

    Yes, but these controls have DataFormat properties.
    I was trying to set it using custom format and programmatically and it seems like have no affect.
    It is a pain to keep track of 5 different formats
    for the same control easier just to change a property.
    Thank you!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured