Setting ColumnWidth / ColumnHeight at runtime

To set ColumnWidth/ColumnHeight for control at runtime
tabcontrol.widthMode(FormWidth::ColumnWidth);
tabcontrol.heightMode(FormHeight::ColumnHeight);

To set exact values
tabcontrol.widthValue(100)
tabcontrol.heightValue(200);

Following example will not work
tabcontrol.width(FormWidth::ColumnWidth);
tabcontrol.height(FormHeight::ColumnHeight);
tabcontrol.width(100);
tabcontrol.height(200);

 

Search

About

DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics AX.

Authors are allowed to set their own AdSense units.
Join us.

Blog Tags