XbNnX_507 Active Member Licensed User Longtime User Apr 7, 2019 #1 Hi, i have just started to learn ABmaterial... What is the difference between Page.CellR(1, 1).AddComponent and Page.Cell(1,1).AddComponent?
Hi, i have just started to learn ABmaterial... What is the difference between Page.CellR(1, 1).AddComponent and Page.Cell(1,1).AddComponent?
Harris Expert Licensed User Longtime User Apr 7, 2019 #2 Good question - yet I think I addressed this in the tut. However, CellR means NEXT row relative to current row... ie. CellR(0,1) means put stuff in current row (col 1) CellR(1,1) means put stuff in the Next Row (col 1) whereas Cell(1,1) means put stuff in row 1 There are so many options when dealing with the grid https://www.b4x.com/android/forum/threads/abmaterial-for-dummies-beginner-lessons.88346/#post-559484 Last edited: Apr 7, 2019 Upvote 0
Good question - yet I think I addressed this in the tut. However, CellR means NEXT row relative to current row... ie. CellR(0,1) means put stuff in current row (col 1) CellR(1,1) means put stuff in the Next Row (col 1) whereas Cell(1,1) means put stuff in row 1 There are so many options when dealing with the grid https://www.b4x.com/android/forum/threads/abmaterial-for-dummies-beginner-lessons.88346/#post-559484
alwaysbusy Expert Licensed User Longtime User Apr 15, 2019 #3 the R in cellR stands for Relative. So Cell(1,1) is absolute Row 1, cell 1 cellR(1,1) is 1 down from the current row, cell 1 Upvote 0
the R in cellR stands for Relative. So Cell(1,1) is absolute Row 1, cell 1 cellR(1,1) is 1 down from the current row, cell 1