SHOW OBJECT

From Recital Documentation Wiki
Jump to: navigation, search

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