card list expands/collapse when sizing instance list

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
dhunt
Posts: 35
Joined: Fri Feb 08, 2019 3:06 am

card list expands/collapse when sizing instance list

Post by dhunt » Fri Feb 15, 2019 9:56 am

if i create a card list reusable part, how can i make the card resize with the instance list window?
Capture.PNG
Capture.PNG (9.31 KiB) Viewed 2216 times

davidbalansa
Posts: 51
Joined: Mon Feb 01, 2016 10:08 am
Location: Australia

Re: card list expands/collapse when sizing instance list

Post by davidbalansa » Fri Feb 15, 2019 10:22 am

I am just starting to dabble with using an instance list panel (card) in the instance list, so other may have a better explanation. I used the shipped example DF_T40PAO as my starting point. I have found that in the uCreateorUpdateDisplay method you must set the #PARENTPANEL.Height to get the card to change the height.

Hope this helps.

MarkD
Posts: 630
Joined: Wed Dec 02, 2015 9:56 am

Re: card list expands/collapse when sizing instance list

Post by MarkD » Fri Feb 15, 2019 10:36 am

And width changes would be normally be handled by a layout manager of the controls on the card's panel.

Post Reply