Inputpanel Controls Position not Accessible at runtime

Posted by: moridi on 1 August 2018, 4:55 pm EST

    • Post Options:
    • Link

    Posted 1 August 2018, 4:55 pm EST - Updated 4 October 2022, 2:20 am EST

    Hi,

    I want to on resize event rearrange the control by my idea.

    I need controls width and height.

    but when i set width to -1, on inputpanel resize i dont have any access to real width and height or bounds of control in first resize but after second resize (manually i resize the form) bounds data available.

  • Posted 2 August 2018, 5:49 am EST

    Hello Moridi,

    You cannot get control size in the “Resize” event of the InputPanel. Because, “Reszie” event fires before the control is added in the “InputPanel”.

    Hope it clarifies.

    Thanks,

  • Posted 3 August 2018, 1:50 pm EST

    humm, so what i can to do?

    i calculate the width so it seems to calculate height too.

    don’t want to add AutoSize mode?

  • Posted 6 August 2018, 7:31 am EST

    Hello,

    As per my understanding, you want to set the “Width” and “Height” of “C1InputPanel” according to its rendering size.

    Could you please confirm that is my understanding is correct or not?

    Thanks,

  • Posted 7 August 2018, 5:09 am EST

    Hello mohitg

    Yes I want to auto resize grow/shrink automatically after adding inputcomponents.

  • Posted 7 August 2018, 7:22 am EST

    Hello,

    Unfortunately, this is not possible through C1inputPanel programmatically.

    Sorry for the inconvenience caused.

    Thanks,

  • Posted 16 August 2018, 6:43 pm EST

    Ok no problem , I was solved via code.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels