Creating a grid?

OK so someone know a good/easy way to create a grid using the API of RIM BB?

I want it to be so that I can customize it (example a line have 3 columns, and one has only 1 size all 3)

The only way Im thinking how to do it is just to add fields in a Manager and then lay them out like I want that they. However I was wonderinf if theres an already existing of the class that made that (or something like that)

One of the problems I encounter with a responsible, is that of a field, you can go only to the next field (No 1 field, than to the right, or down)

Well, I'm not 'better to' much, but I have implement a custom very complex Manager a few months so there is now all that stuff Manager/paint/setting on the page is quite natural for me.  However, I did not use the fancy functions we have still a lot of customers with OS 4.2.1 on their phones, so same net.rim.device.api.ui.decor was denied to me.  Gave me a chance to learn a lot about the custom paint!

I took a quick glance at GridFieldManager and, indeed, the rows and columns have the straight line limits.  If your idea of a list of HorizontalFieldManagers (have a wrap-around VerticalFieldManager or just a screen and add these HFM) is founded.

In order for vertical movements to work intuitively, you will need to keep the current horizontal position (your active field limit or center - left according to your preference), update on the horizontal movements and use it to determine which field should focus on vertical movements.  To do this, take a look at Field.getExtent () and HorizontalFieldManager.getFieldAtLocation (int x, int y) to start.

If you're ready to scroll vertically and horizontally, decide which scrolls on the side - screen (if so, create your style HORIZONTAL_SCROLL screen VERTICAL_SCROLL) or simply the Manager with the active field (then use HORIZONTAL_SCROLL in each of these HFMs).  If you scroll through separately, take a look at the Manager.NO_SCROLL_RESET flag - think that if you want to use.

Tags: BlackBerry Developers

