MetaCase Homepage
Forum Home Forum Home > > MetaEdit+
  New Posts New Posts RSS Feed - Position information of object on graph
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Position information of object on graph

 Post Reply Post Reply
Author
Message
iceman View Drop Down
Major Contributor
Major Contributor
Avatar

Joined: 19.Jun.2011
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote iceman Quote  Post ReplyReply Direct Link To This Post Topic: Position information of object on graph
    Posted: 27.Jun.2013 at 11:30
I want to build a very simple user interface language with buttons,labels,textfield. The generated code is a xml file for example:

<screencomponents>
    <textfield y="100" x="50" width="924" textsize="50" >
        <part type="text">Please put on the SPO2 sensor as shown in the video.</part>
    </textfield>
    <video y="280" x="192" width="640" height="480">
        <path>SPO2Instructions.flv</path>
    </video>
    <button y="10" x="28" width="80" textsize="14" label="SKIP" icon="none" height="30" />
</screencomponents>

How can i get position information of the objects from the graph when I write the generator? Can you give a code sample for the above xml schema?
Back to Top
stevek View Drop Down
MetaCase
MetaCase
Avatar

Joined: 11.Mar.2008
Points: 643
Post Options Post Options   Thanks (0) Thanks(0)   Quote stevek Quote  Post ReplyReply Direct Link To This Post Posted: 27.Jun.2013 at 12:36
Please see the MERL Representation commands like x, y, width, height, left, top in the manual.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.05
Copyright ©2001-2022 Web Wiz Ltd.

This page was generated in 0.031 seconds.