Announcement

Collapse
No announcement yet.

Cleaning the touchscreen

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cleaning the touchscreen

    I am having trouble with disabling the touchscreen in some of my objects.
    I am using the Extended Graphics, and the 4Duino-24.

    The only way that I can think of disabling the touchscreen of my objects is:

    Code:
    Display.img_SetAttributes(hndl, iWinbutton1, I_TOUCH_DISABLE);
    The problem is: I have A LOT of objects, and disabling one by one will consume a lot of coding.
    There is another way? Some function that disables every object touchscreen in a few lines of code? I don't have much memory left.

    Thanks a lot.

  • #2
    Hi,

    you could use -1 instead of the index and this will set all to I_TOUCH_DISABLE

    eg

    Code:
     
     Display.img_SetAttributes(hndl, -1, I_TOUCH_DISABLE);
    I hope this helps

    Best regards

    Paul

    Comment


    • #3
      Thank you so much! That is exactly what I was looking for.

      Comment

      Working...
      X