Two dimensional arrangement in tileList control  Possible?

Hi,
Can anybody tell me, is there any possibility for arranging
image controls two dimensionally in a TileList control,so that we
could get indices for the children according to row and columns in
such a way that if we want to get the image in row 2 and column 5
and get the location? If yes, if give me an example plz..... i need
this help very urgently

The Tile container and TileList are designed specifically to
not give you this control - you are supposed to just toss in the
components and they appear one after the other until an edge is
reached then a new row or column is created.
If you want this type of control, use a DataGrid and
itemRenderers. That has both row and column indexes.

Similar Messages

  • Two dimensional in TileList

    Can anybody tell me, is there possibility for arranging
    images two dimensionally in a TileList control,so that we could get
    index for the children according to row and columns? If yes, if
    give me an example plz..... i need this help very urgently

    The Tile container and TileList are designed specifically to
    not give you this control - you are supposed to just toss in the
    components and they appear one after the other until an edge is
    reached then a new row or column is created.
    If you want this type of control, use a DataGrid and
    itemRenderers. That has both row and column indexes.

  • Create a two dimensional table in Acess

    Hi,
    I am working with a database and the toolkit "the database connectivity tooset". I know how to create a new table from labview, but is it possible to create a "two dimensional" table from labview, i.e, where one table in Microsoft Access is linked to another one. I know how to do it in access, but it should be possible in program to crate a new table and this one has to be linked to another one then, just like the others. Does someone know how to do it??
    Thank you!

    Hi
    I assume you are not so familiar with databases, are you?
    First I want to comment your previous post:
    well I have a table for a product that contains, say different data for the product, i.e. the date of the test, who is responsible for the test, where it was performed. Also, linked to the date (I guess it is the primary key), there are also some data related. so in my table in the database, next to the date, there is a "+"-sign, so I can open up the page of all the data related to the date.
    Well, did you create this database on your own? So you must have created two tables (table one with fields Datum, Responsible & Cost and table two with fields Place1, Place2, Place3 & Place4). Then you must have dragged on field from one table to another field in the other table in the "Relations" view of access. Doing so, you created a relation. Due to this, access now knows how this date is related and displays the "+"-sign. You can not assume that the date is the primary key.
    In fact you do not have a "2D" table, but just different datasets from two tables connected to each other. This connection is created by relations.
    So, if I know would like to create a new table in my program (each product has its own table, so a new product=a new table), I would also like to create this "data" sheet that is connected to the data. Bu how do I do that?
    I can easily just create a new table (i.e. a new product), just using the "DB Tools Create Table.vi". But I guess it is when I actually want to add the data to the database, where I create the "data" sheet? Using the "DB Tools Execute Query" and a SQL statement with INSERT INTO, is that the way to go?
    As mentioned before, this "datasheet" is just a dataset from a second table which is made displayable by the relation. So if you're question is "how to create a relation using LV", you are quite on the right way. First create two tables one of which has to contain a field where the primary key from the other table is linked to. Then you have to set a PK in one table (using SQL statements) and then build the relation (also using SQL statements). I can't tell you, if you have to define the foreign key in the second table too.
    Have a look at the MS-Access help on how to assign relations and how to define primary keys. There may be something to take care off. Basically standard SQL should do - but using MS you never know .
    As this is somehow complicated, I always create the database structure in MS Access and that's it - afterwards all is done programatically (write and read data). Usually I don't open the database again with Access unless there is a special task.
    Hope this helps you a little bit otherwise come and ask again.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Can I have two Data Files in One control file of sql*loader tool

    hi,
    Can someone help me out. is it possible to have two Data Files in one control file of Sql*loader.
    And isit possible to run 10,000 records before lunch and 10,000 records before tea and 10,000 records before evening session by giving breaks after every 10,000 records.
    Thanks
    Ram

    Yes. You can specify two datafiles in one control file and can load using sql loader.
    I give you the sample control file.
    Load DATA
    INFILE 'TEST1.CSV'
    INFILE 'TEST2.CSV'
    TRUNCATE
    INTO TABLE TEST_P
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (COL_1,
    COL_2,
    COL_n)
    Hope It will help you.
    -Karthik

  • Two dimensional array in JSP with struts

    Is it possible to use two dimensional array in an web application
    based on struts. I am using JSP and to get data from two dimensional
    array im using
    property = "array[0][0]";I read on the internet that bean utils does not support two dimensional array?
    I have a table like spreadsheet with 30 rows and 20 columns and i was
    planning to use two dimensional array? is there any other way to get
    this stuff done easily?
    any ideas welcome.

    HI ,
    i have the same problem you had
    did you get any solution for this?
    if so you can help me out

  • Querying data from two dimensional schemas

    Hi,
    I have modified 2 star models on Physical layer, then I add three tables from these models into BMM Layer: Fact A, Fact B and Dim C.
    Dim C is joined logically (using complex join) with Fact A and Fact B.
    In Answers I make a request with fields from tables A, B and C, but got this error:
    [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table Fact B) does not contain mapping for [Fact A].
    Someone can tell me how can I solve this issue??? or how to get this fields???, join both star models logically or physically is possible???
    Thanks
    Carlos Hernandez

    Venkatakrishnan:
    My first post was solved creating a single logical fact table with both physical facts as sources, joining this with all the dimensions that I need, also I created a hierarchy for each one, and finally I define dimension levels in facts sources and metrics.
    The BMM has the particularity that involves two dimensional schemas at total and detail level: Order Fact and OrderItem Fact, and is joined with several dimensions: Account, Order, Product, Position, Day, Person, and with two new objects: a view named "Ordenes" and a table named "Item Atributos". Specifically this view has no physical join with OrderItem Fact, so that was my principal headache.
    I defined #Order and #OrderLines metrics in the logical fact table and I could create a request with columns from all tables (fact and dim) and seems that it works, but now I have another problem: when I try to filter for a detail dimension column I get this error:
    [nQSError: 14023] None of the fact sources for [Table.Column] are compatible with the detail filter [FILTER].
    This error only happens when I include columns in request from "Ordenes" dim(physically defined as a custom view).
    Could you know the cause of the problem or why this error is happening???
    Thanks for your help again.
    Carlos Hernandez

  • Two Dimensional Vector ?

    Hya,
    Is it possible to have two dimensional Vectors ?
    if yes, how would be declared ?
    I have a class called pencil,
    I want to put each 12 pencils in 1 Vector (pencil box)
    then add each of those vectors into a vector (box of pencil boxes)
    thanks in advance

    There's not really any such thing as a 2D vector
    (unless you create such a class) but you can create a
    Vector of Vectors. You can just add pencils to
    vector and add that vector to another vector.
    You might want to consider creating a PencilBox
    class, rather than using a Vector to hold the
    pencils.
    You should also use ArrayList rather than Vector.When should an arrayList be used ? or when should a Vector be used?
    thanks

  • Reordering columns of two dimensional matrix

    Hello all,
    How to reorder the columns of a two dimensional matrix as per the conditions given below
    1. The front panel should contain a string  control. when supplied a list of indices of column  in  the string control. The ordering of the columns should be done according to the order list provided .
    2. when  0s are entered in the string control ,  column values of that index should contain 0s.
     please provide a solution or VI  for this . regards
    renault

    I think this VI (7.0) will do what you mean - it creates an array the same size of the original and extracts the columns from the original.
    2 points -
    0 is a problem because in LV (like many other computer languages), 0 is the first element. -1 will do what you wanted instead.
    This assumes space as a seperator between the values in the string. You may wish to have a 1D numeric array instead of the string.
    Try to take over the world!
    Attachments:
    reorder array.vi ‏30 KB

  • Hashtable Vs Two Dimensional Array

    Hi!!!!!!!!!!!
    Can i use Hashtable intead of Two dimensioanal Array in my application.

    (After having had some coffee)
    There's just too many ways to do this to know what code to give you.
    Peter Lawrey gave you one possible answer. The issue is that you need to decide how you're going to combine two pieces of information (the row and column indices into a 2d array) into a single key value for looking up values in the hash. String concatenation is one way -- creating a java.awt.Point and declaring hash as
    Map<Point,String> logData = new HashMap<Point,String>();
    logData.put(new Point(x,y), value);
    String gotValue = logData.get(new Point(x,y));is another.
    You might also want a hash of hashes, but you can't get that as easily in java as you can in perl, as it won't invisibly create the necessary inner structures for you. You'd have to write a 'two dimensional' map class of your own (reasonably interesting idea, actually)

  • Please change the view in the top sites, the 6.1 upgrade has reverted back to a plane two dimensional view, which is a little plain. Can I revert back to an older version via my time capsule save?

    Please change the view in the top sites, the 6.1 upgrade has reverted back to a plain two-dimensional view, which is a little dated. Can I revert back to an older version via my time capsule save? C'mon Apple upgrades supposed to leap into the future not the past. :-(

    Please change the view in the top sites, the 6.1 upgrade has reverted back to a plain two-dimensional view, which is a little dated. Can I revert back to an older version via my time capsule save? C'mon Apple upgrades supposed to leap into the future not the past. :-(

  • Recently, I discovered I have two iCloud accounts. Is it possible to change the Apple ID from one account to match the second account, without losing the information on each account?

    Recently, I discovered I have two iCloud accounts. Is it possible to change the Apple ID for one of the accounts to match the other account, without losing the information from either account.
    thanks

    Welcome to the Apple Community.
    It's a little tricky to move data from one iCloud account to another but it can be done. But what makes you think you have 2 iCloud accounts.

  • How to get number of rows and columns in a two dimensional array ?

    Hello,
    What would be the simplest way to get number of rows and columns in a two dimensional array represented as integers ?
    I'm looking for another solution as For...Each loop in case of large arrays.
    Regards,
    Petri

    Hi Petri,
    See a attached txt file for obtaining two arrays with upper and lower index values
    Regards
    Ray
    Regards
    Ray Farmer
    Attachments:
    Get2DArrayIndex.txt ‏2 KB

  • How to copy data in text file into two-dimensional arrays?

    Greeting. Can somebody teach me how to copy the input file into two-dimensional arrays? I'm stuck in making a matrix with number ROWS and COLUMNS according to the data in "input.txt"
    import java.io.*;
    import java.util.*;
    public class array
        public static void main (String[] args) throws FileNotFoundException
        { Scanner sc = new Scanner (new FileReader("input.txt"));
            PrintWriter outfile = new PrintWriter("output.txt");
        int[][]matrix = new int[ROWS][COLUMNS];
    }my input.txt :
    a,b,c
    2,2,1
    1,1,1
    2,2,1
    3,3,1
    4,4,1
    5,5,1
    1,6,2
    2,7,2
    3,8,2
    4,9,2
    5,10,2

    import java.io.*;
    import java.util.*;
    public class array {
        public static void main(String[] args) throws IOException {
            FileInputStream in = null;
            FileOutputStream out = null;
    try {
        in = new FileInputStream("input.txt");
        BufferedReader reader = new BufferedReader(new InputStreamReader(in));
        String line = null;
        while ((line = reader.readLine()) != null) {
            String split[]=line.split(",");
    catch (IOException x) {
        System.err.println(x);
    } finally {
        if (in != null) in.close();
    }}}What after this?

  • How to use two dimensional array in custom.pll

    HI
    How to use two dimensional arrays in custom.pll
    I tried by the following way .
    type ship_array is table of number index by binary_integer;
    type vc_array is table of ship_array index by binary_integer;
    But I am getting the error as that
    A plsql table may not contain a table or a record with composite fields.
    Please tell me the way how to use them

    which forms version are you using? two dimensional arrays are available in >= 9i if memory serves.
    regards

  • Variable number of two dimensional arrays into one big array

    I have a variable number of two dimensional arrays.
    The first dimension is variable, the second dimension is always 7.
    i.e.:
    Object[][] array0 = {
    {"tim", "sanchez", 34, 175.5, "bla", "blub", "[email protected]"},
    {"alice", "smith", 42, 160.0, "la", "bub", "[email protected]"},
    Object[][] array1 = {
    {"john", "sdfs", 34, 15.5, "a", "bl", "[email protected]"},
    {"joe", "smith", 42, 16.0, "a", "bub", "[email protected]"},
    Object[][] arrayi = ...I'm generating these arrays with a for-loop:
         for (int i = 0; i < filter.length; i++) {
              MyClass c = new MyClass(filter);
              //data = c.getData();
    Where "filter" is another array which is filled with information that tells "MyClass" how to fill the arrays.
    "getData()" gives back one of the i number of arrays.
    Now I just need to have everything in one big two dimensional array.
    i.e.:Object[][] arrayComplete = {
    {"tim", "sanchez", 34, 175.5, "bla", "blub", "[email protected]"},
    {"alice", "smith", 42, 160.0, "la", "bub", "[email protected]"},
    {"john", "sdfs", 34, 15.5, "a", "bl", "[email protected]"},
    {"joe", "smith", 42, 16.0, "a", "bub", "[email protected]"},
    Any idea on how to accomplish this? It's blowing my mind right now.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Just brainstorming here:
    Why not put your actual data in a class and store that in a LinkedList (so you know the total number of elements for your multi-dimensional array). Then initalize your multi-dimensional array and populate it? Haven't tested the following, but thinking something along the lines of
    public class MyData {
         //data here
         public Object[] toArray() {
              //something similar to this
              return new Object[] = {"tim", "sanchez", 34, 175.5, "bla", "blub", "[email protected]"};
    LinkedList<MyData> data = new LinkedList<MyData>();
    data.add(mydata1);
    //however many times you need
    Object[][] arrayComplete = new Object[data.size()][7];
    for(int i = 0; i < data.size(); i++) {
         arrayComplete[i] = data.removeFirst().toArray();
    }Another option for knowing how many rows you would need might be using something like:
    int rows = 0;
    rows += array1.length;
    rows += array2.length;
    //etc...But is not entirely useful if you don't know how many variable arrays you have (although reflections might help if the name of the array variable is incremented systematically, someone told me earlier to avoid reflections since it could make debugging a LOT more difficult).
    Edited by: bogdana on Apr 1, 2010 10:38 AM

Maybe you are looking for

  • Hi i wanted to put each alphabet of a sentence in each row.

    Hi , For example if the sentence is  "I am Good" Identity    alphabet 1 i 2 3 a 4 m 5 6 g 7 o 8 o 9 d

  • Trying to Get a Path using CFBundleCopyResourceURL

    So I'm having an issue loading a resource. I'm using Carbon/C++. The problem is that when I try to load a file path with the following code the string returned is a cut off version of what I really need. When debugging the call to CFBundleCopyResourc

  • IBooks Wont Open PDFs

    #Ipod 2g 4.2.1 I installed ibooks and synced a pdf file using itunes.The Pdf file will not open I have tried unistalling, rebotting, and restoring. the file shows up on the bookshelf but when I click it the only thing it does is get highlighted it do

  • Photshop Element 9 téléchargement de mise à jour incomplète

    Bonjour, Je possède Element 9 que j'utilise avec windows 7. Le logiciel m'indique qu'il y a une mise à jour et lorsque j'effectue le télécharchement de celle-ci je n'obtiens pas la totalité des fichiers.(erreur 16822) Pouvez-vous svp m'aider ??

  • "SubReq" is still available in the stock/requirements list.

    Hi SAP guru's,          In the subcontracting scenario for our client, the required quantity of child component will be provided to the subcontracting vendor. For one particular purchase order, Subcontracting PO for parent material "A" - qty 4284 Chi