Dlog-Set PIO parm choice string by index

From Vectorlab
Jump to: navigation, search


Procedure to set the choice by index of a parameter in plug-in objects. By Orso B. Schmid


{ Orso B. Schmid ************************************************ }
{ sets choice by index for plug-ins }
PROCEDURE D_SetChoiceIndx(pioOrDocH : HANDLE; pioName, itemName: STRING; choiceIdx: INTEGER);
	BEGIN
		SetRField(pioOrDocH, pioName, itemName, GetCustomObjectChoice(pioName, itemName, choiceIdx));
	END;