Announcement

Collapse
No announcement yet.

Overlapped buttons

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

  • Overlapped buttons

    Hi,
    I have 2 buttons in the same position but on different Forms. In form1 I have a red 'Button1', while in Form2 I have a 'winbutton1'.
    If I press Button1, 4duino switch to Page2.
    Here I can see winbutton1, but if I press it I get the image of Button1 in a press state. If I press winbutton1 outside the button1 area, it turns back to page 1.
    It seems that button1 is still active even if I'm displaying winbutton1.
    How can I kill the button1 touch responsiveness?

  • #2
    Sorry ... It's always better to .... RTFM !!!!

    Display.img_SetAttributes(hndl, i4Dbutton1, I_TOUCH_DISABLE);
    Display.img_ClearAttributes(hndl, iWinbutton1, I_TOUCH_DISABLE);

    and vice versa.

    Comment

    Working...
    X