Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Tõnis Pihlakas
  Where is Tõnis Pihlakas?
 Tallinn
 Estonia
 Tõnis Pihlakas
 To: Ken Blum
  Where is Ken Blum?
 Chicago
 Illinois - United States
 Ken Blum
 Tags
Subject: RE: TimeTextBox + Grid
Thread ID: 33936 Message ID: 34075 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: Grids
Date: Monday, December 08, 2003 4:38:10 PM         
   


>
> What I've done in this situation is create a container class that has 2 text boxes, one that is visible that the user sees and enters (TextEntry) without a ControlSource, and another that is not visible that is bound to the data source (DateValue). The TextEntry.Validate method sets the value of the DateValue.Value object. The DateValue object Refresh method refreshes the value in the TextEntry value.
>
> Here is a class that allows input of temperatures in either Farenheit or Celcius to illustrate this class design. It's a little more complex than what you will do but you should get the idea...
>
> _400zoa4g.zip
>
> KTB

Somehow this idea popped into my mind earlier, but I wasn't sure how to actually code it. Thanks for the example

Tõnis

A Quick Brown Fox Jumps Over The Lazy Dog

ENTIRE THREAD

TimeTextBox + Grid Posted by Tõnis Pihlakas @ 12/5/2003 8:59:28 AM
RE: TimeTextBox + Grid Posted by Lucy Alice Pilanga @ 12/5/2003 9:35:59 AM
RE: TimeTextBox + Grid Posted by Tõnis Pihlakas @ 12/5/2003 9:59:31 AM
RE: TimeTextBox + Grid Posted by Lucy Alice Pilanga @ 12/5/2003 10:16:49 AM
RE: TimeTextBox + Grid Posted by Tõnis Pihlakas @ 12/5/2003 10:31:37 AM
RE: TimeTextBox + Grid Posted by Ken Blum @ 12/5/2003 4:40:56 PM
RE: TimeTextBox + Grid Posted by Tõnis Pihlakas @ 12/8/2003 4:38:10 PM
RE: TimeTextBox + Grid Posted by Tõnis Pihlakas @ 12/8/2003 6:20:29 PM
RE: TimeTextBox + Grid Posted by Ken Blum @ 12/8/2003 8:36:04 PM
RE: TimeTextBox + Grid Posted by Tõnis Pihlakas @ 12/9/2003 1:41:52 PM
RE: TimeTextBox + Grid Posted by Ken Blum @ 12/9/2003 4:27:04 PM
RE: TimeTextBox + Grid Posted by Tõnis Pihlakas @ 12/10/2003 8:17:23 AM
RE: TimeTextBox + Grid Posted by Tõnis Pihlakas @ 12/11/2003 9:26:04 AM
RE: TimeTextBox + Grid Posted by Ken Blum @ 12/11/2003 5:51:30 PM