Knowledge Base Article

Home Page > Knowledge Base > Rapise

Article Detecting the presence of an object in Rapise

by Adam S on Monday, November 26, 2012

Often you need to be able to check for the presence of an object and then depending on whether the object is visible perform one of two possible sets of operations. This article explains the recommended way of doing this in Rapise 1.5.

You can use the special SeSFindObj('object name') command to perform the check:

 if(SeSFindObj('Object Name'))
 {
      // Object is available
 }
 else
 {
      // Object is not available 
 }

 

Attachments
Article Info
Last Updated: 11/26/2012
Article ID: KB28
# Views: 2888
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.