This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, I developing an application for Windows Store and in this application i'm using the MetroElements, more specific the DateTimePicker. I found some issue and i would like help:
for portuguese language the text is not translated. See the image in attach.
I need to know when it can be solved (i know it's a beta). But i need to submit my application this month and if is not solved i will create my own. Thanks Sara Silva |
|
|
Hello Sara Some cultures in .NET such as Portuguese does not have an AM/PM designator. I've updated the DateTimePicker to remove the AM/PM combo box if the culture does not support the AM/PM designator. This will be available near the end of the week. Although the .NET Portuguese culture does not have an AM/PM designator, you can specify your own values by setting the CultureInfo.DateTimeFormat.AMDesignator and PMDesignator properties on the culture you are using. I have also improved the layout logic of the DateTimePicker control so it should look better when you set the MaxWidth. Make sure not to set the MaxWidth too small though, otherwise their will be no choice but to clip and bunch the combo boxes together. Again this improvement will be available near the end of the week. As for the background issue, I'm not totally sure what you mean here. Do you want to be able to set the background color of the combo boxes? I'll try get back to you exactly when the update is available. Jason Fauchelle |
|
|
Hello, I created my own TimePicker, is not perfect because was design for my case and is similar to your control. About the AM/PM, I change the visibility for am/pm combobox, because in Portugal we have time from 0 to 24. My application is located for en and pt. I'm using the MindScape DateTimePicker for date and i defined the Maxwidth but i removed when i saw there was a issue, i'm using Width. Is normal this happens, i have some experience to create my own controls and i had similar issues, I say it for you have attention. I think the DateTimePicker must have: - a minwidth value; - a fix space size between controls - a template for combobox (in my case i used the blend to get the style and i changed something like when is mouse over or pressed. And for exemple, when the item is selected i need to change the color, i didn´t find who i change it in combobox style) - maybe is not possible to change but for year combobox i didn´t like the effect when i scroll because i will se values that don´t make sense. I think in the future, the mindscape sample should have the sample for this control in the different formats for user see how to apply. I know this is beta. Thanks Sara Silva |
|
|
Hello Sara The current beta has a few improvements to the DateTimePicker: http://www.mindscapehq.com/products/metroelements/download There is better culture support in terms of not showing the AM/PM box if the culture doesn't use it. The layout logic is also slightly improved - different parts will be given different sizes based on the values they display. For example, a 2-digit number such as the day of month is allocated less space than the month name. There are more improvements planned as well. We will certainly have a sample and documentation that demonstrates the various formats. The DateTimePicker supports almost all the usual .NET DateTime format strings. You can see this page for examples for now: http://www.csharp-examples.net/string-format-datetime/ Jason Fauchelle |
|
|
Hello, thanks for the message, i will instal it now and i will test it in a few days. Normally i use this resource: Custom Date and Time Format Strings: http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx But i will see your link. if i found something i will report. I'm developing one application that i want to submit this week and use your library. Thanks for all Sara Silva |
|
|
Hello Sara, Awesome to hear that your application is nearing submission. A warning though - we only uploaded a version into the store that doesn't have the beta time bomb today. You'll most certainly want to grab the current build so your app stays happy after the beta expires! You can grab the latest version without any beta bomb from your account here: http://www.mindscapehq.com/store/myaccount The downloaded file still says beta, but we'll change that when we ship the final version. Since your app may be one of the first using our controls in the App Store we'd love to be able to blog about it (helps you get some promotion + show off our controls - win, win). Once it's up perhaps email us and we'll arrange a showcase of your app. I hope that helps, Jason Fauchelle |
|
|
Hello, About this: " we only uploaded a version into the store that doesn't have the beta time bomb today" I cannot submit my application with time bomb, i have a license, i think i don´t have problem. Note: i edited it, because the error is in another control, not yours. I'm sorry. For now i think is all ok. If i found something i report. If you want i can send a package from my application for you seen, before submit. It's possible that you say. Can you give me the email? Thanks Sara Silva |
|
|
Hello Sara You can send a package to jason@mindscape.co.nz. Looking forward to seeing your application! Jason Fauchelle |
|