Subject Re: [IBO] IB_Date
Author Jason Wharton
Please just strip the Value properties out of the DFM before opening it in
the designer.
In the code, put the Stored directive to false if you want to avoid this in
the future.
I'm probably just going to remove this property since it is entirely
unnecessary.
I merged it in for a user without testing this sufficiently and am paying
the price.
It's great to get improvements. I'll try and be more careful in the future.
That's my part of the deal.

Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Geoff Worboys" <geoff@...>
To: "fabiobot" <IBObjects@yahoogroups.com>
Sent: Sunday, April 28, 2002 5:17 PM
Subject: Re: [IBO] IB_Date


> > What's happening with IB_DATE in IBO 4.2Ha,
> > if i put it into a new form, I get an error when linking:
>
> > [Error]RLINK32: Error opening file "C:\TEST\PROG1.DFM"
>
> > This only happen with IB_DATE, removing the error disappears.
>
> > After that, I would like to use IB_DATE without connect to a
> > datasource, how do i set/get the value entered by user ?
> > The Date, Text or Value property not exists.
>
> With 4.2Ha I get some different problems (using Delphi5)...
>
> When I drop a new control on a form I do get a Value property but the
> ide keeps complaining that 'IB_Date1 is not a valid date'.
>
> I noticed that this seems to upset painting of the object inspector
> and probably saving of the DFM as well - which may be where your
> problems are coming from.
>
> I tried installing a valid initial value in the constructor
> Value := SysUtils.Now;
> but then I had problems with the mask during runtime.
>
> Marco, I see you updated this last - any ideas on the best fix?
>
> --
> Geoff Worboys
> Telesis Computing