Hi everyone
I have to draw into the Cosmetic Layer. I use the following method :
===
Dim my_obj As Object
Create Rect Into Variable my_obj (x1,y1) (x2,y2) ..
Insert Into Cosmetic1 (Obj) Values(my_obj)
Hi everyone
Another question...
My main Mapbasic application uses a standard Mapinfo handler, like
WinChangedHandler.
If I run another MBX application from this main application, is it possible
to use another WinChangedHandler handler for this slave application
without conflict ?
Of
Hi Cristophe,
It's not only possible, it's how MIPro works :-)
Every mbx is a sandbox, with it's own set of event handler routines. These
routines are fired by MIPro in sequence when required, thus they don't
interfere with each other (unless programmed to do so). The order of the
execution
Dear All
I currently have a excel sheet containing some crime data without any X Y
coordinates. What I want to be able to do is create a MapInfo table with the
data in and the just highlight the data row and create a point on the map for
the data. Is this possible to do (as when you just input
Hi Andrew
Open your Excel table in MapInfo and save a copy with a different filename (or
in a different folder). Close the original table and open the copy. This will
be editable.
Make your data table mappable (TableMaintenanceTable structure) and set the
projection to match the map.
Now add
Hello all,
When I run FileSaveasDlg the manual says that it returns a string value,
but I can't seem to pull it. That line of code is
file_name = FileSaveAsDlg(MIDrive,thisfile,mdb,Save As New)
With file_name declared as a string. When I do this, it says that the
function does not return a
Assuming you are picking the file in the dialog and clicking OK:
Put a
note file_name
in your code after the FileSaveasDGL command to see what it has stored.
You should see a popup with the file you chose in the dialog.
-Original Message-
From: Alan Gunn [mailto:[EMAIL PROTECTED]
Steve,
Thanks again for the reply. I was afraid to bother you too much.
I actually did try that:
Sub SaveScenAs
thisfile =
MIDrive = C:\RedistDB\MB Tools\tabcall
Commit Table log as
file_name = FileSaveAsDlg(MIDrive,thisfile,tab,Save
As
Alan,
MapInfo sees the 1 line below as 1 command. That is your problem. Split it
in 2 or whatever you had planned should happen.
Regards
Uffe
- Original Message -
From: Alan Gunn [EMAIL PROTECTED]
To: Nabors, Steve [EMAIL PROTECTED]
Cc: mapinfo-l@lists.directionsmag.com
Sent: Thursday,
Your code is wrong. The target of the 'Commit Table As' cannot be
file_name = FileSaveAsDlg(MIDrive,thisfile,tab,Save as new)
That doesn't evaluate to a string as it would in C, for example.
You need to get the value for file_name first, then use that as the target
for the commit. Try this
Thanks everyone. I now see the light.
-Original Message-
From: Bill Thoen [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 19, 2005 10:47 AM
To: Alan Gunn
Cc: Nabors, Steve; mapinfo-l@lists.directionsmag.com
Subject: RE: MI-L return value
Your code is wrong. The target of the 'Commit
Here I guess the problem is that the variable has been put in quoutes. remove
the quotes and it whould be working
If CommandInfo(CMD_INFO_DLG_OK) Then
Select * from parcels_shape_gda94
where Pid = Int(search_pid) into pid_sel
End If
If TableInfo (pid_sel,
12 matches
Mail list logo