CLeRIK's Forum Posts

  • 4 posts
  • It works if I dont do it in Python code. Creating a sub-event to OnButton Clicked, which the python code above, is what makes the program crash.

    Creating an action ( Text: Set text to ListBox.LineText(ListBox.SelectedLine) ) works just fine.

  • I uploaded it temporarily to my former band's FTP. Anyway, here it is:

    http://www.snortingmaradonas.se/erik/miditest.cap

    Sometimes I manage to press the button twice (changing the selected text in-between) before the application crashes.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there any way to upload the .cap directly to this forum? Sorry, I am new and haven't read all the forum information yet

  • Hi!

    Just started to play around a bit with Construct today. One of the biggest reasons for checking it out is the Python integration, seems cool! Anyway, I get this crash when I try to get information from the selected line of a ListBox. This only happens the second time I use it, the first time it works.

    i have three objects: A ListBox, a Button and a Text. Here is the code:

    ButtonClicked event
    ------------------------
    
    Text.Text = ListBox.LineText(ListBox.SelectedLine)[/code:3hjllghj]
    
    Any idea why it crashes the second time I click the button?
  • 4 posts