Either having the input control value set to the selected value (probably the easiest option) or changing the whole structure of how the component works so that the input control is the primary value holder. The only true fix is going to be having code updated in react-select. One other possibility that might at least make it not look so odd is to hide the blinking cursor with styling when the input is not active, but this would obscure the fact that a value could be typed in. Perhaps there is a way to have the input's value set to the selected value instead of being empty? Given the structure of this component I don't see an easy way to hack around it without modifying the actual react-select code. A SelectionSetcan be obtained from IFeatureClass::Selector ITable::Select. This can be used to retrieve, process and select rows or features. The input is only used for typing, and once a value is chosen it appears that the input is cleared and the span overlay shows the value (thus leaving a blinking cursor in an empty input control). ISelectionSet2 Remarks A SelectionSetis used to reference a set of rows or features. On the Display tab, select Feature Exclusion > Restore All. Note: These features can be restored by right-clicking on the layer in the Table of Contents and selecting Properties. Click Tools > Macros > Macros to display the Macros dialog box. I believe the root of the problem is that the actual value is stored in a span element and not the input control. Select the layer in the table of contents. I haven't had much time to look into this myself. Dim featureSelection As IFeatureSelection featureSelection featureLayer 'featureLayer is of the type IfeatureLayer Dim selectionSet As ISelectionSet selectionSet featureSelection.SelectionSet Dim cursor As ICursor selectionSet.Search(null, false, cursor) Dim row As IRow row cursor.NextRow() dim pPoly as IPolygon Dim pPointColl as.
0 Comments
Leave a Reply. |