Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5    Statistic    FMM    Blog  

FM.DataViewerContent

Looks for data viewer and copies visible table content.

Component Version macOS Windows Linux Server iOS SDK
FM 6.3 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "FM.DataViewerContent" )

Parameters

none

Result

Returns text or error.

Description

Looks for data viewer and copies visible table content.
This is useful to capture values from data viewer automatically while debugging and storing it somewhere, e.g. a log file.

Examples

Sets variables and copies their content:

Set Variable [$r; Value:"Hello"]
Set Variable [$$r; Value:"Hello global"]
Set Variable [$l; Value:MBS( "FM.DataViewerContent" )]
Show Custom Dialog ["Data Viewer"; $l]

Write to log file:

MBS( "Text.AppendTextFile"; Get ( CurrentTimeStamp ) & ": " & MBS( "FM.DataViewerContent" ) & ¶; "/tmp/dataviewer.log"; "UTF8" )

See also

Blog Entries

Created 18th June 2016, last changed 18th June 2016


FM.DataType - FM.DeleteRecord

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat