On Apr 14, 2006, at 3:39 AM, Dr Gerard Hammond wrote:

At 9:48 AM +0200 14/4/06, Sven E Olsson wrote:
On 14 apr 2006, at 00.53, GregO wrote:


Have you noticed that this is only a problem if you use .ShowWithin? if you just use show (which only allows the default setting of Left/Right) it works just fine.

GregO

Hi GregO!
Yes I found that, I have spent some hour trying find an workaround.
I use your idea in one of my apps.
Now... This is some comic ... I have problems with an feature that works well... Text Drag and Drop in an EditField works by automatic (well). But in my case, i would
handle it by my self to do some trick... (But I find it out soon...)


Unfortunatley this doesn't work for me.
I need to put the draw on th eleft hand side so I need to designate the side via the ShowWithin call. For me, in 6r2, the left, and riight draws are now the correct height until I resize the central document window.

I have one project that used a drawer window. I put it on the right side using the Showwithin call and I can resize the main document window and the drawer resizes just fine. My main document window is called mainWND, the drawer window is fileWND. In the resize event for the mainWND, I have this snippet of code:

  If fileWNDOpen=True Then' we need to resize this as well
    i=MainWND.Height
    fileWND.Height=i-18' resize the window for me
    fileWND.Top=0' always make it zero
  End If

I only allow my drawer to appear on the right side of the main window so when I open it, I have this code to do it:

    fileWND.Hide' hide the window, do the adjusting
    i=MainWND.Height
    fileWND.Height=i-18' resize the window for me
    fileWND.Top=0
    fileWND.ShowWithin(MainWND,2)' draw it on the right hand side

Any way, it works fine on the right side for me.

Mel
_______________________________________________
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>

Reply via email to