Textfields sizing
On a report I got two TppDBText fields.
One for the first name and one for the last name.
Those fields are autosize
I want the two fields as close to eachother as possible.
So they have to be autosize.
I want :
Roy Rodgers
Alexander Simmonds
I do not want :
Roy Rodgers
Alexander Simmonds
But how do I get the two text fields linked to eachother ?
The left side of the second column should be practically right after the
right side of the first column
Do I have do this programmaticaly ? If so where do I have to do this ?
Is there a way to link the second field to the first so if the first field
get smaller the second fieldwill move to the left ?
Another question, if I got several fields on a band, can I align them or do
I have to set the Top and Left properties of every field manually ?
Thanks
Lee
One for the first name and one for the last name.
Those fields are autosize
I want the two fields as close to eachother as possible.
So they have to be autosize.
I want :
Roy Rodgers
Alexander Simmonds
I do not want :
Roy Rodgers
Alexander Simmonds
But how do I get the two text fields linked to eachother ?
The left side of the second column should be practically right after the
right side of the first column
Do I have do this programmaticaly ? If so where do I have to do this ?
Is there a way to link the second field to the first so if the first field
get smaller the second fieldwill move to the left ?
Another question, if I got several fields on a band, can I align them or do
I have to set the Top and Left properties of every field manually ?
Thanks
Lee
This discussion has been closed.
Comments
with an expression type calculated field. You can do this in DADE very
easily. The other alternative is to use the OnPrint event of a TppLabel to
read the pipeline field values and concatenate them:
procedure TForm1.ppLabel1Print(Sender: TObject);
begin
ppLabel1.Caption := ppDBPipeline1['First_Name'] + ' ' +
ppDBPipeline1['Last_Name'];
end;
To aling and space components in the band, use the AlignAndSpace toolbar.
Go to the View | Toolbars menu option in the designer.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com