FF35 comment

Started by Martin Francom, October 31, 2011, 02:25:28 AM

Previous topic - Next topic

Martin Francom

Nice job Paul. 
I haven't bin to the forum in a while. 
Just downloaded the new version and have start converting
some of my older FF31/PB9 programs.  Found a few problems but
I was able to figure out what I needed to do to fix them.  So far so good.

Notice one minor thing in the FF35 environment: When you select "Search"
from the drop down menu then select "Find In Files"   the dialog box that opens
opens to the  "Find" tab  rather than to the "Find In Files" tab.

I am having one problem with converting a little Language Translator program. The
program uses Jose's  OCXcontrol1   My problem is I can't seam to get the control to
resize when the main program window is resized.   I have tried the "ResiceRules" in the properties for the control but makes no difference.
Can anyone help me with this?

Attached is the project:

Haakon Birkeland

Toss this in the resize event function of the form;

QuoteMoveWindow( HWND_FRMMAIN_OCXCONTROL1, 0, 0, nWidth, nHeight, %False )

QuoteFunction FRMMAIN_WM_SIZE ( _
                         hWndForm      As Dword, _  ' handle of Form
                         fwSizeType    As Long,  _  ' type of resizing request
                         nWidth        As Long,  _  ' new width of client area
                         nHeight       As Long   _  ' new height of client area
                         ) As Long

   MoveWindow( HWND_FRMMAIN_OCXCONTROL1, 0, 0, nWidth, nHeight, %False )

End Function
Haakon 8o)

Martin Francom

Haakon,
   Thanks that did it.

Haakon Birkeland

You're welcome.

I assume Paul might drop by and inform us why the resize rules for the "control" didn't work,
and perhaps put the fix of it on his ever growing to-do list for the coming release(s) of FF.  8o)
Haakon 8o)