thielj / MetroFramework

Metro UI of Windows 8 for .NET Windows Forms applications
http://thielj.github.io/MetroFramework
Other
396 stars 225 forks source link

MetroDateTime write manually #132

Open yussel53 opened 2 years ago

yussel53 commented 2 years ago

I want to type MetroDateTime manually, Without Check box, How do I do that

ThatLadLegend commented 2 years ago

I think you want to do var dt = DateTime.Now.ToString("h: mm tt"); Label.Text = dt;

To figure out what to put in place of h: mm tt go to this website. It should have all the formats you want.

Hopefully this is what you wanted.

yussel53 commented 2 years ago

What I really want is to have the cursor in the textbox

ThatLadLegend commented 2 years ago

Could you show an example of what you want?

yussel53 commented 2 years ago

I want to be able to type like in the masked textbox

ThatLadLegend commented 2 years ago

So you want to manually type in a date into a textbox?

yussel53 commented 2 years ago

No, I want to manually enter data into the same MetroDateTime textbox.

ThatLadLegend commented 2 years ago

I don’t think you can manually enter the date into a MetroDateTime box. You’re talking about using it like a MaskedText Box I imagine.

yussel53 commented 2 years ago

Yessss... like MaskedText.. Actually accessible but not very comfortable