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

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    93

    A simple Cedit question

    Hi!

    when i asign a float number to a Cedit control, if i enter a sequence of numbers and comas, an points with no order and sense i expect that the applicattion informs me that the data is incorrect, like if you dont write anythimg in this cell. But tnat´s not the way. Can you tell me if there is an instruction for acivate this check in.

    Other question. How can i sincronize the behaviour of the edit cell in that way that when Windows interpret a ' coma' like the decimal sign, my edit do the same.
    The same for the `point`

    thanks a lot

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: A simple Cedit question

    You might want to look at the following essay:
    A Validating Edit Control
    Victor Nijegorodov

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