[Lazarus] Changing a TLabel.Caption
Timothy Groves
the.tail.kinker at gmail.com
Sat Nov 26 22:57:50 CET 2011
I tried changing a TLabel.Caption property, and got a SIGSEGV. Here's
the offending code:
if (cmbProfileMeasures.Text = 'Inches') then
begin
labPDFWidth.Caption := 'in X';
labPDFHeight.Caption := 'in';
end
else
if (cmbProfileMeasures.Text = 'Points') then
begin
labPDFWidth.Caption := 'pt X';
labPDFHeight.Caption := 'pt X';
end
else
begin
labPDFWidth.Caption := 'cm X';
labPDFHeight.Caption := 'cm X';
end;
I am using Lazarus 0.9.30-2build1 on LUbuntu 11.10.
More information about the Lazarus
mailing list