Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Edit Field info

    SDK Help
    0
    6
    428
    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 10/10/2004 at 15:07, xxxxxxxx wrote:

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

      ---------
      On a previous post here, I was complaining about the impossibility of getting or setting the location of the cursor or the selected text. If I wan't to be able to set or get it, I must code my own implementation of a edit field, right? The problem is that I can't even set text colors (to simulate selections), in COFFEE.
      Would it be possible to code such a thing, in COFFEE? Is it a utopic task?
      Thank you in advance for any response.

      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 11/10/2004 at 03:59, xxxxxxxx wrote:

        I guess you are creating something from the GeUserArea class. In that case, you can (I think) choose the color with

        GeUserArea::DrawSetPen
        

        . But actually, I think that it is an endless task to code an editbox implementation in COFFEE. What do you want to code?

        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 12/10/2004 at 04:26, xxxxxxxx wrote:

          I need an edit field for entering code (a custom scripting language). So, I need a mini-text editor. I want to be able to search and replace it there and also know at what line and column my cursor is.

          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 12/10/2004 at 07:07, xxxxxxxx wrote:

            I wouldn't recommend coding a text editor, neither in C.O.F.F.E.E. nor in C++. The easiest way to get what you want would probably be to use C++ to load a platform dependent interface. (Note that "easiest" doesn't imply "easy".)

            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 12/10/2004 at 11:11, xxxxxxxx wrote:

              Actually, I would only need to have a way to get and set the selection inside a field. Its a shame that something as simple as that wasn't implemented either in COFFEE or C++ 😞
              Is there any way to run an external application from COFFEE?

              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 12/10/2004 at 15:09, xxxxxxxx wrote:

                I see that I can use

                [bool] GeExeuteProgram([Filename] program, [Filename] file);
                

                I will give it a try.

                Rui Batista

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