Topic: how to setting Alignmen of tablegrid header
please tell me how to setting Alignmen of tablegrid header.thanks
My Visual Database → General → how to setting Alignmen of tablegrid header
please tell me how to setting Alignmen of tablegrid header.thanks
Have a look at the screenshot.
Derek.
thank you for your help . i want to do it in script ,how to do this ?
If you use the Forum 'search' function, you will often find that similar questions have already been answered.
Try it like this:
procedure Form1_TableGrid1_OnChange (Sender: string);
begin
Form1.TableGrid1.Columns[0].Header.Alignment := taLeftJustify;
Form1.TableGrid1.Columns[1].Header.Alignment := taCenter;
Form1.TableGrid1.Columns[2].Header.Alignment := taRightJustify;
Form1.TableGrid1.Columns[0].Alignment := taLeftJustify;
Form1.TableGrid1.Columns[1].Alignment := taCenter;
Form1.TableGrid1.Columns[2].Alignment := taRightJustify;
Form1.TableGrid1.Columns[0].Footer.Alignment := taLeftJustify;
Form1.TableGrid1.Columns[1].Footer.Alignment := taCenter;
Form1.TableGrid1.Columns[2].Footer.Alignment := taRightJustify;
end;
Derek.
thanks . i will try to us the Forum 'search' function.if there is no answer , then i post the topic.
My Visual Database → General → how to setting Alignmen of tablegrid header
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi