|
POST
|
Hi Daniel, I guess I'm not understanding your issue. If I just open the form using MyForm.Show(), then it appears in front of the ArcMap window. If I click on ArcMap, then the ArcMap window will move in front of the form. I can click on the form in the Taskbar to bring it back in front of ArcMap. I work in NOS in the Biogeography Branch. I think we might have crossed paths in working with data in the Gulf of Maine.
... View more
04-06-2011
11:37 AM
|
0
|
0
|
303
|
|
POST
|
Here's an example. First is the Window Wrapper class
Public Class Win32HWNDWrapper
Implements System.Windows.Forms.IWin32Window
Private _hwnd As System.IntPtr
Public ReadOnly Property Handle As System.IntPtr Implements System.Windows.Forms.IWin32Window.Handle
Get
Return _hwnd
End Get
End Property
Public Sub New(ByVal Handle As System.IntPtr)
_hwnd = Handle
End Sub
End Class
and the code to open a form
MyForm.Show(New Win32HWNDWrapper(m_application.hWnd))
... View more
04-06-2011
10:10 AM
|
0
|
0
|
1932
|
|
POST
|
The TimeSliderSkin (along with many other skins) are distributed with the version 2.x of the API. The skin is located in ArcGIS_Flex\skins\src\com\esri\ags\skins
... View more
04-06-2011
06:07 AM
|
0
|
0
|
845
|
|
POST
|
This is more of an issue with resolution of the basemaps you're using and the size of their tiles. Tiled map services will show the data at a specific scale, which is dependent on the size of your map. If the extent you've designated doesn't match the tiled service's scale, I believe it zooms in to a smaller extent. You'll be able to have the precise extent when using a dynamic service, but tiles services are a bit more finicky.
... View more
04-04-2011
08:04 AM
|
0
|
0
|
2770
|
|
POST
|
This makes me wonder if the menu's OnDemand also needs to be set.
... View more
03-31-2011
09:26 AM
|
0
|
0
|
1041
|
|
POST
|
Have you added the OnDemand attribute to the button in the Config.esriaddinx file? See the help for more information about Delay loading
... View more
03-31-2011
07:27 AM
|
0
|
0
|
1041
|
|
POST
|
This is the code that disables a command button if ArcMap is in Layout mode. Don't forget to also make the changes to the Config.esriaddinx file discussed here to make the button enabled or disabled on startup.
Protected Overrides Sub OnUpdate()
'Enabled = My.ArcMap.Application IsNot Nothing
If TypeOf pMxDoc.ActiveView Is ESRI.ArcGIS.Carto.IPageLayout Then
Enabled = False
ElseIf TypeOf pMxDoc.ActiveView Is ESRI.ArcGIS.Carto.IMap Then
Enabled = True
End If
End Sub
... View more
03-31-2011
05:33 AM
|
0
|
0
|
1236
|
|
POST
|
You can find the older versions of the Flash Debug player here
... View more
03-28-2011
09:53 AM
|
0
|
0
|
666
|
|
POST
|
Take a look at Mansour Raad's blog on constraining the extent
... View more
03-23-2011
09:23 AM
|
0
|
0
|
482
|
|
POST
|
This is one of the tools that are only available with an ArcEditor or ArcInfo License. The help topics on the tools shows what license level are required to run them.
... View more
03-23-2011
09:17 AM
|
0
|
0
|
965
|
|
POST
|
This would be more useful in the ArcGIS Viewer for Flex forum
... View more
03-23-2011
05:28 AM
|
0
|
0
|
1910
|
|
POST
|
Open the project properties window and check whether the option "Start external program" selection has been chosen in the Start Action section, and that it points to ArcMap.exe
... View more
03-22-2011
10:38 AM
|
0
|
0
|
3535
|
|
POST
|
2. In ArcGIS Server 10.1 due this summer the server team as made great strides to make web printing better out of the box. As you are still on ArcGIS Server 9.3.1 and 10 has been out for some time now this might be a mute point. Actually, the 10.1 Beta is supposed to be coming out this summer...the final release is scheduled to come out before the 2012 Users Conference.
... View more
03-17-2011
07:59 AM
|
0
|
0
|
1312
|
|
POST
|
Hi Greg, I've made a project that integrates the TOC component that Tom Hill created for Flex 3 with the Legend component in a Flash Builder 4 project. As each layer is clicked on and offer, its legend is added or removed. As an added bonus, I have also included the code that will identify features in the visible layers and put them into a single InfoWindow, with the selected features of each layer listed in a datagrid on a separate tab. The forum won't let me upload the project, but the screen shots give you an idea of what it does. Let me know if you'd like to see the project.
... View more
03-03-2011
11:31 AM
|
0
|
0
|
2569
|
|
POST
|
You can pass either a string of the full name of the input object class (C:\Data\table.dbf or C:\Data\test.gdb\testtable) to a geoprocessing tool or a reference to the actual object, but you can't just send the name without the path (table.dbf or testtable). In one tool, CreateFeatureClass, there is a bug (NIM006068) where the template property cannot accept a reference (IDataset::FullName), but will only accept a string of the full path and name of the feature class. Have you examined the results of running the geoprocessing tool (found under the Geoprocessing|Results in the main menu)? Even for processing running in scripts, it will report any errors that may occur and you can figure out what is going wrong with your code. The attached image shows the results of a test application using the geoprocessor.
... View more
03-02-2011
05:18 AM
|
0
|
0
|
1012
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-04-2025 06:39 AM | |
| 1 | a week ago | |
| 1 | 04-10-2026 12:01 PM | |
| 1 | a month ago | |
| 1 | 10-11-2023 06:18 AM |
| Online Status |
Online
|
| Date Last Visited |
an hour ago
|