- Jun 6, 2020
- 11,517
- 4,383
In normal button creation on BBCodeview based on Erel these steps are needed:
Step 1:
Dim btnb As Button
btnb.Initialize ("btnb")
btnb.Text = "View Answer"
btnb.SetLayoutAnimated(0, 0, 0, 100dip, 80dip)
Step 2: follow by this: BBCodeView1.Views.Put("btnb", btnb)
Step 3: place button view where you need it thus: [View=btnb vertical = 10 /]
In this context, i am trying to make 3-buttons beside view button in loop at the right hand-side as shown in demo picture below and use sender to get each button id, but [View=btnb vertical = 10 /] is not working. Please, what should i have done differently?
I want button to display at the right-hand-side of each View Result link instead
Here is the attached source code
B4X:
Step 1:
Dim btnb As Button
btnb.Initialize ("btnb")
btnb.Text = "View Answer"
btnb.SetLayoutAnimated(0, 0, 0, 100dip, 80dip)
Step 2: follow by this: BBCodeView1.Views.Put("btnb", btnb)
Step 3: place button view where you need it thus: [View=btnb vertical = 10 /]
In this context, i am trying to make 3-buttons beside view button in loop at the right hand-side as shown in demo picture below and use sender to get each button id, but [View=btnb vertical = 10 /] is not working. Please, what should i have done differently?
برای دیدن تصاویر باید ثبت نام کنید
I want button to display at the right-hand-side of each View Result link instead
Here is the attached source code
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید