SDK:IWidgetDataPopup::SetAt

From Vectorworks Developer
Jump to navigation Jump to search

.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference

Description

Member of SDK:IWidgetDataPopup

Set item <idName, text> pair at specified index in the list.

virtual bool SetAt(
size_t index,
const TXString& idName,
const TXString& text) = 0;

Parameters

index size_t Index to the item to be set.
idName const TXString& The item's new pair idName.
text const TXString& The item's new pair text.

Return Value

Return true if the item it set successfully. False if item was not found, meaning that the index is incorrect.