Checkbox einfärben

Mark Lindemann

Hallo Zusammen,

 

ist es möglich eine Checkbox (z.B. 'Relevant für Intrastat') genauso einzufärben, wie ein Text- oder Combo-Feld?

Dieser Source tut es nicht:

 


Item.GetFromUID(pVal.Form, "1470002260").BackgroundColor = System.Drawing.Color.Orange;

 

Danke für ein baldiges Feedback! ;)

 

Gruß

Mark Lindemann


Anders Olsson

Hi Mark,


 


No that's not possible. The CheckBox object is a wrapper around SAPbouiCOM.CheckBox which doesn't support coloring.


Exposing BackgroundColor in the Item class was perhaps not a good design decision since not all items support it.


Sorry for the confusion!


 


Regards,


Anders

Mark Lindemann

Hi Anders, thank you for your feedback!


 


Regards,


Mark


0

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post