cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Create top-right delete image button

SOLVED
Highlighted
Regular Member

Create top-right delete image button

Hi all,

Like the subject, I would like to create a top-right delete image button for value display widget (like the image below)

image.png

Is there any way to perform it?

Any help is appreciated.

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Create top-right delete image button

Which part is not clear?

1. Overlap the Button widget with the ValueDisplay widget, put it in top-right corner.

   Capture.PNG

2. Change the Button Style with a X image  (I don't have that at hand, use another one)

1.PNG  In mashup it looks likeCapture.PNG

3. Figure out the "Close/ delete image" logic in a service and trigger it by this Button.  (Don't know how you want to delete image in ValueDisplay, so you need to do the customization yourself)

View solution in original post

3 REPLIES 3
Highlighted

Re: Create top-right delete image button

Yes you can, the Button widget can overlap with the valueDisplay widget, and occupy the top-right part of the image.   

And then, you need to change the Button Style with a X image, and figure out the "Close/ delete image" logic in a service and trigger it by this Button.

Highlighted

Re: Create top-right delete image button

Thank @zyuan1 , but could you explain more details for me? (An example maybe)

Highlighted

Re: Create top-right delete image button

Which part is not clear?

1. Overlap the Button widget with the ValueDisplay widget, put it in top-right corner.

   Capture.PNG

2. Change the Button Style with a X image  (I don't have that at hand, use another one)

1.PNG  In mashup it looks likeCapture.PNG

3. Figure out the "Close/ delete image" logic in a service and trigger it by this Button.  (Don't know how you want to delete image in ValueDisplay, so you need to do the customization yourself)

View solution in original post

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!