>Is it possible to create a (grid) class with all the properties set for a grid-column and a grid-header?
>
>Michel
yow can create your class from the base class grid and ad stuff like this in the init.
This.SetAll('FontName',"MS Sans Serif", 'Column')
This.SetAll('FontBold',.f.,'Column')
This.SetAll('FontName', "MS Sans Serif", 'Header')
This.SetAll('FontSize', 8,'Column')
This.SetAll('FontSize', 8,'Header')
This.SetAll('Sparse', .f.,'Column')
This.SetAll('Movable', .f.,'Column')
This.SetAll('Resizable', .f.,'Column')
This.SetAll('Alignment', 2,'Header')
This.SetAll("DynamicForeColor", "RGB(0,0,0)" , "Column")
This.RowHeight = -1
This.HeaderHeight = -1
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only