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

Thread: A simple Cedit question

  1. #1
    Join Date
    Nov 2007
    Posts
    56

    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
    Wallisellen (ZH), Switzerland
    Posts
    17,380

    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

This is a CodeGuru survey question.


Featured


HTML5 Development Center