Subject Re: [IBO] Re: Problem with AutoLabels
Author Mark Pickersgill
Hi Steve,
I will try to look into the Model truncation issue over the next few
days - is the issue solely that Autolabels that follow a model are not
correctly truncating the text when they should?

As for the parent font issue, some discussion about this was made for
using the Parent font of the TIB_Edit (or whatever other control is
used) as the basis for the Font (only if the TIB_Edit control has it's
ParentFont property set to true). Ate the moment, the Font is simply
compared to Delphi's DefaultFont variable. Not sure if anything was done
about this in recent versions of 4.5.

As for the TIB_Datasource Control Generator, I'm afraid I'm not familiar
with its workings. Was the Autolabel side of things working with it in
earlier versions?

Mark


Steve Fields wrote:

>Steve Fields wrote:
>
>
>>--- In IBObjects@yahoogroups.com, "Steve Fields"
>><stevefields2424@y...> wrote:
>>
>>
>>
>>>Jason,
>>>
>>> The following situation arises:
>>>
>>>1. Add a group of TIB_Edits to a form.
>>>2. Make the autolabels model on the first TIB_Edit field.
>>>3. Make one of the edit's label wider than the actual text area.
>>>4. The label is tuncated to the same width.
>>>5. Set the albTrimX to true it is still truncated.
>>>6. Clear the model field and the label is now untruncated.
>>>7. Set the model field again, it truncates again.
>>>8. Set the albTrimX field on the model to true, IT untruncates.
>>>
>>> None of the other edits will un-truncate unless they do
>>>NOT have a model.
>>>
>>> This came about because I was trying to place a group of
>>>TIB_Edits in a group panel while setting the group panel font
>>>to a larger, bold, different color. This would force the labels
>>>on the edits to match the font settings. Setting th e parentfont
>>>setting to false, of course, only sets the font of the text in
>>>the TIB_Edit, not the label.
>>>
>>>Steve Fields
>>>
>>>
>>And another related problem:
>> When using the TIB_Datasource Control Generator, when
>>dragging and dropping the first and several fields to a
>>form: The first field only generates a label and the second
>>ignores the autolabel kind setting (left, top, etc), but
>>places the label to the left of the edit field, overlaying
>>the label for the first field. (Which happens to be the
>>primary key for the dataset, and matches the data type,
>>integer)
>> When selecting and dropping any further down the list the
>>labels are generated with the edits but still ignores the
>>kind setting.
>>
>> Also, btw, isn't the datasource field supposed to be carried
>>to the form alos? I get TIB_Edits, for example, that all have
>>the Datasource field left empty. I have to reassigne them on
>>the form.
>>
>>Steve Fields
>>
>>
>>
>>
>>
>>
>>
>>
>>
>___________________________________________________________________________
>
>
>>IB Objects - direct, complete, custom connectivity to Firebird or
>>
>>
>InterBase
>
>
>> without the need for BDE, ODBC or any other layer.
>>
>>
>>
>___________________________________________________________________________
>
>
>>http://www.ibobjects.com - your IBO community resource for Tech Info
>>
>>
>papers,
>
>
>>keyword-searchable FAQ, community code contributions and more !
>>
>>
>
>
>
>>Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>>
>No response.
>This breaks all of the forms that I have to go back to edit.
>All of them that have TIB_Edits have to have the buried
>properties changed so that they will at least look like they
>were before the 4.5h release:
>
>1. Spacing not equal to 0 like it was in the old components.
>2. albTrimX set to true so that all data labels that are longer
> than the field are not truncated arbitrarily.
>3. Model does not work right.
>4. The functions excpected in the TIB_Datasource window do not
> work anymore.
>5. Other things that I would have to detail how to show them,
> btu strange nonetheless.
>
>And I can assume they are not fixed in 4.5I?
>
>Steve Fields
>
>
>
>
>
>
>___________________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
>___________________________________________________________________________
>http://www.ibobjects.com - your IBO community resource for Tech Info papers,
>keyword-searchable FAQ, community code contributions and more !
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>