Hide Table of Contents
OnComboboxSelectionChanged Method (IPropertyManagerPage2Handler7)

Obsoleted. Superseded by IPropertyManagerPage2Handler8::OnComboboxSelectionChanged.

.NET Syntax

Visual Basic (Declaration) 
Sub OnComboboxSelectionChanged( _
   ByVal Id As System.Integer, _
   ByVal Item As System.Integer _
) 
Visual Basic (Usage) 
Dim instance As IPropertyManagerPage2Handler7
Dim Id As System.Integer
Dim Item As System.Integer
 
instance.OnComboboxSelectionChanged(Id, Item)
C# 
void OnComboboxSelectionChanged( 
   System.int Id,
   System.int Item
)
C++/CLI 
void OnComboboxSelectionChanged( 
&   System.int Id,
&   System.int Item
) 

Parameters

Id

ID of the combo box

Item

ID of the item

Remarks

If the user can edit the text in the text box, then use this method with IPropertyManagerPage2Handler7::OnComboxEditChanged to  find out what is in the text box of the combo box.

 

When this method is called, the control may not yet be updated with the current selection, so the IPropertyManagerPageCombobox::CurrentSelection property is not reliable. To get the current text, use the value of Item that is passed into the method as the argument to IPropertyManagerPageCombobox::ItemText.

 

If the user has edited the text in the text box and then clicks the arrow to show or hide the list box of the combo box, and the text in the text box matches the first character in any of the items in the list, then that item is automatically selected in the list and this method is called, indicating that the selected item has changed.

 

See Also

Availability

SolidWorks 2010 FCS, Revision Number 18.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   OnComboboxSelectionChanged Method (IPropertyManagerPage2Handler7)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:




x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2013 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.