StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Localizing of MaintenanceFormToolStrip
Localizing of MaintenanceFormToolStrip
Post Reply
Like
0
Localizing of MaintenanceFormToolStrip
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Peter Hecker
Peter Hecker
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 1,
Visits: 2
I am evaluating StrataFrame and making some experiences with the tutorial and help.
Concerning the concept of localizing I have the following question:
How to translate the text, tooltip etc. of the MaintenanceFormToolStrip with the message editor?
Is there a alternate way, to achieve this?
Many Thanks
_p_
Reply
Like
0
Reply
Trent Taylor
Trent Taylor
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
We have some developers create a sealed class that has a method that accepts and sets the items on a Maintenance Form Toolstrip. This way you do not have to "re-invent the wheel" every time need to localize the bar. Below is an example class definition.
Public
NotInheritable
Class
AppBasics
'''
<summary>
''' Seals the class
'''
</summary>
'''
<remarks></remarks>
Private
Sub
New
()
End
Sub
'''
<summary>
''' Sets the maintenance form toolbar buttons localization items
'''
</summary>
'''
<param name="MyBar"></param>
'''
<remarks></remarks>
Public
Shared
Sub
SetToolstripTextValues(
ByVal
MyBar
As
MicroFour.StrataFrame.UI.Windows.Forms.MaintenanceFormToolStrip)
MyBar.Items(0).Text = MicroFour.StrataFrame.UI.Localization.RetrieveTextValue(
"MyNewToolbarKey"
)
' Set the remaining bar items
End
Sub
End
Class
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Localizing of MaintenanceFormToolStrip
Peter Hecker
-
19 Years Ago
If there is not a Localization Key property on the control, you can...
StrataFrame Team
-
19 Years Ago
We have some developers create a sealed class that has a method that...
Trent L. Taylor
-
19 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search