Subject | Re: [IBO] Updating Auto Label display |
---|---|
Author | Mark Pickersgill |
Post date | 2004-06-08T10:35:03Z |
Tuesday, 8 June 2004, 8:29 PM
Hi Jason,
After digging through the code for an hour or so, I realised the
TIB_Labels (which I was using) do not have a data link...they are
simply enhanced labels that happen to be able to read TIB_Edits to get
the *initial* state (required or not) and caption of the linked field.
doh!
The actual Auto-labels themselves behave correctly.
Mark
JW> This feature was contributed. I encourage you to jump into the sources and
JW> have a look. It probably wouldn't be too difficult to fix.
JW> Jason Wharton
JW> www.ibobjects.com
JW> -----Original Message-----
JW> From: Mark Pickersgill [mailto:mpickers@...]
JW> Sent: Monday, June 07, 2004 4:20 AM
JW> To: IBObjects@yahoogroups.com
JW> Subject: [IBO] Updating Auto Label display
JW> Hello,
JW> Does anyone know if it's possible to get the Auto labels on a
JW> form to refresh themselves to correctly reflect the Required or
JW> not Required status of a field when moving from an edit state to
JW> a browse state? Or is it a bug?
JW> I'm using a TIB_Dataset which I put into Edit mode using
JW> .Insert, then after this is commited and posted, I re-open the
JW> dataset with .Open. When changing from Edit to Browse, the
JW> Auto-labels that are linked to required fields do not update to
JW> reflect the current state, however, if you drag the form off the
JW> screen to cover those Auto-labels and drag it back, then the
JW> labels are redrawn correctly.
JW> Can anyone else confirm this?
JW> Using IBObjects 4.3.Aa, Win2k, Delphi 5 Enterprise
JW> thanks
JW> Mark
JW> ___________________________________________________________________________
JW> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
JW> without the need for BDE, ODBC or any other layer.
JW> ___________________________________________________________________________
JW> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
JW> keyword-searchable FAQ, community code contributions and more !
JW> Yahoo! Groups Links
Hi Jason,
After digging through the code for an hour or so, I realised the
TIB_Labels (which I was using) do not have a data link...they are
simply enhanced labels that happen to be able to read TIB_Edits to get
the *initial* state (required or not) and caption of the linked field.
doh!
The actual Auto-labels themselves behave correctly.
Mark
JW> This feature was contributed. I encourage you to jump into the sources and
JW> have a look. It probably wouldn't be too difficult to fix.
JW> Jason Wharton
JW> www.ibobjects.com
JW> -----Original Message-----
JW> From: Mark Pickersgill [mailto:mpickers@...]
JW> Sent: Monday, June 07, 2004 4:20 AM
JW> To: IBObjects@yahoogroups.com
JW> Subject: [IBO] Updating Auto Label display
JW> Hello,
JW> Does anyone know if it's possible to get the Auto labels on a
JW> form to refresh themselves to correctly reflect the Required or
JW> not Required status of a field when moving from an edit state to
JW> a browse state? Or is it a bug?
JW> I'm using a TIB_Dataset which I put into Edit mode using
JW> .Insert, then after this is commited and posted, I re-open the
JW> dataset with .Open. When changing from Edit to Browse, the
JW> Auto-labels that are linked to required fields do not update to
JW> reflect the current state, however, if you drag the form off the
JW> screen to cover those Auto-labels and drag it back, then the
JW> labels are redrawn correctly.
JW> Can anyone else confirm this?
JW> Using IBObjects 4.3.Aa, Win2k, Delphi 5 Enterprise
JW> thanks
JW> Mark
JW> ___________________________________________________________________________
JW> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
JW> without the need for BDE, ODBC or any other layer.
JW> ___________________________________________________________________________
JW> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
JW> keyword-searchable FAQ, community code contributions and more !
JW> Yahoo! Groups Links