Forum Discussion

abrooks4's avatar
abrooks4
Occasional Contributor
7 years ago

How to Set the "Bottom" property of a dialog box

I have homegrown desktop application, which has a dialog box with no maximize feature. I am adding widgets to this dialog box to the point where they become out of bounds. I need to set the "bottom" properties of this dialog window so that all the button widgets will fit properly. 

 

Recording uses the drag property specifying X and Y coordinates which will fail to run depending on the configuration of the display. Please help!

3 Replies

  • shankar_r's avatar
    shankar_r
    Community Hero

    Hi,

     

    In common of terms, Bottom is ready-only property of an Object.

    We can in change the value in Namemapping but it will not change the dialog size or anything.

     

    We can use this property to identify the object not for modifying object.

    • abrooks4's avatar
      abrooks4
      Occasional Contributor

      Thank you for clarifying that Shankar..

       

      What would you recommend as a solution to this issue? In other words, how do I enlarge a dialog window object which has no maximize method?

      • shankar_r's avatar
        shankar_r
        Community Hero

        Hi,

         

        Can you try like this yourObject.Drag(2,2,100,10) and see what happens?