Below the button, add an Image gallery (Insert tab > Gallery > vertical image only) and set the Itemsproperty of the gallery to UpdatedPicture. The previously uploaded picture will be removed first using Clearfunction. uploaded picture will be locally stored in the App under Collections(Content tab > Collections) and this is achieved using collectfunction. Below that, add a button and set the Textproperty to Updateand set the OnSelectproperty to Clear(UploadedPicture) Collect(UploadedPicture, AddMediaButton1.Media). In a blank screen add an Add Picturecontrol (Note: Make sure the name of inner text control is AddMediaButton1). The following example shows how an Add Picturecontrol can be used. (Note: In the following picture, I have resized the inner text control to distinguish the 2 controls easily) With the Add Picturecontrol, end users will be able to update an Image control and update the data source in turn.Īdd Picture control has 2 parts, outer control (Click once) and inner text control (Click twice). ![]() When we use an Image control alone, there is no option for the end user to update an image on the mobile device.
0 Comments
Leave a Reply. |