Android Question Small problem with DDDGrid example

Hilton

Active Member
Licensed User
Longtime User
Hi Folks,

I was just educating myself with all things Designer Script Extension and I noticed an error in the example that took me a while to spot, if anyone else gets a bit puzzled this may help.

I changed the line in the Visual Designer from DDDGrid.CreateGrid(Pane1, 4, 3, 5dip) to DDDGrid.CreateGrid(Pane1, 4, 8, 5dip) expecting to get 8 rows, instead I got 3 rows. After some hunting around I realised that in the B4XMainPage the number of rows etc was hard coded and did not use the info from the DDDGrid class. I changed it and it works fine.

I apologise in advance if this was too trivial to mention, anyway it's done now.

Regards Hilton.
 
Top