Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Detecting completed edit of an EditText field?

    Scheduled Pinned Locked Moved PYTHON Development
    1 Posts 0 Posters 120 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      On 08/05/2014 at 15:58, xxxxxxxx wrote:

      Does anyone have any suggestions for detecting when a user is "done" editing an EditText field? How do I know when a user has clicked away from my text edit field?

      I have a GeDialog that saves its data to a container whenever a change to an EditText field is detected with the Command() method. However, I need to call StartUndo() when a user first starts editing the text, and EndUndo() when the user is done editing the text (clicks out of the text-field). Otherwise I'll end up with an undo step for every character a user types.
      Thanks,

      Donovan

      1 Reply Last reply Reply Quote 0
      • First post
        Last post