RibbonFramework icon indicating copy to clipboard operation
RibbonFramework copied to clipboard

If "InternalCmd2_LabelTitle_RESID" occurs in the * .- file, incorrect IDs are used in the Pas file

Open ttwwoo2345 opened this issue 3 years ago • 0 comments

In the attached file AAASelectRibbon.h there are two entries at the end:

#define InternalCmd2_LabelTitle_RESID 60132 #define InternalCmd4_LabelTitle_RESID 60133

As a result, the resource ID of the previous "valid" element IdStrGrpInstallX is overwritten in the MarkupGenerator.pas file ("ExtractMarkupElements" method).

A correction would be that the name of the current element is compared with the line to be processed and the line is only processed if they match.

end else begin if lLineArray [1] .Contains (lElement.Name) then begin if lLineArray [1] .Contains (cLabelTitle) then begin

UIRibbon.zip

ttwwoo2345 avatar Sep 09 '21 13:09 ttwwoo2345