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: 65
Joined: Fri Feb 08, 2019 3:06 am

card list expands/collapse when sizing instance list

Post by dhunt »

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 8485 times
davidbalansa
Posts: 92
Joined: Mon Feb 01, 2016 10:08 am

Re: card list expands/collapse when sizing instance list

Post by davidbalansa »

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: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: card list expands/collapse when sizing instance list

Post by MarkD »

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