TextStyle for description & standard list item status

Hello

Is it possible to have a textsyle custom (different fonts, size, color) to use in the standard list item. Currently, he has a gray color, and I have a grey'ish of background, so it does not work properly.

I'm more interesting by changing the color of the part of the State.

I used javascript to includetags, but tags is not the kickoff, instead of this, I see"... "as a text.

Thank you
S.

I found the solution, so the key is to use textFormat as 'TextFormat.html' and then usetags in the text.

                        StandardListItem {
                            title: ListItemData.stockName
                            description: listS1Container.description()
                            status: listS1Container.status()
                            textFormat: TextFormat.Html
                        }

in the container, I have a function, for example the status:

                        function status(){
                            return "TEST "+ListItemData.name + ";
                        }

Tags: BlackBerry Developers

Similar Questions

  • Status of the list item that you want to do?

    Is there a way to see the State by way of assignment to be listed with the topic name?

    In other words, I created a number of list items to take into account the review cycle.

    If I run a status report, I can see how many subjects have the classification of engineering response need, but I can't find a way either to get a list of people or to sort the list of topics to make items on the screen.

    Clues? Another way to do this? I noticed that the categories are listed in the Checklist-topic Meta tag in the HTML code. I use Windows 7. Is there a way to search the content of the HTML files in a particular folder? I tried to search for the content, but he doesn't find anything.

    Try the report properties topic. This shows the status and the tasks marked against a subject, the two are unrelated. This report can be saved in a text file, and from there you should be able to get the information into a spreadsheet for analysis.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • Switch poplist display of the list item selected for its value of list item

    Is it possible to change the display in a poplist of the list item to its corresponding list item value?

    For example, I have a list item is filled with a group of records. Name of the country (e.g., Canada) is the list item, and the country code (e.g. CA) is the value of a list item.

    I want users to be able to see the names of countries, when the list is expanded. However, once users choose and click on a country, the country code must be included in the display.

    I suppose that if it is possible to do at all, he would be using a trigger a times-news-point-instance, but I do not know where to go to from there. Please let me know if you need clarification or more information from me. I'd appreciate any help you can give me.

    With the help of Oracle Developer Suite 10 G
    Version of Forms - 9.0.4.3.0

    Hello
    Welcome to the forum,

    Just an idea. Why you do not keep the country with the description at the time code. I mean, it's like you say you query group will be like this...

    SELECT code, description
    FROM table_name;
    

    So, I mean just change this query to concatenate the code with description. for ex.

    SELECT code, code||' - '||description as description
    FROM table_name;
    

    It will show you the code and the name in the list. So, it will not trigger etc.

    -Clément

  • List item for the item database

    Hi all

    I use a list item to fill a column of data, but I am not able to do. If I change to a database element not it works perfectly. Can anyone tell me is there a problem with the column of point and the database of list I use.

    My code is,

    DECLARE

    RG_NAME2 VARCHAR2 (15): = "RG_OP";

    RG_ID2 RECORDGROUP;

    ERRCODE NUMBER;

    BEGIN

    RG_ID2: = FIND_GROUP (RG_NAME2);

    IF ID_NULL (RG_ID2) THEN

    RG_ID2: = CREATE_GROUP_FROM_QUERY (RG_NAME2, "select fso_manager_name, to_char (fso_code) of fs_system_operators");

    END IF;

    ERRCODE: = POPULATE_GROUP (RG_ID2);

    CLEAR_LIST ('INVOICE_HEAD.invh_fso_code');

    POPULATE_LIST ('INVOICE_HEAD.invh_fso_code', RG_ID2);

    END;

    INVOICE_HEAD.invh_fso_code is a database column.


    version of forms: form of oracle 10g


    Can someone help me.


    Thank you and best regards,

    JaKes

    Use this procedure to fill out your list item.

    PROCEDURE LOAD_LIST_ITEMS (NOM_LISTE VARCHAR2, VARCHAR SQLSTR) IS

    GROUP_ID RECORDGROUP;

    ITEM_ID;

    SQL_NEW VARCHAR2 (2000);

    REPORT NUMBER;

    BEGIN

    ITEM_ID: = FIND_ITEM (LIST_NAME);

    IF ID_NULL (ITEM_ID) then

    MESSAGE ("list item ' |") Nom_liste | 'does not exist.");

    END IF;

    CLEAR_LIST (ITEM_ID);

    SQL_NEW: = SQLSTR;

    GROUP_ID: = CREATE_GROUP_FROM_QUERY ('GROUPNAME', SQL_NEW);

    STATUS: = POPULATE_GROUP ('GROUPNAME');

    IF STATUS = 0 THEN

    POPULATE_LIST (ITEM_ID, GROUP_ID);

    END IF;

    DELETE_GROUP (GROUP_ID);

    END;

    Call it like this in your time-new-form-proceedings

    LOAD_LIST_ITEMS('YOUR_BLOCK.) LIST_ITEM ',' SELECT ENAME, TO_CHAR (EMPNO) OF SCOTT. EMP ORDER BY ENAME');

  • Calculation for cutting the first part of the string in the Manager list item values

    Hello

    Please help me with a calculation after submit pl/sql function process for cutting the first part of the string (CQ.) within the values of list manager. For example the list manager support contains values such as

    CQ... SAMPLE1... TEST1

    CQ... SAMPLE2... TEST2

    CQ... SAMPLE1... TEST2

    The calculation process should cut the first part(CQ..) and must return to the list of values of Manager as

    SAMPLE1... TEST1

    SAMPLE2... TEST2

    SAMPLE1... TEST2

    Oracle APEX 4.0.2 is the version and Oracle 10 g r2 is the database.

    Please help me with possible approaches in the development of the service. Thanks in advance.

    Thank you

    Orton

    orton607 wrote:

    But when I insert/update Manager list item values I don't want the first part of the string in the database.

    I still don't understand why you can't change the LOV or create a new...

    The LOV should be:

    SELECT original_value  AS HUMAN_SEES_THIS_VALUE
        ,LTRIM (SUBSTR ( original_value, INSTR (original_value, '..') + 2))
          AS DATABASE_GETS_THIS_VALUE
    FROM (
      -- place original SQL for LOV here
    )
    
  • FRM-30351: no list items defined for the list item

    Hello
    I used a dynamic list, and when I compile this message appears:
    FRM-30351: no list items defined for the list item.

    If the list is not needed, it's just a warning and you can ignore it.

  • How to customize the status of the selection of the converter of custom list item?

    I have a list item that uses a custom converter, implemented as a MXML component. When a list item is selected, I want to change the appearance of the text of the item, police characters and color and ideally located in the background of list item to a gradient rather than a solid color.

    How would I go to do this?

    See you soon
    Adam

    I think that should help:

    summer http://butterfliesandbugs.wordpress.com/2007/06/25/How-to-Know-when-my-itemRenderer-is-sel.

  • Custom list item changes when you click

    I'm having a strange problem.

    When my list of messages is filled first, she checks a property in the json data to see if the message is 'read' or 'unread '. If it is "no read", it will be a different color than those who are already "read" to indicate to the user.

    It works very well, however I added an action context to the list, and when this action is triggered, I'm changing the message "unread". If the color of the list item to change. This works.

    However, after I changed the color of a single item in the listwhen I do scroll down and down, many elements change color. I think it has to do with the rendering of the list of recycling.

    This behavior does not occur after that list first initializes. Regardless of the colors have been queued to initialize their place. Only after that I have an amendment to one of the elements in the list, things go crazy when I scroll. I hope I'm being clear.

    How can I stop this from happening?  This is the code that changes the color of the label in my custom list item.

     listItemComponents: [
                                ListItemComponent {
                                    MessageListItem {
                                        id: messagesListItem
                                        contextActions: ActionSet {
                                            ActionItem {
                                                title: "Mark Unread"
                                                onTriggered: {
                                                    if (messagesListItem.isNew == false) {
                                                        var selectedItem = ListItemData;
                                                        messagesListItem.isNew = true; //property of list item is changed to unread
                                                    }
                                                }
                                            }
                                        }
    

    And inside the MessageListItem.qml

    property bool isNew: ListItemData.data.new
    
       onIsNewChanged: {
            if (isNew == true) {
                subjectLabel.textStyle.color = Color.create("#FF4500");
            } else {
                subjectLabel.textStyle.color = Color.create("#000000");
            }
        }
    

    Please let me know if you have any questions, any help or suggestion is appreciated. Thank you!

    Hello!

    I think that it doesn't because you are not changing 'new' dataModel element variable. In addition, assigning directly control isNew breaks property DataModel is bound to it.

    It should work if you change the dataModel instead.

    An important point to note, however, that it is not possible to change the individual variables of dataModel point. You need to replace the entire item. The code example for GroupDataModel: (not tested, so may require tweaks, tell me please if you need help in getting this work):

    onTriggered: {
      var selectedItem = ListItemData  // get a copy of dataModel's item
      selectedItem.new = !selectedItem.new  // modify it's property
      messagesListItem.ListItem.view.dataModel.updateItem(indexPath, selectedItem) // update the model
    }
    

    For ArrayDataModel, the function is named differently.

    In addition, this line seems suspicious:

    property bool isNew: ListItemData.data.new
    

    Probably, it should be replaced by this one:

    property bool isNew: ListItemData.new
    
  • The list item file (oracle form 6i)

    Hi all


    I have a problem regarding complete recording in the list item

    I have this code works in Oracle 10 g Forms Builder

    DECLARE
    REPORT NUMBER;
    Problem EXCEPTION;

    BEGIN

    -to fill the
    STATUS: = POPULATE_GROUP ('RG_PROD_DESC');

    -Make sure that the select statement is executed successfully.

    IF <>STATUS 0 THEN
    PROBLEM;
    ON THE OTHER
    -to fill the list item
    POPULATE_LIST (' DESCRIPTION ', 'RG_PROD_DESC' ");
    END IF;

    EXCEPTION
    Problem WHEN THEN
    MESSAGE ("we have a problem to query the table PRODUCT.');
    END;


    but when I try this code in Oracle Forms 6i, it did not work.


    can someone help me in this matter?

    Try this way. I changed some of the code to test on my system.

    DECLARE
    STATUS NUMBER;
    Problem EXCEPTION;
    list_id ITEM;
    BEGIN
    list_id :=Find_Item('Blockname.Listname');
    -- to populate the group
    STATUS:=POPULATE_GROUP('RG_PROD_DESC');
    -- Check that the select statement was executed successfully.
    CLEAR_LIST(list_id);
    POPULATE_LIST(list_id, 'RG_PROD_DESC');
    
    EXCEPTION
    WHEN others THEN
    MESSAGE ('We have a problem to query the PRODUCT table.');
    END;
    

    Best regards
    Franck Giri

  • Registration for the Standard warranty and extended

    I have registered my system to the Standard warranty and also fact of registration for extended warranty Service (2 years) and _got message for registaration successful for both, standard warranty and extended warranty_. But on the verification of the details of my system to it always says my system is NOT REGISTERED and the guarantee here it shows only 365 days and not 3 years!

    Can someone pls help and inform me of the email address of contact of the Toshiba research customer service records and warranty extensions?

    * After how many days they are updating the registration information on ? *.

    Maybe something went wrong during registration or the system not updated status. As Jeffrey has already suggested, eventually the data was not updated and you have to wait one, two day (s).
    If we can't change the status of the guarantee, contact the service provider to authorize to clarify this issue!

    Concerning

  • How to register for the standard warranty on Satellite C660 1 X 3

    Hi all
    I had a new trick on Saturday 10/15 and recorded on the site of toshiba for the standard warranty. I probably made a mistake, because every time that I check status on TemPro it says "Unregistered" for an extension on the EMEA region, from 1 to 2 years.
    In addition, whenever I want to re - register he tells me that it is already registered. OK, when I want to check the details on the registration on the site http://www.toshiba-tro.de/unitdetails it does not appear as "registered."
    My lap is a Satellite C660 - 1 X 3, purchased from Romania, linked to my profile on this site.
    Help, please

    Thanks for the comments!

  • Refuses to pages to center the list items correctly (Pages 5.6.1)

    Hi guys! There is a problem with centering of the list items. When I create one of all kinds (numbered for example) and you want to place it in the center of the document, I get this:

    To move it to the right place (and I doubt that it is in fact a true Center) I need to use the list tab and use the left alignment as in the following image:

    Is there a way to make Pages to do things - to move the text with a number when I want to place it in the center of the document?

    Tried everything. Nothing works.

    Thanks in advance!

    [deleted - / viking] Thought I had it fixed, but apparently not.

  • Where can I find the numerical value for GenICam standard pixel formats?

    I am putting in place a structure of case for the reconstruction of image formats using the pixel as IMAQdx output format. Confirmed the consistent property of 'Pixel Format' numeric U32 in id IMAQdx from camera to camera, but it's just a number, and I don't see that the number of image formats used by the cameras I (I need code for other formats I've yet to see). The GenICam standard 1.1 supports 52 image formats, and no doubt IMAQdx has a corresponding U32 value for each format. Where can I find this list? The .pdf for the GenICam standard lists the formats available in name only and does not have a corresponding numerical value.

    Hey Nasgul

    The attribute 'PixelFormat' is actually a list of name/value pairs. For GenICam cameras (such as GigE Vision) these names and these values are determined by the camera, no IMAQdx XML file. The names themselves are normalized by the part of the "Standard feature Naming Convention" of GenICam (but aren't their values).

    I think you speak for the Format of Pixel property node. I think you are right that it is a digital. It's probably because the available modes can not be known before you actually run the code and the LabVIEW enumeration values must be known when editing, no compilation. The node itself as a digital is probably as a relic of the firewire interface. It would be probably more useful as a string, I imagine.

    You probably want to use the generic way of manipulating the attributes instead. You initially set the property 'Attribute Active' in 'PixelFormat' and then you can then query a list of name/value pairs available or simply set the value. IMAQdx allows you to set the value directly as a string (using the standard names) rather than having to translate it into a numeric value.

    Eric

  • List items are overlapped on popup screen

    Hi all

    I'm developing an application in which i use a popup screen and I have an ist of all data on the device (memory a sd card in the device). I show these data in a list and with a few images and checkboxes. My problem is that when I scroll or scroll through list items upward, are overlapped and yet when I scrolling to a particular element, only this element comes to its normal state.

    And this behavior is only broadcast on the devoce but when I run the same code on Simulator it works very well without any problems!

    Why this is happening? Any idea?

    Help, please!

    Thank you..

    Thnx for your help...

    My problem is solved...

    I was doing loads of operations under oaint method...

    Thank you very much...

  • How to display the list item values both from 2 different tables?

    Hello world.

    I have a problem for the display of the data.

    There are 2 tables in the database.

    Table-1 has lc_value, lc_no, lc_dt, and vendor_code columns.

    Table-2 has vendor_code, $vendor_name & vendor_address.

    I created the form where I display data in list item 30 (tabular presentation - 30 records displayed).

    I need to display all values automatically at the same time in the form just by clicking on "Enter_Query" and "Execute_Query".

    It worked when the form had fields in a table in a single table.

    I created fields in a table for tables; then created the relationship between the tables by using the join (vendor_code).

    But when I run the form, click on "Enter_Query" and "Execute_Query", its does not work.

    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.

    How can I do this?

    Help me.

    Thank you.

    Dear Bruno,

    Each provider code is to have a folder, then

    Why keep two tables?

    Why you want to update both the table at the same time?

    Master / detail means,.

    a master record depends on several detail records.

    Please, understand and try to build your form with single table.

    If you have already created 2 tables, then merge these into a single table.

    Or other wise keep table_1 as a database block and to vend_name as a data field (element of database in the palette of the property is set to 'no').

    Then go to the trigger of table_1 block post_query and write the following:

    Select vend_name in: vend_name from vendor_mst where vend_cd =: lc_vend_cd;

    In doing the above, the form will look as you wish but the change on the vend_name not to be saved because that is the point of no database.

    Other than vend_name all fields in table_1 will be recorded.

    Hope this will help.

    Post edited by: Priyasagi

Maybe you are looking for