Print Page | Close Window

TMSFNCGrid Issue with Web Core

Printed From: TMS Software
Category: WEB
Forum Name: WEB Core
Forum Discription:
Printed Date: 21 Feb 2020 at 1:03am

Topic: TMSFNCGrid Issue with Web Core
Posted By: Stohr Paul
Subject: TMSFNCGrid Issue with Web Core
Date Posted: 21 Nov 2019 at 12:39am
I have each of the columns set to gtaCenter for VertAlignment, yet it seems that it is being ignored on every fourth row. All the other rows are aligned center as they should but every fourth row gets aligned to the Top of the cell (gtaLeading).

Is this a known bug, or am I missing something?

Posted By: Pieter Scheldeman
Date Posted: 25 Nov 2019 at 12:16pm

We have investigated this here but couldn't reproduce this issue. Can you verify if the issue is solved by using the following code:

  TMSFNCGrid1.UseColumns := False;
  for I := 0 to TMSFNCGrid1.ColumnCount - 1 do
    for J := 0 to TMSFNCGrid1.RowCount - 1 do
      TMSFNCGrid1.VertAlignments[I, J] := gtaCenter;

Print Page | Close Window