How to display an object that links to another object

I am trying to find out how display 2 objects (box's) in a frame and connect them with a line so if I move one box the line stays connected.
Can anyone point point in the direction of any tutorials or example.
Eventually I plan to change these box's to be a database table containing attributes and the link representing the fk.

Eric_Davidson wrote:
I am trying to find out how display 2 objects (box's) in a frame and connect them with a line so if I move one box the line stays connected.
Can anyone point point in the direction of any tutorials or example.
Eventually I plan to change these box's to be a database table containing attributes and the link representing the fk.Which part do you need help with? The drawing of the boxes, the handling of the GUI, the dragging, etc?
Do you have any code started?

Similar Messages

  • Selecting an object that is behind another object

    Is there a keyboard command for selecting objects that are behind other objects in the stacking order? or is the only way to select them from layers menu? i'm always selecting the object that is on top of what I want to select, and wonder if there is a keyboard command to "click down" to the object i'm aiming for
    thanks!

    Scot18 wrote:
    I've tried copying this idea by giving the car class a data value reference to a person class, but when I dereference the reference using an in place loop and call a method on it I get data from the moment the reference was made and not the current data of the person class.
    Yes, LVOOP uses value based references, and when you split the wire to write the owner you created a data copy. The function you're after requires you do use a DVR for all class functions in which case you'll get reference based OOP, which is more familiar coming from text based OOP.
    It just so happens that G# uses that approach, take a look at it.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Can ObjectStates become buttons that link to another object state?

    Hi. I am working on Adobe CS5 and I am trying to create an Image gallery.  I know how to create the basic type which is stacking the images, making them as object states, and then linking the navigation buttons to "Next State".
    The type of image gallery i'm trying to make involves thumbnails. In the thumbnails menu, there are back and forward arrows that will move the thumbnails from left to right. The way i did it was grouping the thumbnail images, convert them as object states, and just do the Left/Right animation through the Object State menu. The problem is, I can't make those thumbnails link to the picture it is assigned to. The Object states that appear in the button menu is just the object state of the thumbnails and not the Image viewer it self.
    If it is needed that i post a SWF demonstration of this, can someone show me how to?

    Here is a sample image
    What I'm trying to do is have a scroll like action with the thumbnails and when the user clicks the specific picture/thumbnail, the enlarged image will appear on the top.
    the only way i can create the scrolling action is by making the thumbnails into MOS and just change their position in each state. the problem is I can't link the thumbnails specifically to the image it is supposed to display. I hope this explanation helps.

  • I need to create a button that links to another swf file...

    i'm creating my first website, and, for each menu item, i am
    creating a new flash document... is this the correct way to create
    a multi-page website?
    plus: how to create a button that links to a jpg, thanks!
    jane

    Creating separate swf's these days as far as I know is
    considered to be a better practice than using the "scenes" that are
    in Flash. The reason is you can load various sections of your
    entire Flash entity rather than the user downloading everything at
    once.
    But, it also depends on the complexity of where your menu
    items are leading. If they are simple enough, then there may be no
    need to create new documents.
    To create a button that links to a jpeg, try this.
    Whatever graphic you're using for the button, select it and
    hit F8 to convert it to a movie clip. Once it's in your library,
    click on your new movie clip on the stage and give it an instance
    name in the properties window.
    Click the first frame in your timeline (preferably on a layer
    named "actions") and put this example in for the actionscript:
    //buttonName is the instance name you gave it
    //.onPress tells Flash when buttonName is pressed then do
    what's
    //inside the brackets of the function
    buttonName.onPress = function (){
    //getURL is the Flash function that will load your
    picture.jpg
    //_blank is the target. e.g. _blank, _self etc.
    getURL("picture.jpg", "_blank");
    }

  • How to create text buttons that link to video?

    I've finally gotten around to trying DVD SP, and even though I read the whole manual, it's not at all clear if, or how, you can create text buttons that link to the video you want to play, without displaying a clip of that video in the button itself.
    I have no problem creating a text button, but I can't change the font, and editing is counter-intuitive, unlike iDVD. I'd use iDVD, but it doesn't accept .m2v files, and it seems to think that my 6 videos of about 43 minutes each are too large for a DVD+DL disc, so it won't let me burn it or save it as a disc image.
    Does anyone have a way out of this conundrum, or am I SOL?
    Mulder

    It really isn't that hard!
    As Drew said, go into your menu and click and drag to create a button rectangle. With the button highlighted, look in the property inspector at the bottom and type in the text that you want to use. Ensure that you 'include in button highlight' and then set the colour choice for selected and activated.
    What you get is a simple line of text which illuminates when you roll over it, and changes colour when you click on it.
    Once that is done, click on the button area again and set the target to go to the piece of video that you want to have play back.
    You should also set the menu call and end jump on that track to make sure your viewer can get back to the menu.
    Once that is done the menu will show as a simple piece of text (more buttons means more bits of text, and the first button will be highlighted by default) and no video will play until the button is activated.
    DVDSP is definitely a steeper learning curve than iDVD but for very good reasons. You get far greater control and access to far more advanced features in DVDSP. This means that some things will seem harder, whereas in fact they are just different and the process for achieving the result you want is different. Much of what you want to know is in the manual and also in the tutorials which came with the app. Failing that there are several good online spaces where you can find a lot more information... not least of which is right here, of course!

  • How To display a table that resides in the database via JFrame.

    Hi,
    I need to display the contents that present in the table that resides in my database.
    Scenario:
    Im having Main frame window, in that im having a button, while clicking that button a new JFrame should be opened & it should display all the rows & cols of dat table that resides in my DB.
    I have no prob in opening a new JFrame during a button click, but i dont knw how to display table in the table format.
    I tried JTable but i dont know how to pass the data into the JTable.
    Kindly help me out!!!

    JTable relies on a TableModel to deliver data. You have several ways of providing this data:
    - Read it into either a Vector of Vectors (list of rows containing list of columns) or an Object[][] and create the JTable while passing the data.
    - Create a javax.swing.table.DefaultTableModel, pass it to the JTable as a model, configure it and call addRow() in order to add rows.
    - Create a custom table model class; see javax.swing.table.AbstractTableModel for a convenient base class

  • What plugin or what else use to make cool small window appear when I move on to a link, displaying content of that link on en.wikipedia

    Hi,
    On my previous computer, I had cool feature on my Firefox working on en.Wikipedia.
    When I moved mouse coursor over link, automatically window appear with content of that link. Link was to wikipedia.
    This windows was realy cool, cause I could move it, or click "more" so more content was displayed on this window. I could display few such windows on one page I was currently. I could move each where ever I wounted.
    So beeing on one page on en.wikipedia I could see explanation of words used in this page, also used from wikipedia, just moving over this word, which was link, and I could display few such windows, that I could move through whole page.
    I used older version of Firefox, on different computer, on Windows Vista laptop.
    I searched for such plugin, but I couldn't find it. I find one kind a similar, QuickWiki, but much simpler, and much less functional.
    I don't know how to find it. It was valuable tool for me. I used a lot of Wiki. Using this tool my job was much easier, as I didn't have to go to new page each time I wan't to check meaning of that word.
    Please, help me if you know what to do or what tool to use.
    Best regards,
    Artur

    Thanx :) It's even more than I wanted.
    I can see web page in small window, without opening new tab, just moving my mouse over a link. Cool, really usefull. Thank you.

  • How to sort a Vector that stores a particular object type, by an attribute?

    Hi guys,
    i need help on this problem that i'm having. i have a vector that stores a particular object type, and i would like to sort the elements in that vector alphabetically, by comparing the attribute contained in that element. here's the code:
    Class that creates the object
    public class Patient {
    private String patientName, nameOfParent, phoneNumber;
    private GregorianCalendar dateOfBirth;
    private char sex;
    private MedicalHistory medHistory;
    public Patient (String patientName, String nameOfParent, String phoneNumber, GregorianCalendar dateOfBirth, char sex) {
    this.patientName = patientName;
    this.nameOfParent = nameOfParent;
    this.phoneNumber = phoneNumber;
    this.dateOfBirth = dateOfBirth;
    this.sex = sex;
    this.medHistory = new MedicalHistory();
    Class that creates the Vector.
    public class PatientDatabase {
    private Vector <Patient> patientDB = new Vector <Patient> ();
    private DateFunction date = new DateFunction();
    public PatientDatabase () throws IOException{
    String textLine;
    BufferedReader console = new BufferedReader(new FileReader("patient.txt"));
    while ((textLine = console.readLine()) != null) {
    StringTokenizer inReader = new StringTokenizer(textLine,"\t");
    if(inReader.countTokens() != 7)
    throw new IOException("Invalid Input Format");
    else {
    String patientName = inReader.nextToken();
    String nameOfParent = inReader.nextToken();
    String phoneNum = inReader.nextToken();
    int birthYear = Integer.parseInt(inReader.nextToken());
    int birthMonth = Integer.parseInt(inReader.nextToken());
    int birthDay = Integer.parseInt(inReader.nextToken());
    char sex = inReader.nextToken().charAt(0);
    GregorianCalendar dateOfBirth = new GregorianCalendar(birthYear, birthMonth, birthDay);
    Patient newPatient = new Patient(patientName, nameOfParent, phoneNum, dateOfBirth, sex);
    patientDB.addElement(newPatient);
    console.close();
    *note that the constructor actually reads a file and tokenizes each element to an attribute, and each attribute is passed through the constructor of the Patient class to instantiate the object.  it then stores the object into the vector as an element.
    based on this, i would like to sort the vector according to the object's patientName attribute, alphabetically. can anyone out there help me on this?
    i have read most of the threads posted on this forum regarding similar issues, but i don't really understand on how the concept works and how would the Comparable be used to compare the patientName attributes.
    Thanks for your help, guys!

    Are you sure that you will always sort for the patient's name throughout the application? If not, you should consider using Comparators rather than implement Comparable. For the latter, one usually should ensure that the compare() method is consistent with equals(). As for health applications it is likely that there are patients having the same name, reducing compare to the patient's name is hazardous.
    Both, Comparator and Comparable are explained in Sun's Tutorial.

  • DW5 - How to list all pages that link to a specific page?

    Hi all, I'm using DW5 and need to completely remove a specific page. How can I get DW to check through the whole site and make a list of all other pages that link directly to the page I want to remove?
    I'm sure it must be simple, but can't seem to get the result I need. Can someone spare a few minutes to spell it out for me please?

    I would do a Find on the page name...source code...in the entire local site...and be given a list of pages that include that page name. Then you can go into the Results window, where they are listed, and by double-clicking go directly to each reference.
    You may also save a copy of the report in XML... (the save icon is a small floppy disk image on the left border of the Results Panel.
    Beth

  • Object Types--Link to business object in SBWP

    Hi All,
    In SBWP, there is an option under path Document>Create Attachment>Link to business object, in this list there is no Purchase Order,Purchase Requisition, Maintenance work order.
    Need to know how to add these business objects to this list.
    Thank You,
    Manoj

    Hi
    check the following settings
    SPRO--> cross Appl  component>Document management>Control data>Define document types-->select doc type >define  object link--->enter PORDER     Production Order
    Regards
    Sujit

  • How to grant access to view linked in another DB

    Hello,
    I have two DBs. "DatabaseA" and "DatabaseB". I have table "tableA" in databaseA and I have created view in "ViewB" which contains simple SQL query "select * from DatabaseA.dbo.tableA".
    Rigth now I want to get user access to view "viewB" without possibility to see original databaseA tableA

    Rigth now I want to get user access to view "viewB" without possibility to see original databaseA tableA
    If you really have to stick to views, one option is to enable
    database-ownership-chains between those 2 databases.
    Be careful to only enable those 2 databases via
    ALTER DATABASE [DB1]
    SET DB_CHAINING ON
    ALTER DATABASE [DB2]
    SET DB_CHAINING ON
    Then they have to be owned by the same Server Principal/Login (preferably
    not a sysadmin, but that's yet another discussion)
    You can read more about such ownership-chains here:
    http://technet.microsoft.com/en-us/library/ms188676%28v=sql.105%29.aspx
    You then have to be very careful with ALL Objects in Database 1 and 2 - because the chain will work for all of them - as long as they share a common owner. You would have to make sure that only that table (schema) is owned by the same owner.
    And if DDL-permissions come into play, this becomes almost impossible to secure..
    So If you do not fully understand the risks involved by this, I would advise against such a setup and refer to other options.
    One better option even with Views:
    Even with views you can select from a function. And functions can be signed with a certificate.
    So a much more secure option is to go for Certificate Mapped Logins, working for only specific objects that you sign.
    http://msdn.microsoft.com/en-us/library/ms173463.aspx
    I can't find a complete article on that this moment, but I'm sure you can find it.
    Andreas Wolter
    Microsoft Certified Master SQL Server 2008
    Microsoft Certified Solutions Master SQL Data Platform, SQL Server 2012
    Blog: www.insidesql.org/blogs/andreaswolter
    Web: www.andreas-wolter.com |
    www.SarpedonQualityLab.com

  • How to display two or more links in a single column

    Hi,
    Is there a way to display two links in a single column in a sql query report . I am able to specify one but I am not able to add links to the same column . I want to take the same column id and redirect the user to different pages based on the values selected .
    Thanks

    There is no way to this declaratively that I know of. Some alternatives...
    1. Put the conditional branching logic in the report SQL itself. e.g. case when ... then '< a href=..' else '< a href=...' end and make sure the column display type is Standard Report column
    2. Have the declarative column link go to a dummy/intermediate page and setup On Load: Before-Header branches on that page to redirect to the desired page based on the item value(s) passed in to the intermediate page.

  • How to display Header Texts that you find in Sales Order and Billing Doc..

    Hi,
    I am having some problems accessing the text that is typed in the Header Texts area of the Sales Order and Billing. To access the Header Text you should first trigger the Sales Order (VA02) then once in the Sales Order Click Goto -> Header -> Texts. The same follows to the Billing.
    I need to extract what is typed here on to a report. First of all I can’t figure out which table is used to save this information. I am suspecting that this information is encoded and stored in a table. To display this I may need to decode it.
    Is there some one who could help me to archive this please!!!
    Many Thanks,
    Kishan

    Hi Kishan,
    The texts you find in all SAP Object, like orders, invoice, materials, ... can be extract with FM 'READ_TEXT'.
    To know the parameters of the FM, you 'll have to go to the text ( in plain page mode ), then you do "GOTO" -> "HEADER", and a pop-up window opens with the parameters you need ( Text name, language, text id, text object ).
    The table "t_tdline" contains the entire text .
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
    *   CLIENT                        = SY-MANDT
        id                            = w_id
        language                      = sy-langu
        name                          = w_name
        object                        = w_object
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    * IMPORTING
    *   HEADER                        =
      tables
        lines                         = t_tdlines
    hope this helps.
    Erwan.

  • How to display a messageTextInput as Link in readonly mode

    Hi All,
    I want to give a link on particular field on advanced table and on click on that field the page will redirect on another page but there are in main page single selection is there and on click it will turn on editable. so how can i handle both things on same field.
    Thanks
    Edited by: user9087395 on May 4, 2010 8:45 AM

    Hi,
    You can have two fields in same advance table column, one is of type link/styled text and other is of type input field.
    You can set rendered properties of these two fields from SPEL using read only flag. You might need to derive that whether current access level is edit or read only.
    Thanks,
    Ritesh

  • How to display HTML pages that have encrypted images?

    I’ve got a simple page like this:
    <html>
    <body>
    <img src="encrypted.jpg"></img>
    </body>
    </html>
    The encrypted.jpg is an encrypted file on the hard drive. When I load that page into a JTextPane, I want to use my key to decrypt the image on the fly before it is displayed. How can I do that?

    Go it.
    Just let HTMLEditorKit.getViewFactory return my own factory, which allows me to implement the view of a particular element.

Maybe you are looking for

  • How do I use my gigaware webcam with my mac?

    How do I use my gigaware webcam with my mac? I just bought this webcam on amazon http://www.amazon.com/gp/product/B00IJE0ISS/ref=oh_aui_detailpage_o07_s00?ie=UTF 8&psc=1 and I want to use it with my mac. Is there an adapter or any software to make it

  • From browse button of input type=file, can I show the content of a file

    Hi all, I am using, input type=file, where browse button appears. I am having a text area. My requirement is after I select the browse button, I need to show the content of the file in the text area. As of now I 've handled by having another button '

  • IWEB 09 interactive website RSVP

    I am trying to create a website through IWEB. I play soccer with a group of people and I want them to be able to log onto my site and rsvp for a specific game. I want other people to be able to log on and see who is playing and how many people. I hav

  • About XSLT

    hai, i am bala. i want to convert the xml into the html using XSLT. please help me immediately.... Thanking you, bala

  • CS 5 Crashing

    Hi. I'm new on the forum.  I had Photoshop 7 "forever" and found out I could get a monthly subscription on CS5, so I downloaded the trial version to test it out - and 5 days later, which is today - I  uninstalled version 7 and was going to go ahead w