>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement