F fdx12345 Active Member Licensed User Longtime User Dec 20, 2012 #1 If I use the Abstract designer to place a scrollview and Dim it in the main code, do I still need to do a scrollviewxx.initialize command in the Activity_Create? Bill
If I use the Abstract designer to place a scrollview and Dim it in the main code, do I still need to do a scrollviewxx.initialize command in the Activity_Create? Bill
NJDude Expert Licensed User Longtime User Dec 20, 2012 #2 Views created with the designer are initialized automatically when the layout is loaded. Upvote 0
F fdx12345 Active Member Licensed User Longtime User Dec 21, 2012 #3 OK Thank you. Also do you know how to attach objects such as a button, label, ect to a scrollview in the designer? All I see avaible are Panels under the Parent tab. Bill Upvote 0
OK Thank you. Also do you know how to attach objects such as a button, label, ect to a scrollview in the designer? All I see avaible are Panels under the Parent tab. Bill
NJDude Expert Licensed User Longtime User Dec 21, 2012 #4 Adding views to the ScrollView must be done by code, there are plenty of samples in the forums if you need some. Upvote 0
Adding views to the ScrollView must be done by code, there are plenty of samples in the forums if you need some.
F fdx12345 Active Member Licensed User Longtime User Dec 21, 2012 #5 code only I can do the code, but was hoping it could be done in the designer. Thank you for your help. Upvote 0
code only I can do the code, but was hoping it could be done in the designer. Thank you for your help.
Erel B4X founder Staff member Licensed User Longtime User Dec 21, 2012 #6 Another option is to create a layout file with the ScrollView content and then load it with: Code: Copy ScrollView1.Panel.LoadLayout(...) Upvote 0
Another option is to create a layout file with the ScrollView content and then load it with: Code: Copy ScrollView1.Panel.LoadLayout(...)
F fdx12345 Active Member Licensed User Longtime User Dec 21, 2012 #7 Loading layout Unfortuantely, one cannot attach much of anything to a scrollView in the Designer. Upvote 0