473,405 Members | 2,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

show Clock and Vertical label

Hi,

i work with VS 2005 and i need to know how to put the windows time(Clock) on
my label that it is on the form that i will see the full time include the
second as they move, and i need to know how to make a label with text on him
to vertical state and not the horizontal normal state.

Thanks
Jun 28 '06 #1
3 4583
Avi,

While this isn't completely accurate, I would have a timer that fires
every second. During the timer, I wold get the current time (through the
static Now property on the DateTime structure).

Then, you can paint that value on the label as you wish. You will have
to handle the drawing of the text in a vertical manner, but that shouldn't
be too hard.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Avi G" <Av**@discussions.microsoft.com> wrote in message
news:CB**********************************@microsof t.com...
Hi,

i work with VS 2005 and i need to know how to put the windows time(Clock)
on
my label that it is on the form that i will see the full time include the
second as they move, and i need to know how to make a label with text on
him
to vertical state and not the horizontal normal state.

Thanks

Jun 28 '06 #2
isn't a way to show the system clock on the form with out the "timer" in real
time even without the second but when the minute change on the system clock
it's also changed in the form

and about the vertical label i need to write text on the form like this
"
l
a
b
e
l
"
and now like this "label" how i do it?


"Nicholas Paldino [.NET/C# MVP]" wrote:
Avi,

While this isn't completely accurate, I would have a timer that fires
every second. During the timer, I wold get the current time (through the
static Now property on the DateTime structure).

Then, you can paint that value on the label as you wish. You will have
to handle the drawing of the text in a vertical manner, but that shouldn't
be too hard.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Avi G" <Av**@discussions.microsoft.com> wrote in message
news:CB**********************************@microsof t.com...
Hi,

i work with VS 2005 and i need to know how to put the windows time(Clock)
on
my label that it is on the form that i will see the full time include the
second as they move, and i need to know how to make a label with text on
him
to vertical state and not the horizontal normal state.

Thanks


Jun 28 '06 #3
Avi,

I actually looked for that, something that would give you a notification
when the system clock was updated, but I couldn't find anything. This is
why I suggested what I did.

As for the vertical label, I know what you need. You can make your own
easily by using MeasureString method on the Graphics instance. It will
allow you to measure the string and custom paint your own label.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Avi G" <Av**@discussions.microsoft.com> wrote in message
news:0D**********************************@microsof t.com...
isn't a way to show the system clock on the form with out the "timer" in
real
time even without the second but when the minute change on the system
clock
it's also changed in the form

and about the vertical label i need to write text on the form like this
"
l
a
b
e
l
"
and now like this "label" how i do it?


"Nicholas Paldino [.NET/C# MVP]" wrote:
Avi,

While this isn't completely accurate, I would have a timer that fires
every second. During the timer, I wold get the current time (through the
static Now property on the DateTime structure).

Then, you can paint that value on the label as you wish. You will
have
to handle the drawing of the text in a vertical manner, but that
shouldn't
be too hard.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Avi G" <Av**@discussions.microsoft.com> wrote in message
news:CB**********************************@microsof t.com...
> Hi,
>
> i work with VS 2005 and i need to know how to put the windows
> time(Clock)
> on
> my label that it is on the form that i will see the full time include
> the
> second as they move, and i need to know how to make a label with text
> on
> him
> to vertical state and not the horizontal normal state.
>
> Thanks


Jun 28 '06 #4

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

Similar topics

10
by: John Baker | last post by:
Hi: I have a user who has labels that are set up 3 across and 11 vertical (which is unusual at best), and he wants me to print names and addresses on them. I have already set up for labels 10...
0
by: GiladP1 | last post by:
Hi, I am trying to create a vertical label or a vertical text box by useing their 'Vertical' property. But the text just disapears. I can manage to get right-to-left text to be vertical but...
1
by: Rene | last post by:
Is there a way to have a label control showing the text in a vertical way or any other angle? I am creating a simple graph control and would like to put axis labels on the chart similar to the ones...
5
by: AlexGray | last post by:
Hi, I created a blank Form with one Label, and the Label's text says "Loading... Please wait.". I display this form in Main() with Show() while i do some lengthy initialization stuff (ie...
8
by: Hekim MUKUS | last post by:
Hi, i need vertical label. C# or VB thanks
1
by: gibsonsgman | last post by:
I am having a problem with a vertical label. I change the label property 'vertical' to yes and then my label caption disappears and i cannot figure out why. any suggestions?
1
by: DBC User | last post by:
I have a date time picker which allows user to change the time in the winform. I would like to know is there a control I can use to show actual clock image to change the time? Thanks.
1
by: platoon1sc | last post by:
Hi guys.I have a problem with Internet Explorer in my web-application. I have a vertical scrollbar into my jsps but firefox show the vertical srollbar, but IE doesn't. IE show a blank space where...
1
by: Karl | last post by:
I have a A2000 form that won't show the vertical scroll bar. I have the scroll bar format set to show Both. The horizontal bar works fine. I tried settting the format to show vertical only and it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.