Results 1 to 3 of 3

Thread: Ok, next challenging question.....

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Posts
    67

    Talking

    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!

  2. #2
    Guest
    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.

  3. #3
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width