Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

form erasing previous canvas

Hi all

I am setting up an experiment in python, where users click on two timelines (according to instructions) on the top side of the screen. On completion of this part, I would like a form to appear on the bottom side of the screen. Calling, though, the form._exec() function causes the canvas to dissapear, or perhaps a new canvas is drawn. Any workaround?

Thank you in advance,

Fotis

Comments

  • Hi Fotis,

    Can you share your experiment? Without seeing an implementation it is hard to judge what is going awry here.

    Thanks,

    Eduard

    Buy Me A Coffee

  • edited July 2022

    Here you are:

    https://drive.google.com/file/d/1GpeYvxKnrOvTSFPQd67gmdOKumT8pVBG/view?usp=sharing

    After placing the four points on the two lines, and the sliders are drawn, a fifth click is required (anywhere on the screen) to proceed.

    You see that the form (in this case a simple button) erases the previous canvas.

    Thank you.

  • Hi again.

    Perhaps the previous script was too complex.

    I made a simpler example.

    At each trial, two lines are drawn on the top side of the screen. After a mouse click, a button appears on the bottom side of the screen. I would like the button not to erase the two lines.

    Is this functionality possible?

    Thank you,

    Fotis


  • Hi Fotis,

    So, what you want is the "Click to continue" message remain on the screen, after the click, and the "Press next" message appear in the bottom. Is that correct?

    if so, that your approach doesn't work because every canvas/sketchpad/form is always replacing the current display. Therefore, to have an experience of information added to a screen, you always have to copy the currently presented information to the next screen, add the new information and only then present it.

    Does that make sense?

    Eduard

    (ps. sorry for the late reply)

    Buy Me A Coffee

  • Hi Edward,

    A reply is always appreciated ;-)

    Yes, your response makes sense, I am using a different approach for the task now, thank you.


    Best,

    Fotis

Sign In or Register to comment.