artsoft Active Member Licensed User Longtime User Mar 19, 2021 #1 Short question: I am using this zoomable image view control: https://www.b4x.com/android/forum/t...platform-zoomable-pannable-image-view.119987/ Why this control has no size and location members? I miss .left, .top, .width and .height. As well as the .visible command ... How I can control this widget? In the example project, the control covers the whole activity GUI ... Thats easy. But how can I manipulate the location of the control and its visiblity? Thanks and best regards ARTsoft
Short question: I am using this zoomable image view control: https://www.b4x.com/android/forum/t...platform-zoomable-pannable-image-view.119987/ Why this control has no size and location members? I miss .left, .top, .width and .height. As well as the .visible command ... How I can control this widget? In the example project, the control covers the whole activity GUI ... Thats easy. But how can I manipulate the location of the control and its visiblity? Thanks and best regards ARTsoft
artsoft Active Member Licensed User Longtime User Mar 19, 2021 #2 Ok I have it ................ This was easy. Custom controls have base view which can be manipulated as a normal view .... via MBASE. So it is easy to set the location (left, top) with such a command: B4X: Copy controlName.mbase.left = 100dip controlName.mbase.top = 150dip Regards ARTsoft Upvote 0
Ok I have it ................ This was easy. Custom controls have base view which can be manipulated as a normal view .... via MBASE. So it is easy to set the location (left, top) with such a command: B4X: Copy controlName.mbase.left = 100dip controlName.mbase.top = 150dip Regards ARTsoft