in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

changing the height /width of a dialog after it is opened

Last post 05-15-2008 9:05 PM by C1_SergeiS. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-12-2008 2:15 PM

    changing the height /width of a dialog after it is opened

    Hi,

     Is there a way to change the height/width of a dialog after it is opened? Based on the parameters passed to the dialog, I am hiding some controls in the layer. so there will be lot of blank space if I don't resize the control. we don't want to use the scroll bars.

    Thanks,

    sridhar.

  • 05-15-2008 9:05 PM In reply to

    Re: changing the height /width of a dialog after it is opened

    Hi,
     
    Try to use the style property:
    dialog.get_style().width =
    dialog.get_style().height =
    Regards,
    Sergey.
    <DATISDEVELOPMENT> wrote in message news:204777@10.0.1.98...

    Hi,

     Is there a way to change the height/width of a dialog after it is opened? Based on the parameters passed to the dialog, I am hiding some controls in the layer. so there will be lot of blank space if I don't resize the control. we don't want to use the scroll bars.

    Thanks,

    sridhar.



    http://helpcentral.componentone.com/cs/forums/p/75223/204777.aspx#204777

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.