Hi Guys
I have used the Property Grid to present all the information about a 'record' that is stored in a Database.
It's very nice and the customer likes it. Especially the part where we can define the <Description so the user gets to see a description of the parameter they are looking at.
e.g
However they now want multiple language support and I am struggling with how to handle difference languages for the property Desciption and Category Attributes. If I use any other than a fixed description , I get an error stating 'Constant Expression Required'
At present I am looking at having to create separate classes for each language and loading a different class dependant on the langauge the user wants. I already have different classes dependant on what type of record the user selects to view, so then I need each of those in a different langauge that can be selected ( Yuk)
It would be far easier to use the translate function I currently use to load the description text!
Any ideas?
Many thanks
Rob
Update, I have gone though the events looking for something that may allow me to reformat the text that is being displayed.. but havent worked out anything..
I have used the Property Grid to present all the information about a 'record' that is stored in a Database.
It's very nice and the customer likes it. Especially the part where we can define the <Description so the user gets to see a description of the parameter they are looking at.
e.g
<Description(
"The number the Customer was ringing from"), _
Category(
"Contact Details")> _
Public
Property A_Nummer() As String
However they now want multiple language support and I am struggling with how to handle difference languages for the property Desciption and Category Attributes. If I use any other than a fixed description , I get an error stating 'Constant Expression Required'
At present I am looking at having to create separate classes for each language and loading a different class dependant on the langauge the user wants. I already have different classes dependant on what type of record the user selects to view, so then I need each of those in a different langauge that can be selected ( Yuk)
It would be far easier to use the translate function I currently use to load the description text!
Any ideas?
Many thanks
Rob
Update, I have gone though the events looking for something that may allow me to reformat the text that is being displayed.. but havent worked out anything..