Make a Vertical Line the Same Height as a CanGrow/CanShrink Control (1 Viewer)

mobarak ahmed

Member
Local time
Today, 02:22
Joined
May 28, 2021
Messages
95
hi Dears
hope you are doing well
i want to setup this tutorial
tutorial Link
on "rpDueStatment" Report , any help will be appreciated
 

Attachments

  • Mobarak - 22-9-2021.zip
    2.5 MB · Views: 268

CJ_London

Super Moderator
Staff member
Local time
Today, 01:22
Joined
Feb 19, 2013
Messages
16,629
in the section onformat event put something like

me.linecontrol.height=me.nameofcangrowcontrol.height

otherwise not enough information provided to provide a more detailed answer.
 

mobarak ahmed

Member
Local time
Today, 02:22
Joined
May 28, 2021
Messages
95
I have tried it but not working
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 08:22
Joined
May 7, 2009
Messages
19,247
see your report.
 

Attachments

  • Mobarak - 22-9-2021.zip
    2.4 MB · Views: 420

mobarak ahmed

Member
Local time
Today, 02:22
Joined
May 28, 2021
Messages
95
see your report.
Dear arnelgp , thanks for sharing but i need the vertical lines to grow and be the same Height of the text box as a table like attached
 

Attachments

  • 89898.jpg
    89898.jpg
    392.5 KB · Views: 401
  • 9999.jpg
    9999.jpg
    629 KB · Views: 380

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Yesterday, 19:22
Joined
Feb 28, 2001
Messages
27,223
Have you tried setting the other text boxes to also have CanGrow = 1 ?
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 17:22
Joined
Oct 29, 2018
Messages
21,494
Hi. Have you tried using Report Gridlines?

 

mobarak ahmed

Member
Local time
Today, 02:22
Joined
May 28, 2021
Messages
95
Hi. Have you tried using Report Gridlines?

i have tried it but it's hard to set the boxes beside each other right
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 17:22
Joined
Oct 29, 2018
Messages
21,494
i have tried it but it's hard to set the boxes beside each other right
Hi. You may have misunderstand what gridlines are. They are used with layouts (stacked or tabular). The layout automatically aligns each box next to each other. You don't have to do it.
 

bastanu

AWF VIP
Local time
Yesterday, 17:22
Joined
Apr 13, 2010
Messages
1,402
Did you try to open Arnel's sample in print preview (as the code will not run if the report is open in Report view)?
 

Users who are viewing this thread

Top Bottom