Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Filtering CR from an EditString
Re: Filtering CR from an EditString [message #49465 is a reply to message #45128] Thu, 15 February 2018 10:21 Go to previous message
omari is currently offline  omari
Messages: 265
Registered: March 2010
Experienced Member
any way, you can filter CR from the EditString (edit) :
edit.SetFilter(
      [](int k){ 
            if (k == '\r') return 0; 
            return k;
           }
    );


regards
omari.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: LocalProcess2 doesnt show child app window (it is running)
Next Topic: From std::string to String
Goto Forum:
  


Current Time: Sat Apr 27 08:40:41 CEST 2024

Total time taken to generate the page: 0.03450 seconds