Subject | AW: [IBO] Replacing IBOTable properties |
---|---|
Author | Kaputnik |
Post date | 2001-03-10T12:54:45Z |
Delphi is very intelligent in its dfm-savings. It only saves values in the
dfm which are different from the default-values of the affected properties.
If you simply drop a table on a DM, delphi will only save the position and a
few minors into the dfm. As soon, as you change things in the
object-inspector, delphi will save them, not earlier.
To test this, simply inherit one form from another one in your app, look at
the dfm, and start changing things in the inherited one to see the dfm grow.
That said, you will have to manually set the property FetchWholeRows to true
in your app. You could also use a small script to parse your dfm's and
inlcude the FetchWholeRows-prop into your dfm's...
CU, Kaputnik
(Nick Josipovic)
nick@... <mailto:nick@...>
kap@... <mailto:kap@...>
--------------------------------------------------------------
superior Client/Server programming:
www.IBObjects.com <http://www.IBObjects.com>
a nice tool for Interbase:
www.InterbaseWorkbench.com <http://www.InterbaseWorkbench.com>
dfm which are different from the default-values of the affected properties.
If you simply drop a table on a DM, delphi will only save the position and a
few minors into the dfm. As soon, as you change things in the
object-inspector, delphi will save them, not earlier.
To test this, simply inherit one form from another one in your app, look at
the dfm, and start changing things in the inherited one to see the dfm grow.
That said, you will have to manually set the property FetchWholeRows to true
in your app. You could also use a small script to parse your dfm's and
inlcude the FetchWholeRows-prop into your dfm's...
CU, Kaputnik
(Nick Josipovic)
nick@... <mailto:nick@...>
kap@... <mailto:kap@...>
--------------------------------------------------------------
superior Client/Server programming:
www.IBObjects.com <http://www.IBObjects.com>
a nice tool for Interbase:
www.InterbaseWorkbench.com <http://www.InterbaseWorkbench.com>
> -----Ursprüngliche Nachricht-----
> Von: Ronny Bengtsson [mailto:ronny.bengtsson@...]
> Gesendet: Samstag, 10. März 2001 13:47
> An: IBO
> Betreff: [IBO] Replacing IBOTable properties
>
>
> Hi,
>
> I'm using GrReplace to make quick changes to my application
> source. But when
> I try to change default values of IBOTables (i.e. FetchWholeRows) the
> default value is True but it can't be replaced because if I view
> a form with
> IBOTables there is no property value for "FetchWholeRows" until I
> have made
> it False, in that case I can se a row with FetchWholeRows = False
> and I also
> in that case can switch it back to True with GrReplace utility
>
> Anyone who has the answer?
>
>
> /Ronny
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>