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

    A simple Cedit question


    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
    Hanover Germany

    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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.