J junaidahmed Well-Known Member Licensed User Longtime User Jul 23, 2023 #1 I have used Image control which has gravity properties like fill,center,top-left.Is there any properties like squeeze or isometric ??
I have used Image control which has gravity properties like fill,center,top-left.Is there any properties like squeeze or isometric ??
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2023 #2 Better to use B4XImageView. Cross platform and has more options. Upvote 0
J junaidahmed Well-Known Member Licensed User Longtime User Jul 23, 2023 #3 Thanks for reply... I have used below for normal image control.how can i use in B4xImageview and also how to use event in B4xImageview Code: 'Imageview1.SetBackgroundImage(Null) 'Imageview1..As(B4XView).SetColorAndBorder(xui.Color_RGB(223,222,222),1dip,xui.Color_White,0dip) Last edited: Jul 23, 2023 Upvote 0
Thanks for reply... I have used below for normal image control.how can i use in B4xImageview and also how to use event in B4xImageview Code: 'Imageview1.SetBackgroundImage(Null) 'Imageview1..As(B4XView).SetColorAndBorder(xui.Color_RGB(223,222,222),1dip,xui.Color_White,0dip)
J junaidahmed Well-Known Member Licensed User Longtime User Jul 24, 2023 #4 junaidahmed said: Thanks for reply... I have used below for normal image control.how can i use in B4xImageview and also how to use event in B4xImageview Code: 'Imageview1.SetBackgroundImage(Null) 'Imageview1..As(B4XView).SetColorAndBorder(xui.Color_RGB(223,222,222),1dip,xui.Color_White,0dip) Click to expand... Please help Upvote 0
junaidahmed said: Thanks for reply... I have used below for normal image control.how can i use in B4xImageview and also how to use event in B4xImageview Code: 'Imageview1.SetBackgroundImage(Null) 'Imageview1..As(B4XView).SetColorAndBorder(xui.Color_RGB(223,222,222),1dip,xui.Color_White,0dip) Click to expand... Please help
Erel B4X founder Staff member Licensed User Longtime User Jul 25, 2023 #5 B4XImageView.mBase is the panel that holds the custom view. You can add border to this panel. Upvote 0