A amiria703 Member Nov 6, 2020 #1 I wanted to have resizable widget, So I searched the forum for that and i found this: link However, when I compile the app it show me this error: B4A Version: 10.2 Java Version: 8 Parsing code. (0.09s) Building folders structure. (0.45s) Running custom action. (1.02s) Compiling code. Error Error compiling program. Error description: Too many parameters. Error occurred on line: 111 VP.Initialize(PC, "VP") Word: VP Click to expand...
I wanted to have resizable widget, So I searched the forum for that and i found this: link However, when I compile the app it show me this error: B4A Version: 10.2 Java Version: 8 Parsing code. (0.09s) Building folders structure. (0.45s) Running custom action. (1.02s) Compiling code. Error Error compiling program. Error description: Too many parameters. Error occurred on line: 111 VP.Initialize(PC, "VP") Word: VP Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Nov 8, 2020 #2 How is VP declared? Upvote 0
A amiria703 Member Nov 8, 2020 #3 B4X: Dim VP As AHViewPager However VP.initialize just can give one parameter but in this he gave it two?!: B4X: VP.Initialize(PC, "VP") Upvote 0
B4X: Dim VP As AHViewPager However VP.initialize just can give one parameter but in this he gave it two?!: B4X: VP.Initialize(PC, "VP")
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2020 #4 AHViewPager is not related to the widget. It should probably be Initialize2. Upvote 0