Subject Re: [IBO] Time format
Author Jason Wharton
Those events are available in native IBO too. Just not via design-time.
Assign them in the AfterPrepare event of the dataset to the fields.

Jason Wharton
CPS - Mesa AZ

----- Original Message -----
From: "Nando Dessena" <nandod@...>
To: <>
Sent: Monday, February 05, 2001 9:59 AM
Subject: Re: [IBO] Time format

> Nico,
> > I have double precision values stored in a table. Those values
represent hours and minutes. Example : 1.5 : I want to display the 1.5 in
a grid like 01:30, so the user will read it as 1 hour, and 30 minutes, is it
possible to have this value displayed like this ??
> I once solved exactly the same problem by using TField's OnGetText
> event; I had to allow editing also (so that you write 2:30 in an edit
> box and 1.5 is written to the database) and the OnSetText came to help.
> This applies only if you are using the TIBO... components, I fear.
> To anyone more knowledgeable that me on the matter (doesn't take much!
> ;-)): is there a similar mechanism in native IBO? Could it be easily
> implemented?
> --
> ____
> _/\/ando