Adding an rtf file to an EXE??...Please help ASAP.

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Fast question.

    I am using the rich edit object to load in an rtf file.

    When I build the exe (PC), the program has added everything else (like video etc) but when I go to the part that loads/shows the rtf file, its blank....no text is loaded.

    To load the rtf file I am using the Apppath$. The rtf is in a directory called Docs. Include external files is ticked.

    So then..... what am I doing wrong guys?

    And if im NOT doing anything wrong...then how do I get it to work! LOL.

    XD


  • Add your rtf file to the Binary Data tab in the Data Elements editor, that's all, no need to do anything else.

  • Thanks to both of you ..... I will use that Binary Data Tab in the Elements editor from now on.

    I did find a way around the problem...tho its not as good as your way.

    I turned on the "Keep File Internal" box and added the name of the file to the "Name of RTF File" box under it...so I did not load it in via the editor apppath$. It did work then...but I will use your way from now on. :)

    On a side note......

    I WAS using the Formatted Text Object as it has a transparent background...But the scroll bar does not work like the Rich Text Object. It does not scroll in realtime and you cant use the middle mouse to scroll...etc.

    I am just wondering.........Is there a way to make the Rich Text Object have a transparent background? Or is there any update for the Formatted Text Object to make its scroll bar work right?

    Thanks for all your help guys. :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!