Forum > Pas2JS

twstringgrid properties


hello friends!
an observation: TStringGrid class does not have the "published" Handle Class and Handle Id properties, important to improve the HTML presentation (CSS). I am, at the moment, inserting the properties when creating the form. suggestions?

If the desired fields exist in a superclass, then the expedient approach is to subclass TStringGrid and publish those properties in your subclass.

That is indeed the recommended way if you really want them published.
If the properties are public you can access them anyway from code.
If the properties are protected you can also write a type helper to make them public.(not published)


[0] Message Index

Go to full version