473,466 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

DateTime Picker control, displaying and selecting times

hi,

I am looking to use the date/time picker control to allow the user to select
a time.

I have done a similar thing in a C++ project by formating the date time
picker to show only the time and then using a spinner control as a buddy
control to allow the user to cycle through the hour/minute/second without the
need for a keyboard,(as my app is being run on a touchscreen).

I'd appreciate any advice on how i can do something similar in C#

Thanks in advance
Macca
Nov 17 '05 #1
1 8710
Hi Macca,

you can set the Format property of the DateTimePicker to Time,
so it will only display the time. After that i would take
the TrackBar control to let the user adjust the time value.

Cheers
Lars Behrmann

_________________
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/

Macca schrieb:
hi,

I am looking to use the date/time picker control to allow the user to select
a time.

I have done a similar thing in a C++ project by formating the date time
picker to show only the time and then using a spinner control as a buddy
control to allow the user to cycle through the hour/minute/second without the
need for a keyboard,(as my app is being run on a touchscreen).

I'd appreciate any advice on how i can do something similar in C#

Thanks in advance
Macca


Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Qumer Mumtaz Goraya | last post by:
Hi There is a datatime picker control in one column of my datagrid.When the cell of sepecific column get the focus the datetime picker control appeare It shows the current system date.If once I...
4
by: ruca | last post by:
How can I use DateTime Picker control in my ASPX page? I already add the component to my project. I put one control in my page and give him an id and name. But when I try to use it in the...
6
by: ruca | last post by:
How can I define a DatePicker control with events in ASPX? When I drag and drop a DateTime Picker control into my page and then try to use it in code, it gives an error saying that my control is...
1
by: venky | last post by:
Hi, Is there any good datetime picker control to use for asp.net pages? I want have a date field in my form to show, i want the behaviour like when u click the button next to text box, it shoud...
10
by: Dennis D. | last post by:
Trying to write an itinerary program. Got date and time from date time picker Converted it to date variables to extract the date and the time The form has first a textbox displaying the starting...
0
by: venky | last post by:
Can anyone tell me what event is triggered when you click on the updown button on datetime picker control? For a datetime control, i want to increment the mins field when user clicks on the updown...
5
by: Michel Posseth [MCP] | last post by:
Hello we have encountered the following problems with the date time picker control A : datetime picker control gives focus to last entered field when moving back and forward with focus how do...
0
by: fredloh | last post by:
i have a tab control on my form. i then have several microsoft date and time picker control on the tab control. when i select a date on any of the date and time picker control, the result of the...
1
by: sonubaba | last post by:
hello, my question is, in my web application i need datetime picker control in which user can select both date and time from DateTime Picker control i could not find this anywhere on inter net ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.