At 5:37 PM +0000 1/30/06, Mark Cooke wrote:
If Self.Height > DisclosureHeight then
' Carry On and Show the GroupBox
Else
' Resize the current window to accommodate the GroupBox
Self.Height = DisclosureHeight
End if
</code>
If I hardcode a value in pace if the 'DisclosureHeight', in the If
statement, then it works.
Well, I'm not sure if this is the problem, but I notice that just
from this code, the "if" test will never be true. In the Else clause
you set the height to DisclosureHeight, which (of course) is not
greater than DisclosureHeight. Perhaps you meant to use ">=" instead
of ">"?
HTH,
- Joe
--
Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>