Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: IWGRID Not Line break IW14



Permlink Replies: 0
Nelson Allein J...

Posts: 10
Registered: 10/8/05
IWGRID Not Line break IW14
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 6, 2014 9:58 AM
TRANSLATE GOOGLE: PT/BR

HAVE A PROBLEM IN THE MIGRATION TO IW10 IW14 where there is no line break within IWGRID in vers√£o14 which occurred in version 10.

have a higher content than the tamaxo set for the column and the column iwgrid stretches to fit the size of the value and not the pre-set size for the column.

how do I fix?
STRETCH CODE:
// NOME DA PESSOA
with IWGridContas.Cell[I,5] do begin
BGColor := vColorRow;
Width := '350';
Height := '32';
Alignment := taLeftJustify;
Control := TIWLabel.Create(Self);
with TIWLabel(Control) do begin
AutoSize := False;
Tag := sqlListaParcelas.FieldByName('ID').AsInteger;
Font.FontName := 'Arial';
Font.Color := clWebBlack;
Font.Size := 9;
Font.Style := [];
Width := 350;
Height := 32;
Caption := sqlListaParcelas.FieldByName('NOME').AsString;
end;
end;
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02