Thanks for your reply! Ok, now its clear for me, unfortunately. I saw option for hide am/pm button and thought it is chance to make graphical clock 0-24. Anyway great project.
Hello, Thanks for your feedback. The use24HourClock only applies to the text value displayed in the spinner control. The graphical clock only supports displaying [1-12] AM/PM for the hours.
Hi, i create TimePicker object with parameters of use24HourClock set on TRUE, but still on timepicker get AM/PM option and only 0-12 on hours circle. Is there option to set it to 24h in another way? Thank you for share of this project.
Sample code: TimePicker timePicker = new TimePicker(0, false, true); var tokens = timePicker.Tokens; tokens.Clear(); timePicker.Mask = "99:99\\ LL"; timePicker.DateTimeFormat = "hh:mm tt"; timePicker.Value = timePicker.TextToValue(timePicker.ValueToText(DateTime.Now)); tokens[0].MinValue = 1; tokens[0].MaxValue = 13; tokens[2].MaxValue = 60; tokens[tokens.Count - 1].CustomValues = new Object[] { "AM", "PM" };
how to I make it display just hh:mm am/pm?
Ok, for anyone reading this in the future, I needed to create a new class that inherits from the abstract class, and then call this new class from the Form and Form Designer. E.g. like this: using System; [...] using Opulos.Core.UI; namespace CustomControls { public partial class MyMaskedTextBox : MaskedTextBox<Object> { public override Object TextToValue(String text) { return default(Object); } public override String ValueToText(Object value) { return null; } public MyMaskedTextBox() { [...] } }...
I'd like to use your extended version instead of the original implementation in an already existing project, but I'm having trouble replacing the MaskedTextBox. I've copied the files in the /src folder to my project, but so far I wasn't successful in replacing the existing control with your version. I.e. I would like to keep all the formatting (location, size, etc) of the existing control and simply replace the type. So far I only encountered custom controls that directly extended the original one,...
This module is useful for me but I can not use in may VB2008 project. Can you show me how to use detail. Thanks.
Hi Code Artist. The code is under the BSD license. The summary page has been updated....
Good day, Could you advise under which license are these codes released? Regards,...
Sorry for delay reply (sourceforge does not notify me). The problem isn't from your...
It would help to have a code example. If possible, please attach a .cs file or provide...
I like your project it looks cool, so I use it. But when I try to add second pickup,...
All source (.cs) files are included in the zip file. In your VS 2008 solution, create...
Hi there, The control looks really cool. How do I import the control into Visual...