default toolbar Bold

  • i have to localize the default toolbars hints Bold button to english and german.
    i tried to use the localization thing. but honestly i dint get it..... :-( .

    no i tried to do it with wptoolbuttons with the action WPABold1 and wanted to solve the checked/unchecked problem like this

    if WPRichText1.CurrentCharAttr.HasAStyle(afsBold) then begin
    WPABold1.Checked := True;
    but it stays unchecked.....

    what do i wrong?

    please anwer im lost :?:

    • Offizieller Beitrag

    Hi,

    the WPABold1 should update its style automatically. If it does not its parent ActionList is probably not connected to the WPRichText property WPActionList.

    You can set the Caption and Hint of any of the standard actions directly if you als set the property UseOwnCaption to true.

    Julian