VS:GetChoiceCount
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Gets the number of items in the component that contains the choices.
PROCEDURE GetChoiceCount(
dialogID :LONGINT;
componentID :LONGINT;
VAR outCount :INTEGER);
def vs.GetChoiceCount(dialogID, componentID): return outCount
Parameters
dialogID LONGINT the dialog identifier given by CreateLayout or CreateResizableLayout componentID LONGINT The identifier for the component that contains the choices. outCount INTEGER The number of items in the component.
Version
Availability: from Vectorworks 2010