Konu: FoxyClasses -- LocatorGrid and columns/headers
In FoxyClasses Help, it says, for MultiSelectGrid (same for LocatorGrid):
"If you want to format headers and column widths yourself then:
Drop the control on form.
Set columncount to count of fields to show (say SQL returns 5 fields but you want to show only 3).
Set column widths
Modify headers’ Caption and any other properties like Fontsize, FontBold, FontItalic, Alignment.
Set lKeepFormat to .T. "
I have scrutinized the LocatorGrid on a form, but the only thing I can find that reminds one of columns and headers are
- acolumnwidths[1.2]
- aheaderproperties[1.3]
What are the names of columns and headers? I want to set their values in code (the code is also creating the form and he grid), but I assume that it is no different that doing it in a grid on a form in FormDesigner!?
In Help, it also says
"It also auto-fits content if AutoFit property is.T. and lKeepFormat is .F. (default) [new in FoxyClasses 2.0]"
I thought AutoFit was a method, not a property?
Best regards,
Hans L