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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Getting a selection

    SDK Help
    0
    11
    727
    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
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 21/08/2004 at 14:34, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.500 
      Platform:    Mac  ;  
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Lets say I have a MULTILINEEDIT field.
      How can I know the start and length of the selection (selected text)?
      Thank you very much in advance.

      Rui Batista

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 23/08/2004 at 04:52, xxxxxxxx wrote:

        Come on... anyone?
        This is, aparently, a very trivial think. I can't believe Maxon forgot to add this!!

        Rui Batista

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 23/08/2004 at 09:13, xxxxxxxx wrote:

          This isn't possible. (And if it was, it would probably be C++ only... 😉

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 23/08/2004 at 15:21, xxxxxxxx wrote:

            This is a VERY BIG ommition. It should be very easy to code that, to include it in COFFEE. That means I will have to create my very own MULTILINEEDIT, if possible at all 😞

            Rui Batista

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 07/11/2004 at 06:00, xxxxxxxx wrote:

              Hi,

              is there a way in C++ (maybe catching a message or anything) to determine the current cursor position in a MulitLineEdit element?

              Thanks!

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 09/11/2004 at 10:21, xxxxxxxx wrote:

                Anybody knows about it?

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 10/11/2004 at 02:37, xxxxxxxx wrote:

                  No, I don't think so.

                  1 Reply Last reply Reply Quote 0
                  • H
                    Helper
                    last edited by

                    THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                    On 10/11/2004 at 07:00, xxxxxxxx wrote:

                    you don´t think so, or "it´s not possible"?

                    1 Reply Last reply Reply Quote 0
                    • H
                      Helper
                      last edited by

                      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                      On 18/11/2004 at 07:14, xxxxxxxx wrote:

                      Just as I said, I didn't think it was possible... 😉
                      It seems a hack would be to catch the 'stat' message and parse the position from "Line 1, Pos. 2". You would have to watch out for other languages, so the best is probably to remove all non-digits.

                      1 Reply Last reply Reply Quote 0
                      • H
                        Helper
                        last edited by

                        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                        On 18/11/2004 at 07:21, xxxxxxxx wrote:

                        thank you Mikael!

                        1 Reply Last reply Reply Quote 0
                        • H
                          Helper
                          last edited by

                          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                          On 18/11/2004 at 09:10, xxxxxxxx wrote:

                          Anyway, that hack will only give us the insertion point location. What if I have some sequence of characters selected? And how to set it instead of just reading?
                          This is a major shortcoming on the edit fields 😞

                          Rui Batista

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