It seems scrollview in b4i and b4a are difference. So, can anybody give me an example how to work with b4i scrollview in order to load panels inside of the scrollview?
It seems scrollview in b4i and b4a are difference. So, can anybody give me an example how to work with b4i scrollview in order to load panels inside of the scrollview?
They are not different. Both use scroll.panel.addview to add views. Only difference i can remember is for b4i we use scroll.contentheight and contentwidth instead of scroll.panel.width and scroll.panel.height.
I used similar approach like b4a : 1 - put a panel on a layout 2- set scrollview on it and try to add panels on at run-time
Bu the now the problem is the transparency of scroll-view or panel
Dim Pnl_Qeustion As Panel
Pnl_Qeustion.Initialize("")
cv1.Add(Pnl_Qeustion,150dip,"")
Pnl_Qeustion.LoadLayout("Template_Panel_Question_History_English")
The result is still with a background color although I changed the Template_Panel_Question_History_English to transparent color , .. .. In b4a it works!, But in b4i it does not work!
Thanks you solution seems works. I have a little bit problem with transparency of the first view ( only this one has a black background!). If I could not I will send it to you.
Yeah, I have attached the module. I must now I see a black background only for the first view on my simulator iPhone SE. But, for the rest of view the background is transparent.
Try to change the scrollview.panel color also to transparent. But as erel already mentioned the best way is to upload a small example like this we can know what u r trying to do and if u r doing something wrong.