CellEdit32 PortNumber Property

long PortNumber

Gives the ordinal position of the currently selected port in the list of input or output ports.  If there is no currently selected port, the property returns -1.   The first port in the list is port 0.  The input and output lists for a particular cell are separate from one another.  The property PortType determines whether the port is an input or an output port.

This property can be used to select a port.  First select input or output ports using the PortType property.   Then assign a number to the port to select the port in that position.

Default Value: None

Not Available at Design Time

Read/Write at Run Time


This page is Copyright (C) 1999, Peter M. Maurer
EMail: Peter_Maurer@Baylor.edu
Web Site: http://cs.baylor.edu/~maurer