DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

graphobj variable access

I can't figure out how to access a variable within a graph object.
 
For example, I set the variable like this...
 
Call GraphObjOpen(Name)
    TxtPosX  = mleft
    TxtPosY   = mtop
Call GraphObjClose(name)
 
Later on I tried to access the TxtPosX, TxtPosY  variables like this
 
     Call GraphObjOpen("2DAxis1")
        mleft = TxtPosX  
        mtop  = TxtPosY   
      Call GraphObjClose("2DAxis1")
 
I get a error.  How do I access these settings?
 
Jim West
0 Kudos
Message 1 of 2
(3,456 Views)

Hello Jim!

You have to know that different objects cann differ in their object type and they have a different set of variables. For example a text object has the variable TxtPosX an axis system not! The easiest way to get the variable list is to open the object dialog in REPORT and press Ctrl+A and paste the result in a text editor.

Matthias

Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 2
(3,451 Views)