2011/11/26 Timothy Groves <the.tail.kin...@gmail.com> > 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; >
The controls (and form) are not created for some reason. The code itself looks OK. Juha
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus