Hello David,
Friday, February 28, 2003, 5:55:10 PM, you wrote:
WD> To whom it may concern:
WD> I have a VB program that links to a table in MapInfo. I run a query and wish
WD> to display the results in a PictureBox frame. I have no problem doing this.
WD> However, when I resize the pictureBox control using the Form's ReSize event,
WD> I notice that the PictureBox contents (the results of the query displayed as
WD> a browser) do no resize. I was wondering how I would go about resizing the
WD> PictureBox contents when the form is resized.
'display browser
MI.Do "Set Next Document Parent " & Browser.hwnd & "Style 1"
MI.Do "Browse * From " & """" & TabShortName & """"
BrowserWinID = MI.Eval("FrontWindow()")
BrowserWinH = MI.Eval("WindowInfo(" & BrowserWinID & ", " &
WIN_INFO_WND & ")")
---------------------------------
Private Sub Mapper_Resize()
Dim Result As Integer
If MapperWinID <> -1 Then
Result = MoveWindow(MapperWinH, 0, 0, Mapper.Width, Mapper.Height, True)
End If
End Sub
--
Best regards,
Vladimir Lashin
microOLAP Technologies LLC
-------------------------------------------------------------------------------------------------------
MBBuilder - Visual Development Tool for MapBasic -
http://www.microolap.com/products/gis/mbbuilder.htm
Raster Handler for ERDAS Imagine to MapInfo -
http://www.microolap.com/products/gis/imgrhl.htm
MapInfo Callbacks Manager ActiveX - http://www.microolap.com/products/gis/micmx.htm
EasyMap VCL - http://www.microolap.com/products/gis/easymap.htm
-------------------------------------------------------------------------------------------------------
mailto:[EMAIL PROTECTED]
http://www.microolap.com/gis/ - GIS related products
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 5739