On 15.10.2015 12:31, FreeMan wrote:
In r50059 toolbarconfig.pas
procedure TIDEToolBarOptionsBase.SaveButtonNames(XMLConfig:
TXMLConfig; SubPath: String);
..
XMLConfig.SetDeleteValue(SubPath + 'Button' + IntToStr(I+1) + '/Name',
ButtonNames[I], '');
has only this line, but loadbuttonnames has
ButtonName := XMLConfig.GetValue(SubPath + 'Button' + IntToStr(I) +
'/Name', '')
if ButtonName = '' then // Old format
ButtonName := XMLConfig.GetValue(SubPath + 'Buttons/Name' +
IntToStr(I) + '/Value', '');
this is from my environmentoptions.xml after add "build project" menu
item, but its Caption has added shortcut and when save in
environmentoptions.xml like this. You can see extra added "/" char,
tag end chars.
And I wanna ask question, if I'm not misunderstood, in new format,
captions are writing, if its yes its a problem.
Not captions but command/button names.
I am still interested what the actual problem is.
Ondrej
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus