hi Alberto
i have need to change the logic of colors. the color of the pushed button must inverted regarding your logic.
can you make an attribute to set it?
es:
AbbSuiM.Initialize ( Me,"pnlSuiniAM" ,Colors.red,Colors.red)
AbbSuiM.addButton( "S","Spento",Colors.White,16)
AbbSuiM.addButton("A","Acceso",Colors.White,16)
AbbSuiM.addButton("I","Timer",Colors.White,16)
AbbSuiM.SplitColor = Colors.Gray
AbbSuiM.SplitWidth = 1
AbbSuiM.Build( 280dip,40dip)
pnlSuiniAM.AddView( AbbSuiM.asView ,170dip,10dip,280dip,40dip)
AbbSuiM.SetPressedByTag("A")
if i have tree bottons the red one must by the selected button and the grayed the non selected botton.
tank you Paolo