RichTextToolStrip, where is localization?


Author
Message
Michel Levy
Michel Levy
Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
Hi,

I can't find any localization for the RichTextToolStrip... Unsure Is it missing ?

Replies
Michel Levy
Michel Levy
Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
  1. This is a static image, so in this case you will want to supply your own images by inheriting the RTS Toolstrip and the setting the images that you want in code.  You can do that for the translations as we speak as well also so that you do not have to wait on us.

    That's what I've done.



  2. It is in the SetToolbarAvailability method on the RichTextToolstrip class.

    OK, but SetToolbarAvailability and _BoldText are Private... so how to do?

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
I have added 3 new readonly properties that can be overwritten on the RTT that will allow you to provide your custom localization without being overwritten.  Here is the context it will appear under in the next update:

There are 3 new properties on a RichTextToolstrip that can be overwritten when inherited allowing custom localization to be set without being overwritten.  These are the UnderlineTooltipText, ItalicTooltipText, and BoldTooltipText properties.

I will post another beta build later today or early tomorrow that has this included.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search