TILK's Recent Forum Activity

  • Thank you for your answer but i don't find a solution.

    Look my capx example : https://mon-partage.fr/f/aoUvHiVH/

  • Maybe it's my question was not clear but it's possible to reverse the process ?

  • Hi everybody !

    Construct 2 is very powerful and useful tool !!!

    But I do not know if it is possible to detect the direction in which our finger goes when you touch a sprite.

    [SPRITE] = (finger goes to LEFT ---> RIGHT or RIGHT ---> LEFT)

    Thank you for your help !

  • Ok thanks i will try this

  • Hi everybody !

    I have a scroll menu on my menu layer and I was wondering if there was a method to save the position of this layer when moving from one layout to another because my layer menu always returns to its initial position when I go to a layout to another.

    Thank you for your help !

  • Hey I come back with one question about this manipulation : someone has an idea to avoid format each time you click on the button to format?

  • you append "character" (word)...........-append just character (variable).... remove "quotes "..

    Thank you !

  • Hi, I tried to insert your code in my project, it works but there is a bug because normally it's supposed to be a text in French :

    I call my function when i click on the button and wait one second :

    My function :

    My interface :

    It's very strange because your code is exactly the same except that I use a array (because text is link with id of patient in array (i do an app for an hospital))

  • if you type:

    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[/code:9xom6vgv] 
    then no...(and you deserved to be all in one line..)
    
    function works exactly what is written..on export...find first " "(empty space) after 30 character and add newline..
    function don' break lines in original text
    

    OMG! Sorry i understand my error. Thank you so much for your code it's work! I will try to implant this evening in my application. Do you know if can I call the same function for different textbox?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • just a thought... testPDF.capx

    Thank you very much for trying to help me. But your interesting solution does not work for me. In fact when I write the text in the empty text box with automatic breakline it does not insert "newline" when your function is called.

    is this still happening when you set the TextBox's type to 'textarea'?

    otherwise it seems like you have to format your TextBox's text before you write to the PDF.

    Thanks for your help. Yes i 'm using textarea type but how do you want format TextBox text? I cannot insert HTML tags like <p>...</p> or set a margin. The first solution of added "newline" element after x character is a good idea but it doesn't seem working.

  • Hi,

    I have a very big problem that drives me crazy because I have advanced knowledge in HTML5 but I can not solve this problem in construct 2. I wish that when the text jumps a line, this is considered a new line and not an extension of the line.

    Look my pictures to understand :

    If you can help me it would GREAT !

TILK's avatar

TILK

Member since 8 Mar, 2015

None one is following TILK yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies