Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 31 MAR 1998 05:12:18PM Don Bakke wrote:

Hi,

I've placed a menu option that allows the user to turn on/off the toolbar on an MDI Frame window. When the toolbar is turned off, I hide all the buttons and then re-size the MDICLIENT area to fill in the empty space. However, even though the MDICLIENT area does change its size, it continually prevents anything from appearing in the "new" area.

The above is what happens when modifying the SIZE property. I've tried to Utility("DESTORY") and Utility("CREATE"), but the return values suggest that it can't identify MDICLIENT as an object and nothing happens at all.

Any ideas? TIA,

dbakke@srpcs.com

SRP Computer Solutions


At 02 APR 1998 09:42AM Don Bakke wrote:

I've placed a menu option that allows the user to turn on/off the toolbar on an MDI Frame window. When the toolbar is turned off, I hide all the buttons and then re-size the MDICLIENT area to fill in the empty space. However, even though the MDICLIENT area does change its size, it continually prevents anything from appearing in the "new" area.

FYI, just in case somebody was testing this out, the problem was a BITMAP control getting sized the wrong way and sharing the same space as the MDICLIENT thereby creating visual problems.

dbakke@srpcs.com

SRP Computer Solutions


At 02 APR 1998 10:03AM Gene Gleyzer Revelation wrote:

Don,

The MDICLIENT control is pre-set to be "autosize width", "autosize height". I've seen the MDICLIENT area behaving strange if set to invalid size by Set_Property ("SIZE") or when it intersects with any other control. Make sure you do Get_Property ("SIZE") right before modifying and reseting it and you hide all the relevant controls.

Gene


At 02 APR 1998 05:58PM Don Bakke wrote:

Gene,

I've seen the MDICLIENT area behaving strange if set to invalid size by Set_Property ("SIZE") or when it intersects with any other control.

Yep, that was exactly the problem. Thanks for confirming this.

dbakke@srpcs.com

SRP Computer Solutions

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/38ce9e716301b1cb852565d800747bd9.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1