PB 2.0 + tutorial on custom data lists

Hello

I'm looking for a tutorial on making custom lists qnx/air for Playbook. An example of such lists can be found in the application schedule-OS2.0, email apps etc. List of data items.

What classes should I use to implement this?

https://developer.blackberry.com/air/apis/qnx/fuse/ui/listClasses/package-detail.html ?

The default list class provides only one line of text. I need several lines and the ability to change the font style / of each list item.

Lists have their own style and several lines of text in each element of the list.

Also, how to make custom with a State mouse_down buttons on. When I type an icon it is applied a blue background effect to meet the State.

Thanks in advance.

For your list, perhaps you are looking for:

https://developer.BlackBerry.com/air/documentation/ww_air_developing/Creating_a_custom_list_ms_19710...

For the buttons may be looking for this: https://developer.blackberry.com/air/documentation/ww_air_developing/Skinning_your_UI_components_ms _...

Tags: BlackBerry Developers

Similar Questions

  • Resizing of custom data list

    Hello! I created a list of custom data in Catalyst beta 2, defined his repeated point and put a scroll bar inside. I would use this list of data in several places, in various sizes, of course, but I can't change the size only when you change parts list and resizing of the area of the repeated element (but it affects all instances, of course). When I place an instance of the list on the Web, it is not resizable, it has no adjustable squares in the corners and also the width and height properties are disabled in the properties panel. How can I create a resizable data list?

    Thanks in advance,

    Attila

    Hi Attila,

    Unfortunately, the first version of Catalyst does not support creating resizable components. It is a high priority for future versions.

    Here's what you can do in the meantime:

    (1) create the resizability in Flash Builder - you will need to write the code of simple constraints. Let me know if you need some learning resources.

    (2) duplicate the component in two different sizes. There are two ways to duplicate an item:

    • Right-click in the library panel, choose "Export a library package", right click again and choose "import a library package". This will duplicate ALL of your components, so you'll need to delete others.

    • Select one instance of the list in question, right-click, and choose "Component of Revert to work". Then right-click again and choose "Create component of work > list. You are now recreating another copy of your list.

    I know that these are solutions to the cheese, but that's what we have in the current version.

    Good luck

    Adam

  • Boxes and custom data objects

    I am creating a form with a list of checkboxes based on interests of customers - there are 8 in total and they can select several options.

    What I want to do is to create shared lists for each option which will serve as a member of segment for future mailings.

    I also need to store data for that person together so if I never, I can go and say ' well, Joe Bloggs here is interested in X, Y and Z, so I'll put him in the countryside, A and B'.

    Are the data objects custom the way forward? I had a go at creating and mapping it, but I don't know what to do with these boxes!

    Thank you!!

    For the shared list, simply use the step "Add to shared Contact list" of your form and make it to the condition that the box is checked. You will need 8 of these steps, one for each option.

    To preserve the data, I would like to use a custom data object. Create a new CDO set with an address field of the email and one for each of your boxes (and any other information you want, of course.) And then use the processing stage of 'Update Custom Data object - With Custom Values'. You can define this step to add a 'yes' or 'on' or whatever you want to the appropriate field in the ORDER. Yet once, make this step on the box being checked in your form. Yet once, you need to create 8 of these steps, but once you get the first fact, others should go faster.

    PS, I kept typing "from" instead of "form". Argh.

  • Liquid: Elements of custom date sorting Webapp

    I would like to be able to sort a list of items in web app before a custom date. It is a list of events with dates associated with them. They all get published on the same date, but they have dates of events unique to each of them for when the event occurs.

    That's what I have so far:

    {module_webapps make = "collection" filter = "closed" collection = "warroadEvents" id = '17654' itemId = "122469" hideEmptyMessage = "true" sortType = model "datereverse" =""}

    {% for %} warroadEvents.items test

    {% assign todaysDate = globals.site.dateNow | date %}}

    {% assign eventDate = event. ['Event date'] %}

    {% assign dateOrder = todaysDate | less: myDate %}}

    < div class = "col - xxs buffer event-legend" >

    < a href = "{{event.url}}" > < img src = "{{event. {{[' banner image ']}} ? Action = thumbnail & Width = 825 & height = 275"alt =" {{event.name}} ' class = 'img-sensitive' > < / a > "

    < a href = "{{event. {{[' e split url']}} "target = '_blank' class ="ticket float-right"style =" "margin-top: 1.5em;" > "

    < img src = "/ _images/layout page/buy tickets com Alt PNG" = "" class = "ticketimage" > "

    < /a >

    < h2 > {{event.name}} < / h2 >

    < p > < strong > {{event. [' Event date '] | {{Date: "dddd"}}, {{event. [' Event date '] | {{Date: "MMMM d"}}: {{event. {{[' Start ']}} < facilities > < / p >

    < h4 > < a href = "{{event.url}}" > see more details < /a > < / h4 >

    < / div >

    {% endfor %}

    I created 3 variables. One that stores the date today, another that contains the date of the event from the web application element, and a third that subtracts the two to find the difference. I think that I am part of the path. I don't know how re - sort my for loop, which indicates the date at which rises earlier first and so forth.

    Custom filter solutions are one of the major limitations with this stuff at the moment.

    Basically, you can't.

    While you might wrap the elements in an if... And don't date matching and comparing and not show them etc. you will not be able to sort or order them on this basis.

    And with everything you do, you can do so only within a scope of a total of 500 items or page pagination. By paging stuff page creates a problem where it will show say 24 per page and lets say 3 on each page are not match you get 24 rendering paging still but 21 presented on a page. It creates some funky results a bit.

    I'm going to this topic for some time now and we need some changes to the liquid to make it more viable in the scope of how BC spits basic data. So you can do what you really do.

  • Sources of custom data for use in reports of BEEP

    Hello
    Are there additional documentation on sources of custom data in addition to a page at the end of the Custom Configuration of Reporting guide?

    Thank you
    Drew

    Existing parameters in the report do not support chained values, which means a second parameter does not know about the first. However, this may be done using a custom ascx control.
    When you mention a filtered list of question numbers, it's something that you see the interaction with the user? For example, if the user selects the spec 456 trade, then the user would give a list of question numbers to choose from, or is the list of numbers to question anything they should not be able to choose? If the latter, then I would probably recommend to add this logic in SQL written for the BI Publisher report, because it would be much simpler than to create a custom ascx.

    With regard to the selection of specification of trade, is the cross-reference needed something that is deterministic (meaning that it has a specific rule), or is - it, the user will also have to choose? The existing control of EQT usually return PKID Spec, if the rule is deterministic, then he could just report this PKID instead and understand the cross-reference in SQL?

    I ask because the creation of such a custom control will have a job, so if it can be done in SQL instead, it is useful to look at.

  • Custom data type

    We use a custom data type container and add variables to use in the sequence inhabitants.

    It seems that the field of the local variable names having to match domain names that they have seized originally in the custom data type container.

    We want to reuse the custom several times in the sequence container for data type and would like to have descriptive field names of their use, which changes throughout the sequence.

    Is it possible to just rename the names of the fields of a local variable is of the type, data type container custom, while maintaining the field names the original custom data type container?

    With the help of TestStand 2013

    Thank you

    Hi CC57,

    I also recommend trying a templateVariable. You can use this to create a container with a particular name that you can copy in various places in the variable pane and change the names of the properties of confined there.

  • DLL custom data type

    I try to use a DLL in LabView that talks about an acquisition card. One of the functions requires a custom data type (MID2250_MDConfig_t) that LabView does not support by default. It is defined in the C header file as follows:

    typedef struct
    {
    int CoordsX;
    int CoordsY;
    } MID2250_PointCorrds_t;

    typedef struct
    {
    MID2250_PointCorrds_t ULPoint [4];
    MID2250_PointCorrds_t BRPoint [4];
    unsigned short u32SADThresholdValues [4];
    unsigned short u32MVThresholdValues [4];
    unsigned short u32SensitivityValues [4];
    } MID2250_MDConfig_t;

    Is there a way I can integrate this data type in LabView correctly. I saw people talking about wrapper dll on this forum but I'm a bit confused as to who. Can I create a similar cluster in LabView and pass it to the function using "node of the library call?

    abdel2 wrote:

    I try to use a DLL in LabView that talks about an acquisition card. One of the functions requires a custom data type (MID2250_MDConfig_t) that LabView does not support by default. It is defined in the C header file as follows:

    typedef struct
    {
    int CoordsX;
    int CoordsY;
    } MID2250_PointCorrds_t;

    typedef struct
    {
    MID2250_PointCorrds_t ULPoint [4];
    MID2250_PointCorrds_t BRPoint [4];
    unsigned short u32SADThresholdValues [4];
    unsigned short u32MVThresholdValues [4];
    unsigned short u32SensitivityValues [4];
    } MID2250_MDConfig_t;

    Is there a way I can integrate this data type in LabView correctly. I saw people talking about wrapper dll on this forum but I'm a bit confused as to who. Can I create a similar cluster in LabView and pass it to the function using "node of the library call?

    Since the tables are all fixed size (and not huge), they really are inline in the structure. This means that you can simulate a cluster containing many elements inside because it is the elements of the array. The first Point of the UL would be a cluster containing 4 cluster with each two int32 in it. Ditto for the second element. The third is a cluster with 4 uInt32 and so on.

    Then configure the setting to adjust the type and thread this cluster, and voila.

  • How to create a custom data type

    Hello

    I'm using Labview 2009 and I am trying to create a custom data type and link it to the global variable that will be deployed in cRIO 9073. I couldn't find a method to achieve this. Please suggest a way to do this.

    Thank you

    Guilhem

    Right-click on a control and go to advanced-> customize.  This will open the control editor.  Change the type of a control to a Type def.  Customize if necessary and save the control.

  • Where to define new custom data types?

    Hello

    In the past (TS 3.5) I created our own range of custom type file that has been used

    to store the new data types and then referred the case to other colleagues. The file would be

    stored in the ...\Program Files\...\User area.

    My question arose because we now use the TS 4.1/4.2, which is no longer a separate

    Directories of NOR and user in \Program Files.

    Because now I want to change an existing custom data type, I find that our range of custom type has

    fallen by the way side, forgotten.

    Even though I can see the custom data definitions within the sequence of type files that use

    custom data types, which means that I can edit them locally, I intend to return to

    a range of custom type, i.e. comprehensive definition.

    What is the relationship between the definitions in a range of custom type and custom data

    definitions of type of a file of sequence?

    When a palette to update file a file of sequence?, who takes over in the event of conflicts?

    is a really necessary sequence files palette file if they are separated by using the same custom data type

    can update the other? What is good practice when defining custom types of data?

    Thank you

    Gary.

    Hey guys,.

    This is a very interesting thread, and I've got everything right, in heart, with advice given so far. I just wanted to offer some additional tips on the conflicts of kind - with more response, the initial question concerning the definition of what is priority in case of conflict.

    It is important to note that TestStand uses type names and version numbers to identify the different types. It is also important to note that when you use a definition of type of customers within a sequence, the sequence (.seq) file containing the sequence will keep a copy of the type definition. This greatly facilitates distributed sequence files. However, it also opens the door to potential conflicts type.

    TestStand allows only one type of unique name to be loaded into memory at any given time, so that it uses the number of versions of the type to try to resolve these conflicts automatically. For example, TestStand can be configured to load any type is the largest version number (note that this can be changed via the tab Preferences dialog box Options of Station).

    All this information and more are found in the following tutorials...

    Conflicts and TestStand Type Versioning

    How to make a Type of custom step?

    Thanks for your time. I hope this has been helpful!

  • Causing problems of custom data type to deploy the shared target RT variable

    I seem to have some difficulty in using a shared variable published network created from a customized data type when it is deployed as an executable on a target of cRIO RT.  I'll start by describing why I think that this is the rub.  I created my RT VI in the LabVIEW (LV 2012) development environment and everything works fine.  This VI is quite simple, because these were quickly devolved into an exercise in debugging.  The RT VI begins by simply flashing the LED to a couple of times and then starts a loop simple acquisition to read some values out of the material using the analytical engine (while still flashing the LED of the user).  After reading the material, the values are grouped in a cluster and written in a shared variable published to the network defined by a custom control type def.  The custom control contains five floats double precision.  If it's important, the RT cRIO system hosts the shared variable in this case.

    So I have that deploy in the development environment, and everything works fine.  The LED flashes merrily along, telling me that the program runs correctly.  Running a VI host who reads the shared network has published variable gives the desired result.  Everything is good.

    Now, I want the cRIO system to run this simple program by itself at startup.  I build, set it as start VI, deploy it, and then restart the cRIO target.  The LED never flashing... the VI doesn't seem to work.  I'll spare you the major part of the work of debugging and access to the end.  I basically "diagram Disabled" various sections of the code up to the VI began to run correctly in an executable file.  I kept reducing the size of the disabled code until something has been disabled: the writing in the shared variable for the custom data type.

    So, I guess my question is this: are custom data types defined by type def would be personalized orders authorized executables to RT?  I read through the cRIO Developers Guide, my book of development in real time course of NOR and the white paper using shared Variables and I see nothing that forbids it.  I know that there are things not allowed in the executable files that are allowed in the development environment (property nodes façade, dialogue live, operating system specific calls, etc.), but no mention of the shared variable type custom data.  Any ideas as to why my VI is running in the development environment, but does not update unless I have delete the entry on the published network variable shared?

    Thank you in advance for your help!

    You must disconnect the data types of variables and then recompile. You can find it useful to keep on disk, a copy of the original lvlib.

    Don't know if this is a bug or not. It was suggested by someone in the forum that putting the ctl files in the right position (the disk? in the draft?) would allow the rtexe start; I did a quick check and it didn't work then I dropped the tests more far.

  • Custom - Date field that is this feature called?

    I need to create a custom date field. It is personalized because it shows, on the one hand, whatever it is related to the dates and then it indicates that one choice at a time.

    Kinda like this feature

    I want to create something like that, but not the dates. I want to add alist like apples, mangoes, peaches, and plums have a scrolling after another, without showing a huge drop; So basically in the above format. Help, or coding sample please.

    I think you can do this with a SpinBoxField, if you extend it to support of Bitmaps rather than the text that is, it supports at the moment.

  • What is custom data objects?

    Hello

    What is the custom data object? Use of custom data object?

    Thank you

    POOJA

    Hi Pooja,

    The custom data objects are used to store data that can be linked to a Contact or company record and they are not part of your account or customer contact record. Custom data object records can also go by the name data cards.

    Use: -.

    Send emails to contacts who have tweeted about a certain subject.

    Contacts of segment and filter for inclusion in an email campaign.

    Kind regards

    Eloqua Experts

  • Cvent Feeder should send information to a Contact record or a custom data object?

    We use Cvent to organize our event series each year. The event series contains ~ 18 events each year. This will be the first year we try Cvent trough to connect the information that we collect to Cvent and push it in Eloqua? Should push us to a record of individual contact or a custom data object?

    My first inclination is to match to a contact record. My reasoning for this is that the event creates many new perspectives and we want these people to become contacts in Eloqua, so that they can be put in feed and then also synchronized in Salesforce. Our Organization has also had a very limited use of custom data objects so far, we're still learning the system, and it's so advanced capabilities of segmentation may still be beyond our capacity at the moment. My fear is that if we were to store data of Cvent in custom data objects, data objects that can be linked to a contact record because they are quite new perspectives there. On the other hand, a lot of information from the event record (beyond names, emails and addresses) is really intended for a custom data object. Any advice as to how we should do that?

    My recommendation is to use a custom data object. -Especially if you store specific information about the event.

    While I'm not 100% on the configuration of Cvent, you probably have the ability to set the default mapping that relates to the LCO to the contact table. -It is usually an email address

    Otherwise, you also have the option of specifying the parameter 'Mapping the default used in Upload' for the CDO. -Make sure it is set up properly as well. -Yet once, it is usually to address Email

    As long as they are set up correctly, the system will automatically create a new contact for you if the 'E-mail address' the participant Cvent is NOT already a contact Eloqua... More importantly, if the 'Email address' the participant Cvent is already a contact-> a new contact will NOT be created. (Instead, the existing contact will be related to multiple records LCO)... That's what you want

    This way don't unnecessarily create you more contacts than you need to.

    Once you get this sorted out, you'll be amazed how it is easy to start to use these CDO into Segments.

    Let me know if it helps.

    ***********

    Chris Continenza

    Senior Marketing Automation Consultant at Tegrita Consulting Group

    Tegrita Consulting Group

    Web: tegrita.com

    Phone: 1.800.771.3308

    E-mail address: [email protected]

  • A custom numbered list only gives me 1, 1, 1... and 1.

    Hello

    I made a custom numbered list, but somehow it doesn't give me that number 1 after no. 1 over and over again.

    Can anyone see what I did wrong? (Sorry, the program is in Swedish...)

    Louise

    Number one.PNG

    Select the item in the list that you want to restart, then restart the numbering in the paragraph Panel

  • Can I evaluate and fill out a form with data from a custom data object?

    I'm not a developer, but I'm trying to find as much information for my web team so they can implement this for me.  We use the E10.

    I have some information for the contacts stored in a data object custom I want to use for pre-population information access door and in another form.  For example:

    1. User enters his email address into a form and hands
    2. A search and contact and custom data object (CDO)
      1. If the contact has a CDO with the required information, he fills the following form with the information
      2. If the contact does not have the required ORDER, it displays information and a link to the place where to go next

    Is it possible, and where should I direct my developers learn more about treatments?

    Richard

    Hi Richard,

    You can certainly do so using data for the Eloqua Web search (Setup > data Web Look Ups). A database search allows you to request data stored in Eloqua, bring up the page and with a few JS, we determine if they will go on track 1 or 2 you described above.

    Is that an advanced feature requires knowledge of HTML and JS. Here is a good article on data search that should help:

    Using the Eloqua Cookie to customize your Web site

    If you have any specific questions, our support team is very familiar with this feature and can help to solve problems or answer specific questions.

    -Andrew.

Maybe you are looking for

  • Question about WLan and WEP configuration

    I got Orange Broadband, which included a Livebox. I installed the bandwidth and he advised me to put up with wires and set up wireless eventually, so I did. I tried to do wireless, but it does not work. He is told to go into network connections, clic

  • Equium L20 - vertical strip of 2 inches of distortion of color on the display screen

    I've had this laptop since January this year. He returned to the store for repairs because the battery is charging and when they were finally returned to us but now there a thick vertical stripe of color which varies from blue to orange to pink and c

  • Loading of jpeg files

    Hello I created a program that loads a different image according to a string generated by three options selectable by the user.  Him must select two numbers between 0 and 12 and a version of the display. First of all, I just put three display options

  • (Redirected) Alienware m18x R1 NO WIFI CONNECTION

    Hello world My Alienware m18x R1 is not a Wi - Fi connection after formatting... Please see the attached screen shot. I tried connecting through the router LAN cable, but still no internet connection as well... Help, please

  • Strange characters print on an OfficeJet 6500 a Plus

    Hello I have an OfficeJet 6500 has more which works fine until my wife started to print number of PDF and HTML documents academic double-sided. The printer began to print in English and then returned to "gibberish" to half way through. I have a Windo