How to set the Min Height & Min Width to #PRIM_PPNL

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
Taku Izumi
Posts: 15
Joined: Thu Dec 15, 2016 2:03 pm

How to set the Min Height & Min Width to #PRIM_PPNL

Post by Taku Izumi » Tue Mar 05, 2019 8:48 pm

Hi,

I want to set the Min Height and Min width to Popup Panel(#PRIM_PPNL).

It's possible to set two values using Layout Manager in Layout tab.

However, the executed prompter can be made smaller than the set height and width.

This is my simple test case.

Code: Select all


Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_PPNL) Closebutton(True) Left(0) Height(377) Titlebar(True) Top(0) Width(529) Autofocus(True) Touchmove(Both) Touchsize(All) Layoutmanager(#Layout) Autoclose(False)

Define_Com Class(#PRIM_TBLO) Name(#Layout)
Define_Com Class(#PRIM_TBLO.Column) Name(#LayoutColumn1) Displayposition(1) Parent(#Layout) Minwidth(200)
Define_Com Class(#PRIM_TBLO.Row) Name(#LayoutRow1) Displayposition(1) Parent(#Layout) Minheight(150)

End_Com

If anyone know that, please let me know.

Best regards,
Taku

Post Reply