POST
|
Let's say I have the following simple case: I have a combobox and a button. When I press the button, I want to display the selected item from the combobox in a messagebox. How do I, from the button click event handler, access the items and selected item from the combobox? I have tried the pluginwrapper, but that only permits access to DAML properties (i.e. caption etc.). It is frustrating because when debugging, I can see a reference to the combobox, but it is private and cannot be accessed. I have tried casting the pluginwrapper and I have failed to find any way of unwrapping it. I further tried to use DAML categories and Categories.GetComponentElements, however I don't get anything back there. Full source attached (it's very simple code). Am I using categories wrong? If so, how? What is the right way to access elements of another control? (either as e.g. ComboBox, or even better as the implementation ComboBox1 or whatever it may be called).
... View more
08-01-2018
11:51 PM
|
0
|
1
|
932
|
BLOG
|
Thanks Marjean! That is nifty indeed. Sparks my lust for doing more maths again. Thank you!
... View more
04-03-2017
11:50 PM
|
0
|
0
|
306
|
BLOG
|
Hi MPobuda-esristaff - looking forward to get my introduction to R and ArcGIS! I'll return feedback when I get to them. This is kind of unrelated, but where is that picture of statistical functions from your profile from?? It's very cool I can't figure out how to message directly in Geonet haha (can you do this?).
... View more
03-31-2017
12:06 AM
|
0
|
0
|
306
|
POST
|
This is not really related to the python part, but I would still like to suggest using the GeoEvent Server, with the input connector "Poll an ArcGIS Server For Features". It can be configured with queries, e.g. to only get the rows with something like a "MissingPermit" status set and then update that status when the email has been sent (GeoEvent Server can send emails too with en output connector).
... View more
03-24-2017
02:41 AM
|
1
|
0
|
759
|
POST
|
Hi Sharon, I am pretty sure you can't. Perhaps the easiest way is to convert the XML to CSV, if possible. I found the following site to work pretty well: XML To CSV Converter
... View more
02-09-2017
12:45 AM
|
0
|
0
|
314
|
Title | Kudos | Posted |
---|---|---|
1 | 03-24-2017 02:41 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|