<?xml version="1.0" encoding="UTF-8"?> <!-- * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> <helpdocument version="1.0"> <meta> <topic id="textsbasicshared03103900xml" indexer="include" status="PUBLISH"> <title id="tit" xml-lang="en-US">FindPropertyObject Function</title> <filename>/text/sbasic/shared/03103900.xhp</filename> </topic> <history> <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> </history> </meta> <body> <section id="findpropertyobject"> <bookmark xml-lang="en-US" branch="index" id="bm_id3146958"><bookmark_value>FindPropertyObject function</bookmark_value> </bookmark> <h1 id="hd_id3146958"><link href="text/sbasic/shared/03103900.xhp">FindPropertyObject Function</link></h1> <paragraph role="paragraph" id="par_id3154285" xml-lang="en-US">Enables objects to be addressed at run-time as a string parameter using the object name.</paragraph> </section> <embed href="text/sbasic/shared/03103800.xhp#examplefindobject"/> <paragraph role="paragraph" id="par_id3150868" xml-lang="en-US">See also: <link href="text/sbasic/shared/03103800.xhp">FindObject</link></paragraph> <h2 id="hd_id3147287">Syntax:</h2> <bascode> <paragraph role="bascode" id="par_id3149560" localize="false" xml-lang="en-US">FindPropertyObject( ObjVar, PropName As String )</paragraph> </bascode> <h2 id="hd_id3150012">Parameters:</h2> <paragraph role="paragraph" id="par_id3109839" xml-lang="en-US"> <emph>ObjVar:</emph> Object variable that you want to dynamically define at run-time.</paragraph> <paragraph role="paragraph" id="par_id3153363" xml-lang="en-US"> <emph>PropName:</emph> String that specifies the name of the property that you want to address at run-time.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#errorcode"/> <embed href="text/sbasic/shared/00000003.xhp#err5"/> <embed href="text/sbasic/shared/00000003.xhp#err12"/> <embed href="text/sbasic/shared/00000003.xhp#err14"/> <embed href="text/sbasic/shared/00000003.xhp#err52"/> <embed href="text/sbasic/shared/00000003.xhp#err57"/> </body> </helpdocument>