Print Page | Close Window

TMSFNCGrid Issue with Web Core

Printed From: TMS Software
Category: WEB
Forum Name: WEB Core
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=14243
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?



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

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
  begin
    for J := 0 to TMSFNCGrid1.RowCount - 1 do
    begin
      TMSFNCGrid1.VertAlignments[I, J] := gtaCenter;
    end;
  end;



Print Page | Close Window