Similar Questions

  • Application of metadata are not available. Cannot create the grid

    Hello

    I use the standalone 11.1.1.3 HFM. When I tried to open the gates of existing data through the workspace, I receive the error message that "Application metadata are not available." Cannot create the grid '.  Please could you help me solve this problem.


    Thank you

    Michel K

    Hello

    I'm not sure what you mean, but if you're not comfortable with these tasks, you may have to get a consultant.

    The main steps are:

    1. Connect to the source application and extract security tasks > extract tasks > excerpt from security.
    2. Save the .sec file in your office
    3. Connect to the new application and load the .sec since tasks file > load task > Security load.

    Kind regards

    Thanos

  • I need to create a grid of the 1980s scrolling effect

    Hello I need to create a grid of the 1980s scrolling effect. I have already downloaded the grid from Photoshop and I need to create a movement for her legacy. Please see the link.

    'Feature Presentation' motion graphics test - YouTube

    Thank you

    Mike

    As already mentioned, you completely lose your time even bothering to import something PS for this simplistic effect. Everything can be done in AE.

    Generate effects-->--> grid

    Effects--> style--> Motion tile

    Effects--> style--> Glow

    Mylenium

  • Create a grid of images of different widths

    Hello

    I am doing a project in which I 209 logos I have to appear in a grid. These logos are all the same height, but not the same width.

    I was wondering if there is a faster way of reorganization, or else I'll spend a lot of time, which is not ideal.

    I have an example here of what I want that I did on indesign (manually) some time ago.

    Captura de Ecrã (41).png

    If someone could help me I would be very grateful.

    Thank you in advance.

    venturu,

    Of course, you can get about the same distance from the object.

    However, you can't avoid some work of redistribution.

    The best way depends on how you wish to place objects on the grid, there included distribution of colors, lengths and what you want, to have the grid to right/beautiful appearance.

    You can:

    (1) start by distributing all objects in a single line with 5px in the meantime, by arranging to give them a nice distribution of colors, lengths, and everything you want, along the line;

    (2) create a vertical line where the line starts, and then copy it at distances corresponding to the width of the grid;

    (3) moving objects in separate lines because they are best;

    (4) move the objects (up or down between rows) and adjust the spaces until you are really satisfied, if possible;

    (5) rearrange the lines so desirable.

  • Creating fluid grid templates

    I have a very large site for a real estate company that I sold as a RWD. They have 175 pages or lists.

    I have a good handle on the DW grid design tools of fluid. When a try to create a DIV inside an editable area of the DIV loses it's grid commonly features like copy, hide, sizing, etc..

    Anyone working with models and grid of fluid of DW. Is there a way around this problem. For any help or suggestion would be appreciated.

    Thank you

    dlipscombe

    I'm still able to get the fluid grid HUDs inside an editable area.

    Can you try to activate the mode live view and see if you can get the HUDs?

    Keep us informed.

  • How to create a grid with the tables and Boolean values?

    As part of a larger project, I'm trying to create a Subvi, which will allow me to spend a "cursor" in a 3 x 3 matrix.

    It should be 2 Boolean inputs, one for move them down in the table and the other to move them to the right. Once reached the edge of the table, the "cursor" will start back at the beginning.

    I have a vague idea of a table to 2 dimensions with LED. Once 'down' has been selected, the corresponding light to (0,0), light (0.1). Goes the same for the button 'right '. When 'down' is pressed (0.2), the LED should turn off, and LED (0,0) must light up.

    I'm sure it has something to do with the initialization of the tables, but I can't seem to find the right way to do it.

    Any help is much appreciated. Thank you!

    Your array is always empty.  Look at the detailed help for the function page replace table subset.  He says that the function has no effect if the specified index refers to a location outside the table.

    What you see on the Panel is only a view and has nothing to do with what is in the table.

    Lynn

  • How to create a grid in function gradient in Illustrator

    I created this degenerate randomly "bitmap" degraded by hand in Illustrator. I want to reproduce the effect to fill in the spaces of dimensions different, but don't have to do it by hand every time. Any ideas?random grid gradient.jpg

    Create a gradient of gray. (Note the proportions of file)

    Convert black and white file (bitmap) using diffusion dither

    Place (embed) in Illustrator

    Then use object > object mosaic on it (using proportions of file as pixel size)

  • How to create a grid with columns and gutters?

    Can someone tell me the best way to do the above?

    I hoped illustrator would have the same functionaility like inDesign to add columns and specify the width and number and column gutters.  Is it possible to do it, or can someone advise a simple way to do this?

    Way the easiest way is to draw a rectangle the size, you want the grid then it is selected

    Go to object > path > split into grid

    Enter the number of columns leave the lines as 1

    Enter the with of the gutter

    as such

    You can do something like this with text and block Options but think zI it is better to use this and put on the text.

  • How to create a grid/table in Fireworks CS4?

    I hope I'm not something obvious missing here. We have designed an application that involves a lot of data entry, so in my prototype, I want to make some sort of table or grid of Gizmo (think Excel) but can't find anything like that in the common library. Any suggestions?

    Thank you
    Jim

    Thank you, Dave. I would be actually found this one but wanted to see if I was missing something already available in FW. But your suggestion I downloaded, tried and I think he'll do just what I need. Thank you!

  • How to create a rectangular grid interactive in labview.

    Hello everyone I want to create a grid in labview in which, if I click in any block, it should change color and says he's spending the originally white to red, only blue. And I want to save the representative color as 0, 1, 2, 3 data in a table. Someone can help me, where should I start? Can you please direct me to any instance.

    Like this

  • Show the grid in the os 5

    Hi, I work with OS 5 and how I can create images grid view? any example?

    What part of it you are having problems with?  Take out the images?  Sizing of the images?  Image placement?  Detect images that are selected?  Showing the selected images?

    You need to have a more detailed question to get a useful answer.

    I suspect you are going to have a problem of image placement, in which case this should help:

    http://supportforums.BlackBerry.com/T5/Java-development/create-a-rich-UI-layout-with-TableLayoutMana...

  • BB10: Cannot dynamically create GridList in bbui

    Hi guys,.

    I have a lot of trouble with this question. I apreciate any help possible.

    I try to add a grid list dynamically in bbui. This is my code:

    // Getting grid list
    var grid = document.getElementById('multimedia');
    
    // Create group
    var group = document.createElement('div');
    group.setAttribute('data-bb-type','group');
    grid.appendChild(group);        
    
    // Create row 0
    var row = document.createElement('div');
    row.setAttribute('data-bb-type','row');
    group.appendChild(row);
    
    for(var i=1; i<3; i++)
    {
        var item = document.createElement('div');
        item.setAttribute('data-bb-type', 'item');
        item.setAttribute('data-bb-img', listaNoticiasGeneral.listanoticias[i+secCreatGrid][3][0].imagenUrl);
        item.setAttribute('data-bb-title', listaNoticiasGeneral.listanoticias[i+secCreatGrid][0]);
        item.setAttribute('onclick',"bb.pushScreen(\'multimedia_d.html\',\'multimedia_d\',{\'id\':\''+(i+secCreatGrid)+'\',\'tipo\':\'noticias\',\'i\':\''+(i+secCreatGrid)+'\'});");
        item.innerHTML = 'World';
        row.appendChild(item);
    }
    
    // Create row 0
    var row2 = document.createElement('div');
    row2.setAttribute('data-bb-type','row');
    group.appendChild(row2);
    
    for(var i=3; i<5; i++)
    {
        var item = document.createElement('div');
        item.setAttribute('data-bb-type', 'item');
        item.setAttribute('data-bb-img', listaNoticiasGeneral.listanoticias[i+secCreatGrid][3][0].imagenUrl);
        item.setAttribute('data-bb-title', listaNoticiasGeneral.listanoticias[i+secCreatGrid][0]);
        item.setAttribute('onclick',"bb.pushScreen(\'multimedia_d.html\',\'multimedia_d\',{\'id\':\''+(i+secCreatGrid)+'\',\'tipo\':\'noticias\',\'i\':\''+(i+secCreatGrid)+'\'});");
        item.innerHTML = 'World';
        row2.appendChild(item);
    }
    
    grid = bb.grid.style(grid);
    
    document.getElementById('multimedia').appendChild(grid);
    

    The problem is that does not create the grid. I have an error message: "Eception TypeError: # no has no method 'style' oppose '.

    He used to work in previous versions of bbui, but no more.

     

    Any ideas on this subject?

    Thank you so much everyone!

    I solved it! With this line:

    setTimeout (bb.domready.fire, 1);

    At the end of the "createGrid', just add this line. It is a call to the ondomready function.

  • Grid view list

    Hi again


    I tried to create a grid like on this picture display list and insert it using xml value

            
                
                    
                        
                    
                
            
    


    He discovered my current list. any1 can help me? tq

    What you are looking for specifically is a component TileList - I could show you how to get one, if it did you, but unfortunately I don't know flex.

    This could help

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/MX/controls/TileList.html

  • Creating an infinite network in illustrator

    Hey!

    I am doing a project in Illustrator and I need to create a grid that is infinite in Illustrator, (something like this http://prntscr.com/c1sxqq ) If you can think of a quick and easy way to do this in illustrator, it would be greatly appreciated! Thank you for your time

    -Holden

    Quick test with pattern

    Play with a spacing H & V

  • Grid block problem

    Hi all

    I have a small problem when I create a grid of block (I don't know the name, thus: tool text button-> right arrow).

    InDesign me canvassing all very nicely but after I write that in the first cell, that m 'annoys me at the highest point, not including d' where it comes from. I know select other cells but cannot write to it.

    I thought I had United Nations response by checking eng 'ignore USH' in the option of block of text, but was ultimately not really help.

    Anyone have a solution please? A virtual beer as a reward, I'm one of those me.

    Thank you.

    Hello

    There's a thing that I in doing this case.

    After creating my blocks (which are actually chained together) I the aux.1 and run the script 'SplitStory '.

    (if ever: menu window-> utilities-> Scripts >-> example-> Apple Scripts and double click on "splitStory")

Maybe you are looking for

  • Firefox used bandwidth even if no other tabs are loading, or even with only a blank tabs

    Occur the slow browsing experience this couple of days, It uses all of the bandwidth, even if I close any tab and just a tab in white (and have to restart the browser for the departure of the bandwidth to normal). Browsing experience start normally,

  • Read/write to a database in a network

    I have a program that reads and writes data in a database that it works OK as long as the database is located in the local PC where the program runs. I wrote the program, so I can implement by editing the ini file. In the ini file I specify the path

  • Updated - where is view the updates available? It seems so gone

    So I did not open the Windows Update window as... a month. This isn't saying it has not updated. Things were pretty darn run automatically updates each morning apparently, when I got the value every Tuesday (which I went and put it like that once aga

  • My multimedia audio cable will not operate its

    I used to be able to connect a multimedia audio cable in my computer, in the front on the right hand, (Dell Inspiron 530) in my music (on the audio jack) centre. By doing this, I could play the music from your computer through the speakers of my musi

  • How to persist a delete menu item?

    I'm looking for help on how to remove an item from the menu of my application. Specifically, how to keep my removal of the menu item The code example below, removes the menu item, but when I restart the application, the menu item is back. Any help on