PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Martin Francom on October 31, 2011, 02:25:28 AM

Title: FF35 comment
Post by: Martin Francom on October 31, 2011, 02:25:28 AM
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:
Title: Re: FF35 comment
Post by: Haakon Birkeland on October 31, 2011, 06:01:23 AM
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
Title: Re: FF35 comment
Post by: Martin Francom on October 31, 2011, 01:33:34 PM
Haakon,
   Thanks that did it.
Title: Re: FF35 comment
Post by: Haakon Birkeland on October 31, 2011, 02:31:59 PM
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)