VS:vsoPrmName2WidgetID: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{LocationMain|category=LocationVS|specific=}} | {{LocationMain|category=LocationVS|specific=}} | ||
__TOC__ | __TOC__ | ||
<vwDoc> | <vwDoc> | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<desc> | |||
Retrieves the widget id of a field from the plugin-definition by name. | |||
The opposite of [[VS:vsoWidgetGetRecParam|vsoWidgetGetRecParam]] | |||
</desc> | |||
<def> | <def> | ||
<funcDef lang="vs"> | <funcDef lang="vs"> | ||
FUNCTION vsoPrmName2WidgetID(recName:STRING; paramName:STRING; VAR outWidgetID:LONGINT) : BOOLEAN; | FUNCTION vsoPrmName2WidgetID(recName:STRING; paramName:STRING; VAR outWidgetID:LONGINT) : BOOLEAN; |
Latest revision as of 07:05, 2 September 2018
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Retrieves the widget id of a field from the plugin-definition by name.
The opposite of vsoWidgetGetRecParam
FUNCTION vsoPrmName2WidgetID(
recName :STRING;
paramName :STRING;
VAR outWidgetID :LONGINT) : BOOLEAN;
def vs.vsoPrmName2WidgetID(recName, paramName): return (BOOLEAN, outWidgetID)
Parameters
recName STRING paramName STRING outWidgetID LONGINT
Remarks
For this function to work, you need to use an empty string for the record name.
Version
Availability: from Vectorworks 2011