TTMSFNCRibbon error name component

OS: Debian 10 LXDE 64bit
Lazarus 2.0.12
FPC 3.2.2

When i try to put TTMSFNCRibbon on the form i get the following message:

Dalog message:

Error setting the name of a component
TMSFNCRibbon1:TTMSFNCRibbon to TMSFNCRibbon1

also a problem with:

Error setting the name of a component TMSFNCPageControl1:TTMSFNCPageControl to TMSFNCPageControl1

We'll investigate this here as soon as possible.

@Zeljko_Cvijanovic: ad hoc solution:

  • Ribbon: in LCLTMSFNCRibbon.pas comment out the InitSample call in the SetName procedure, line ~1184
  • PageControl: in LCLTMSFNCPageControl.pas comment out the InitSample call in the SetName procedure, line ~2930
  • rebuild Lazarus

thank you Dmitruk_Pawel

line number replaced

LCLTMSFNCRibbon.pas line 2930 // InitSample;
LCLTMSFNCPageControl.pas line 1184 // InitSample;

When i put this in the comment the problem was solved.
Hopefully the next version will fix that.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.

We have adapted this here in our sources.