- Jun 6, 2020
- 11,517
- 4,383
I am stuck on this "project" I took the below project and I am trying to convert it to a B4X project.
Wonder uses B4J and creates the canvas as a Node. (Everything Works Great)
I followed Erel's example and created a Class Module, "cust_grd.bas". The layout file "GridPanel" contains one view of a Pane, "pnlGrid".
The issue seems to be in Wonder's example he draws the Grid Cells and uses the code below which is commented with my substitution for B4X code.
B4X:
I have this in Class_Globals
Dim R As B4XRect
Also, I am not sure what this line does in the InitializeGrid Sub ?
B4X:
برای دیدن لینک ها باید ثبت نام کنید
Wonder uses B4J and creates the canvas as a Node. (Everything Works Great)
I followed Erel's example and created a Class Module, "cust_grd.bas". The layout file "GridPanel" contains one view of a Pane, "pnlGrid".
The issue seems to be in Wonder's example he draws the Grid Cells and uses the code below which is commented with my substitution for B4X code.
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
Dim R As B4XRect
Also, I am not sure what this line does in the InitializeGrid Sub ?
B4X:
Dim matrix(sizeX, sizeY) As Int ...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید