There is nothing built into ReportBuilder to support this.
You can use the OnDrawCommandCreate event for each Region to get the reference to the DrawCommand and then use the Band.AfterGenerate event to modify the height of the shorter of the two.
Do you have an example of this? I tried it and it would appear the drawcommand is destroyed by the time i try to reference it in the aftergenerate, unless i did it wrong.
Also the drawcommandobject1 and drawcommandobject2 (from mey ppregion1 and ppregion2) height's are both 60000 which is what they were original set to. It would appear, unless i'm incorrect, that after it stretchs the height value doesn't get changed. should i go off of a different value?
Comments
There is nothing built into ReportBuilder to support this.
You can use the OnDrawCommandCreate event for each Region to get the
reference to the DrawCommand and then use the Band.AfterGenerate event to
modify the height of the shorter of the two.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Your other issue is being handled by Nico - he is out of the office today
and will be back on Monday.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Do you have an example of this? I tried it and it would appear the
drawcommand is destroyed by the time i try to reference it in the
aftergenerate, unless i did it wrong.
to have no affect.
i set the drawcommandobject1.height equal to the drawcommandobject2.height
Is this correct? it appears to do nothing;
and ppregion2) height's are both 60000 which is what they were original
set to. It would appear, unless i'm incorrect, that after it stretchs
the height value doesn't get changed. should i go off of a different value?
Here is a simple example that I created...
http://www.digital-metaphors.com/tips/SideBySideUniformRegions.zip
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com