-
How would one put an LCD style clock on a form? Would that have to be done using someone else's control? If so, could one make such a control? If yes, on what program? I am trying hard to figure this out and would appreciate any and all tips. Thanks in advance!
-
do you mean LED, LCD is Liquid Crystal Display, LED is Light Emitting Diode, LCD is what laptops are made using(well the screens), LED is just a little teeny light bulb that lasts about forever, that is basicly what score-boards are made from...
well anyway, you could use WestMinster font with a text box, and use a timer to keep updating the time.
-
When you Say LCD style do you just mean Digital or do you want the retro feel of thos blocky sort of digits you used to get on calculators?
If you just want the Digital you can use this in a Timer
Code:
Dim strTime As String
strTime = Format(Now, "hh:mm:ss")
UserControl.CurrentX = (UserControl.Width - UserControl.TextWidth(strTime))/2
UserControl.CurrentY = (UserControl.Height- UserControl.TextHeight(strTime))/2
UserControl.Print StrTime
That'll print the Time in the Centre of your user Control
If you want that Retro Feel you'll have to make 2 UserControls, one that Displays a number in the Blocky Type when Given it (use a Big Select Case Statement and 10 Images is the easiest way)
Then Have 6 of these in your big user control, one for each digit in the time, then send one digit of the Time to each of them (use Mid$)
Hope This Helps