Android Question Crossplatform define an eventname for b4xview added with addview

kohlenbach

Member
Licensed User
Hi,

I need to add a button to a panel . This I must do with addview, because I must add alot of of buttons and I wont do this with the designer.

b.initialze is in B4i and b4a different. Clearly I can work with #if b4i #else ...
But I thought lets take a b4xview insteed of a button.
But there is no b.Initialize

How do I define the eventname for the b4xview ?


rgs
J.
 

DonManfred

Expert
Licensed User
Longtime User
I must add alot of of buttons and I wont do this with the designer.
This is probably totally wrong

How do I define the eventname for the b4xview ?
Use Button to be able to use initialize and then cast it to a b4xview
 
Upvote 0

kohlenbach

Member
Licensed User
This is probably totally wrong


Use Button to be able to use initialize and then cast it to a b4xview
Yes I am casting now, my app is running on all 3 platforms with #if ...#end if . I thought b4xview changes this a little.
 
Upvote 0
Top