iOS Question Colour 'Initialize2' equivalent

Falcon

Member
Licensed User
Hi Experts,

Could someone please tell me what the equivalent is in B4i for the following B4A code:

B4X:
Dim ColourRed As Colors
ColourRed.Initialize2(Colors.Red,10dip,2dip,Colors.black)
Dim B as Button
B.Background = ColourRed

I am basically trying to make a border around a button programmatically, it is specifically the line with 'Initialize2' in, that I need the equivalent of for B4i.

Thank you for your time,

Regards,
Jacques.
 
Top