Difference between revisions of "SHOW OBJECT"

From Recital Documentation Wiki
Jump to: navigation, search
 
(Products)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SHOW OBJECT=
 
 
 
==Class==
 
Screen Forms
 
 
 
 
==Purpose==
 
==Purpose==
 
To redisplay a Recital Mirage object or call a Recital Mirage object method
 
To redisplay a Recital Mirage object or call a Recital Mirage object method
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[@…GET]], [[READ]], [[SHOW GET]], [[SHOW GETS]]
+
[[@...GET]], [[READ]], [[SHOW GET]], [[SHOW GETS]]
  
  
Line 25: Line 18:
 
<code lang="recital">
 
<code lang="recital">
 
function ButtonEventHandler
 
function ButtonEventHandler
show object "customer_name" properties "method=hide"
+
  show object "customer_name" properties "method=hide"
 
return .t.
 
return .t.
  
Line 36: Line 29:
  
 
==Products==
 
==Products==
Recital Mirage Server
+
Recital Mirage  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:Screen Forms]]
 +
[[Category:Screen Forms Commands]]

Latest revision as of 16:16, 25 November 2009

Purpose

To redisplay a Recital Mirage object or call a Recital Mirage object method


Syntax

SHOW OBJECT <expC1> [PROPERTIES <expC2>]


See Also

@...GET, READ, SHOW GET, SHOW GETS


Description

The SHOW OBJECT command is only available in Recital Mirage: it is ignored in Recital Terminal Developer. It allows Recital Mirage objects to be redisplayed on the screen or their methods to be called. Objects are assigned in Recital Mirage using the id = <object_name> syntax in the PROPERTIES clause of @…SAY and @…GET commands. For more information on the PROPERTIES clause and the methods appropriate to each object, please see The Mirage Object Model in the Recital Mirage documentation.


Example

function ButtonEventHandler
  show object "customer_name" properties "method=hide"
return .t.
 
@2,0 say "Customer Name:" properties "id=customer_name"
store 1 to mchoice
@3,3 get mchoice picture "@*H Update" valid ButtonEventHandler()
read


Products

Recital Mirage