GetPanelMenuBar() function PROBLEM

Hello

I have to get the ID of the menubar that is associated with a group of experts. The menu bar associated with the Panel is indicated in the control panel interface (.uir: Control Panel-> board settings-> Menu bar).

The Committee is loaded into memory by LoadPanel.

When calling the GetPanelMenuBar function in him passing my handful of Panel, this one always returns a value of 2 (corresponding to the first (menu) item in my menu) and not the Id of a menu bar.

Thus, by creating 3 menubar and by changing the Association thereof in the .uir of the Group of experts, even though the right menu is displayed, I always get the 2 value (while the function should me Lettermail 1, 2 or 3 according to the menu bar associated with the Group of experts).

LabWindows CVI 8.5.1

Here, for example, the ID of bar of menus/menusitem present in the .h associated with the .uir:

#define MENUBAR 1
#define MENUBAR_MENU1 2
#define MENUBAR_MENU1_ITEM1 3
#define MENUBAR_MENU1_ITEM1_SUBMENU 4
#define MENUBAR_MENU1_ITEM1_ITEM2 5
#define MENUBAR_MENU1_ITEM1_ITEM4 6
#define MENUBAR_Edit 7
#define MENUBAR_Edit_ITEM5 8
#define MENUBAR_Edit_ITEM6 9

#define MENUBAR_2 2
#define MENUBAR_2_MENU2 2
#define MENUBAR_2_MENU2_2 3

#define MENUBAR_3 3
#define MENUBAR_3_MENU1 2
#define MENUBAR_3_MENU2 3
#define MENUBAR_3_MENU3 4
#define MENUBAR_3_MENU4 5
#define MENUBAR_3_MENU4_ITEM1 6
#define MENUBAR_3_MENU4_ITEM1_SUBMENU 7
#define MENUBAR_3_MENU4_ITEM1_ITEM2 8
#define MENUBAR_3_MENU4_ITEM1_ITEM2_SUBMENU 9
#define MENUBAR_3_MENU4_ITEM1_ITEM2_ITEM3 10
#define MENUBAR_3_MENU4_ITEM1_ITEM2_ITEM4 11
#define MENUBAR_3_MENU4_ITEM1_ITEM2_ITEM5 12
#define MENUBAR_3_MENU4_ITEM1_ITEM2_ITEM6 13
#define MENUBAR_3_MENU4_ITEM1_ITEM2_ITEM6_SUBMENU 14
#define MENUBAR_3_MENU4_ITEM1_ITEM2_ITEM6_ITEM7 15
#define MENUBAR_3_MENU4_ITEM1_ITEM2_ITEM6_ITEM7_SUBMENU 16
#define MENUBAR_3_MENU4_ITEM1_ITEM2_ITEM6_ITEM7_ITEM8 17

I don't want to use the UI CVI Locator: I found this tool is not suitable for what I want to do.

I'll try to use another method or choose this solution at the last.

Thank you for your support.

Eddy

Tags: NI Software

Similar Questions

  • 10g of functional problems upgrade to 11g

    Hello gurus,

    Upgrading an instance 11i, between 10 and 11g db. Can you help us with the list of common functional issues that business users would face, as linked to workflows, customizations, localozations etc... If anyone has the list of common problems to wait with their resolution, it would be very useful.

    Modules of Oracle - PO, OM, INV, WIP, BOM, PRJ, AP, AR, GL, FA, mobile Service, EAM, iProc, iExp, CPSA

    Thank you.

    A database upgrade is technical and it usually causes no functional problems. However, you may consult the following and see if they help.

    R12.1:invalid objects after 11 GR 2 Db and Ebs 12.1.3 Upgrade [1342701.1 ID]

    ORA-29532 after upgrade of database environment APPS [833237.1 ID]

    Autoinvoice does not process the records in the Table of Interface [ID 1513105.1]

    Registry of unused and unresolved recipes fail with ORA-06502 [ID 1471891.1]

    AutoInvoice error: RAXTRX does not all lines when called via RAXMTR, but imports successfully when run as a standalone [1272820.1 ID]

    Slow performance in Pick release after upgrade to RDBMS 11.2.0.1 (GR 11, 2) [ID 1087099.1]

    Configurator does not not after upgrade to 11 g 2 [ID 1206697.1]

    Transaction and quick ship shipping forms will not compile after installing new release 12.1.2 [1103188.1 ID]

    Slow performance or FRM-40212 to Documents - additional rules [1369124.1 ID]

    After upgrading the database to GR 11 2 formula generation times out [1166703.1 ID]

    Thank you

    Hussein

  • Function problem made Gaussian Peak.

    Hello, everyone:

    I have a problem, the buffaloes me completely. I am collect a signal of the spectrometer, and then use PIC finder to find peaks and fix them with the Gaussian curves. And that part works fine, when I tweak estimate. Next thing I've tried is to let a user choose a pic that he or she wants to adapt. Basically, I did the same thing previously, except that now it's the positions of the peaks set by the user, who are sent to Gaussian PEAK function to adapt. And here's the problem: Gaussian peak function simply do not Fit all incidental, it only to generate curves Gaussians, located at home position with initial amplitudes and the initial width. I tried everything I could think of, but nothing helped. I even tried to provide the function with a manually - set data it worked! But in my code it does nothing!

    Any ideas how this can be possible?

    Thank you very much for your help!

    Kirill

    Please form an example of ready-to-run, not a Subvi. None of your controls contain typical data.

    It seems that your data have a large lag there, but your so fixed zero offset adjustment. You need modify the setting limits and define the limits of the offset of 0.0 to inf /-inf.

    Easiets would be to right click on the entry of "limits" and "create a constant." Change it now, of zeros - inf and inf, respectively.

  • DATACOPY function problem using several variables quick

    Hello

    I have problem when I use more variables and then a quick calculation with DATACOPY function. When I put a prompt variable in function DATACOPY it works but when I add one or more it gives me error Essbasse (I can see it in the Essbase Administration journal not in the syntax checking process):

    Not valid [Calc Script syntax

    DATACOPY Q1020-> Dec-> 'FY14'-]

    [Fri Jul 11 15:04:25 2014] Local/TS_PLAN/Prihodi/admin@Native Directory/1004/Error (1200421)

    Error occurred at or after the line [8]

    -Essbase put FY14 because it is rapidly Variable in this error above.

    I try datacopy function with this:

    DATACOPY Q1020-> Dec-> "FY14 '... It works

    DATACOPY Q1200-> Dec-> {YearPrompt}... It works

    DATACOPY Q1200-> Dec-> {YearPrompt}-> {ScenarioPrompt} it doesn't it break on variable ScenarioPrompt.

    Thank you

    Finally, I solved my problem. That was the problem Essbasse how to understand the spaces between the dimensions. I didn't not use quotes for members and I put space between the arrows. It gave me an error I think because he did not understand space as the space. Now, when I use quotes and remove the space between the arrows cross dimensions it works.

  • listagg function problem

    Hello

    I'm not able to get the data using the listagg function.

    DB: 11g

    CREATE TABLE HAS

    (NAME, VARCHAR2 (10))

    VAL VARCHAR2 (10));

    INSERT INTO A VALUES ('LTR', ' 111');

    INSERT INTO A VALUES ('LTR', ' 112');

    INSERT INTO A VALUES ('LTR', ' 113');

    COMMIT;

    SELECT * FROM A;

    SELECT * FROM WHERE A VAL IN (SELECT LISTAGG (A1. VAL, ",") THE GROUP (RANKING BY A1. (VAL) AN A1);


    Break down the problem.

    your subquery is:

    SELECT LISTAGG (A1. VAL, ",") THE GROUP (RANKING BY A1. VAL) AN A1;

    which returns the following STRING:

    LISTAGG (A1. VAL, ",") WITHINGROUP (ORDERBYA1. VAL)

    --------------------------------------------------------------------------------

    111,112,113

    Then use one to find... so basically, you do this:

    SELECT * FROM WHERE A VAL IN ('111,112,113');

    See the problem yet?

    Looking around 'dynamic IN the list... "

    I don't have the links, however, it is fairly easy to find in this search string

  • Table/PHP function problem

    I'm having a problem trying to understand why a predefined table is not actually the echo/print_r when called from inside a function.

    the array is global (?) by being defined outside the or some functions. I can't see why he won't show the picture?

    He works outside the service

    $mondayset = array () "setone", "settwo", "setthree", "setfour");

    $tuesdayset = array () '' setfive', 'setsix', setseven');

    function dosets ($pubdate)

    {

    $caledardate = explode()"/", $pubdate);

      $timestamp = strtotime(""$caledardate[2]"". ) "-" . "$caledardate[0]". "-" . "$caledardate[1]");

    if (date (', $timestamp) = "MON")

    {

    echo ' it's Monday today\n ";

              print_r ($mondayset);


    }

    $thedate = 02/12/2013

    dosets ($theDate)

    Variables inside functions have local scope.

    http://PHP.net/manual/en/language.variables.scope.php

    You can pass the array to the function if you want to reference.

  • CONTAINS function problem

    Hi all!!

    I had a problem with contains the function. I am running oracle 11g.

    If I run this query:


    SELECT x.lid as id,  x.sztitular as titular, e.szname as proName, x.szresumen  as resumen, b.sztitle  as catName, 
    f.szname  as secName, d.szname  as cliName, x.datecreation as datecreation 
    
    FROM CPR_PRACTICAL_CASE x,ctg_category b, CPR_CLIENT d, pro_product e, CAT_SECTOR f, CPR_PCASE_PRODUCT g, CPR_PCASE_SECTOR h, 
    
    PRO_PRODUCTCATEGORY i WHERE  x.lid = g.lpcaseid and e.lid = g.lproductid and x.lid = h.lpcaseid 
    and f.lid = h.lsectorid and x.lclientid = d.lid and i.lproductid = e.lid and  b.lid = i.lcategoryid 
    AND x.szlocale = 'es-ES' AND  x.bavailable = '1'
    I get 1 row as a result with the column sztitular = 'rollers of measures. "

    If I add only a sentece more to this query:
    AND CONTAINS( x.sztitular, 'rodillos',1) >0
    the query returns an empty set... really, I don't understand why because the term "rollers" is present in the column of the line called "sztitular"...

    I put an index on that column:
    create index ITXT_TITULAR on CPR_PRACTICAL_CASE(sztitular) INDEXTYPE IS CTXSYS.CONTEXT;
    any help?

    Thank you very much!!!

    Hello

    the line was before creating the index or have you added the line after you have created? You created the index without the sync option, so a new line is not reflected in the index, after a sync.
    A quick synchronization goes hand in hand with

    begin
      ctx_ddl.sync_index('ITXT_TITULAR' );
    end;
    

    In addition, you could add a synchronization to creating indexes, after that, each commit will also synchronize the index:

       create index ITXT_TITULAR on CPR_PRACTICAL_CASE(sztitular) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('SYNC ( ON COMMIT)') ;
    

    Herald tiomela
    http://htendam.WordPress.com

  • Double line with aggrigate function problem

    I want to see in my DB duplicate rows
    This query works fine

    SELECT COUNT (*),
    Description,
    fk_patprot,
    IsConfirmed,
    actual_schdate, fk_visit
    OF sch_events1
    Description of GROUP BY, fk_patprot, isconfirmed, actual_schdate, fk_visit having count (*) > 1


    But the thing is
    I want to see the event_id between the result column, event_id is not null and unique
    If I execute this query then output will be empty, said 0 selected lines.
    SELECT event_id,
    Count (*),
    Description,
    fk_patprot,
    IsConfirmed,
    actual_schdate,
    fk_visit
    OF sch_events1
    GROUP BY description, event_id, fk_patprot, isconfirmed, actual_schdate, fk_visit
    Having count (*) > 1


    What is the alternative for this request? I want these column in a query.

    EVENT_ID | DESCRIPTION | FK_PATPROT | ISCONFERMED | ACTUAL_SCHDATE
    1. AA | BB | CC | DD
    2. AA | BB | CC | DD
    3. QQ | QQ | QQ | QQ
    4. QQ | QQ | QQ | QQ
    5. QQ | QQ | QQ | QQ

    Thanks in advance

    Published by: Navneet Singh on July 22, 2011 08:34

    Hello

    One way to solve this problem is to use the function SUMMARY, rather than the aggregate COUNT:

    WITH     got_cnt          AS
    (
         SELECT     event_id
         ,      description
         ,     fk_patprot
         ,     isconfirmed
         ,     actural_schdate
         ,     fk_visit
         ,     COUNT (*) OVER ( PARTITION BY   description
                         ,            fk_patprot
                         ,          isconfirmed
                         ,          actural_schdate
                         ,          fk_visit
                          )     AS cnt
         FROM     sch_events1
    )
    SELECT     *
    FROM     got_cnt
    WHERE     cnt     > 1
    ;
    

    Most of the functions of aggregation (including COUNT) have analytical equivalents, which can produce the same results without causing the disintegration of all results in one line per group. The PARTITION BY clause from analytical functions corresponds to the GROUP BY clause in the aggregation queries.

  • NodeIsLeaf() function problem

    Hello

    I created a derived property that uses the Boolean function NodeIsLeaf().
    The formula is:

    If (NodeIsLeaf (), S, X)

    The formula evaluates well and gives a correct result when you change the formula.
    When I save it and go to the hierarchy and checking the value of the property at the level of the node, it shows just a white.

    I noticed one thing was after a backup below is the error in the "evaluation results": message box

    ' DRM-25606: Invalid Boolean value: D..

    When I check the formula I do nto see invalid return or something else, I've included.
    Can someone tell me what can be the problem here?

    Thanks in advance,
    Mounira Dutta

    What version of DRM are you running?

    Also, since NodeIsLeaf() returns a value chain, better programming practices would be:

    If (StrToBool (NodeIsLeaf ()), S, X)

    I do not say that it will certainly solve your problem, but you might be surprised to know how many issues I have seen with access violations after upgrades and applications of a stamp that were resolved by encapsulating literals string with StrToBool(), even when they are returned by the functions of the system.

  • loop / function problem

    I created a series of button with references of SWFs to load that clicks on the buttons.

    The click function only works for every third button. All the buttons and the names are iterated correctly.
    What's the problem with the line item "ProjectClicked (this._parent.projectID)"; or something else?
    Any help would be appreciated.

    function buildResMenu() {}
    var xSpacing:Number = 130;
    var ySpacing:Number = 20;
    var xStart:Number = 0;
    var yStart:Number = 0;
    var: number = 0;
    for (i = 1; i < 4; i ++) {}
    for (j = 0; j < 3; j ++) {}
    Count ++;
    var name: String = "menu2" + count + "_mc";
    _root.M2.attachMovie ("Pinball", count);
    _root.m2 [name] ._x = (I * xSpacing)-130;
    _root.m2 [name] ._y = j * ySpacing;
    _root.m2 [name] .main_text. Text = resMenu [count-1] [0];
    _root.m2 [name] = resMenu [count-1] .projectID [1];
    }


    _root.m2 [name].item_btn.onPress = function () {}
    itemProjectClicked (this._parent.projectID);


    }
    }
    }


    ;

    buildResMenu();

    function itemProjectClicked (projectID:String) {}
    _root. M4.loadMovie (projectID);
    }

    Homerun. Very logical but I could not see.

    Thanks for your help ric5611

  • function problem

    I want to "call" a function of the movie root to a children's movie.
    So, I have to root:
    _root.child_mc. FunctionName();
    in the child_mc:
    nomfonction = function()...

    I can do the "setback":
    in the root:
    nomfonction = function()...
    in the child_mc:
    _parent. FunctionName

    can someone help me?

    "erjee" wrote in message news:[email protected]...
    > hereby not working code
    > I can't attach a fla file, so I'll try it this way
    > in the root of a new flash doc I wrote this code:
    >
    > _root.movie_mc.test ();
    >
    > rootfunction = function() {}
    > trace ("call to work of rootfunction");
    > }
    >
    >
    > I did a clip called movie_mc and joined this code:
    > function test() {}
    > trace ("it's working");
    > }
    >
    > _parent.rootfunction ();
    >
    > the result is that the call to the rootfunction (of the child) works
    > but the call of the main or root to the child does not
    >
    > :-(

    You cannot call function to movieclip on the first frame of the timeline of _root because of the order of loading and playback. Wait 1
    more frame before you call, using a timer or delay or move the calling code in box 2. If you call the function on
    and you can see that it runs from frame 2.

    this.onEnterFrame = function()
    {
    movie_mc.test ();
    }

    inside the movie_mc
    function test() {}
    trace (_root._currentframe);
    }

    Whenever you have problems with your Flash programs, zip the fla, transfer it on your site and post a link to it here. It's the
    the fastest way to get help on this subject.
    tralfaz

  • Oracle forms 6i, KEY functions problem

    Hello
    I work with Oracle Forms 6i and I have a problem of deactivation of any function key.

    I try to disable the F5 key via the F5 trigger of form but it does not work, I found another solution to this forum by changing the macro file, but is not a viable solution for me because a malicious user can edit this file on your PC and disable the control.

    There is a safer method to disable the f5 key?

    I thank in advance.

    Pedro

    The question is not how to disable a key, it can be more how to disable a feature. What features you want to disable? Default F5 matches KEY-MENU-relaxation, if this is the function you want to disable, write a NULL value; in the KEY-MENU-relaxation.

  • pl sql function problem

    Hello
    currently I'm trying to fix the errors in my code:

    create or replace function totalV (dep dept.dname%type)
    return the total number of numbers IS.

    Start
    Select count (*) in total of deptV where dname = dep.

    TABLE (citylocated) Group of dname;
    return to the total;
    end totalV;

    They are the mistakes of errors see the:
    LINE/COL ERROR

    + 5/1 PL/SQL: SQL statement ignored +.

    + 5/59 PL/SQL: ORA-00933: SQL not correctly completed command +.

    Unfortunately I do not know what it means, and it seems that the argument (maybe?) is the problem
    or the varray?

    He comes to the table:

    create the table deptV
    +(+
    DName varchar2 (25).
    CityLocated varray_city,

    constraint dept_pk123 primary key (DName)
    +);+
    to run this function:

    Select dname, totalV (dname) in the deptV;

    Thanks in advance

    What is citylocated? It seems that it is a collection that you want to join deptV with, however you specified in the WHERE clause. Should be something like:

    create or replace
      function totalV(
                      dep dept.dname%type
                     )
        return number
        is
            total number;
        begin
            select  count(*)
              into  total
              from deptV,
                   TABLE(citylocated)
              where dname = dep
              group by dname;
            return total;
    end totalV;
    /
    

    SY.

  • First HP and RPN function problems

    I am filling a whilest the RPN setting function is active.

    Why do I receive the "Error: Syntax Error" when you paste a function?

    Does not allow the first HP for this or is there something I'm missing here?

    Should I really have to change the settings for RPN, algebraic or manual for an input function?

    Hello

    Use the ' ' when entering equations into RPN mode (mode RPN equations are algebraic expressions that need to be in ' ' brands)

    HTH

  • ListView context menu function problem

    I'm trying to get positions in my context menu and the button to work, but the file for routing functions doesn't seem to work

    ListView {
                        function getApp() { // 1
                            return _app
                        }
    
                        id: listView
                        property string selectedItemID
                        dataModel: _app.dataModel
    
                        listItemComponents: [ // 2
    
                            ListItemComponent {
                                type: "item"
                                Container {
                                    id: itemContainer
                                    layout: StackLayout {
                                        orientation: LayoutOrientation.LeftToRight
                                    }
                                    StandardListItem {
                                        id: rootItem // 3
                                        title: ListItemData.name
                                        description: ListItemData.description
    
                                        contextActions: [
                                                      ActionItem {
    
                                                        title: qsTr("Clear All") + Retranslate.onLanguageChanged
                                                        imageSource: "asset:///images/ic_clear_list.png"
                                                        attachedObjects: [
                                                            SystemToast {
                                                                id: clearToast
                                                                body: qsTr("All Items Deleted") + Retranslate.onLanguageChanged
                                                            },
                                                            SystemDialog {
                                                                id: clearDialog
                                                                title: qsTr("Clear List") + Retranslate.onLanguageChanged
                                                                body: qsTr("This action will delete all list items.  This action cannot be un-done.") + Retranslate.onLanguageChanged
                                                                onFinished: {
                                                                    if (clearDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        rootItem.ListItem.view.getApp().clearObjects() // 4
    
                                                                    if (clearDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        clearToast.show()
    
                                                                }
                                                            }
                                                        ]
                                                        onTriggered: {
                                                            clearDialog.show()
                                                        }
                                                    },
                                                    DeleteActionItem {
                                                        title: qsTr("Delete") + Retranslate.onLanguageChanged
                                                        imageSource: "asset:///images/delete.png"
                                                        attachedObjects: [
                                                            SystemToast {
                                                                id: deleteToast
                                                                body: qsTr("Item Deleted") + Retranslate.onLanguageChanged
                                                            },
                                                            SystemDialog {
                                                                id: deleteDialog
                                                                title: qsTr("Delete Item") + Retranslate.onLanguageChanged
                                                                body: qsTr("This action will delete this item.  This action cannot be un-done.") + Retranslate.onLanguageChanged
                                                                onFinished: {
                                                                    if (deleteDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        rootItem.ListItem.view.getApp().deleteObject(ListItemData.customerID) // 4
    
                                                                    if (deleteDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        deleteToast.show()
    
                                                                }
                                                            }
                                                        ]
                                                        onTriggered: {
                                                            deleteDialog.show()
    
                                                        }
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                    Label {
                                        text: ListItemData.lat
                                        textStyle.fontSize: FontSize.Large
                                    verticalAlignment: VerticalAlignment.Center
    
                                }
                                    Button {
                                        leftPadding: 30
                                        rightPadding: 30
                                        preferredWidth: 150
                                        imageSource: "asset:///images/ic_add.png"
                                        onClicked: {
                                            rootItem.ListItem.getApp().updateObject(ListItemData.customerID, ListItemData.name, ListItemData.description, ListItemData.datefield, ListItemData.lat + 1, ListItemData.lon, ListItemData.categorySelect, ListItemData.mapurl)
                                        }
                                    }
                                }
    
                            }
    
                        ]
                        onTriggered: {
                            clearSelection()
                            select(indexPath)
    
                        }
    

    Any help would be greatly appreciated.

    Okay, I should have added more information.  I managed to find a workaround.  instead of using a standard list item, I just made each item container.

    Here is the new labour code:

    ListView {
                        function getApp() { // 1
                            return _app
                        }
    
                        id: listView
                        property string selectedItemID
                        dataModel: _app.dataModel
    
                        listItemComponents: [ // 2
    
                            ListItemComponent {
                                type: "item"
                                Container {
                                    id: rootItem
                                    rightPadding: 20
                                    leftPadding: 20
                                    contextActions: [
                                            ActionSet {
                                                title: ListItemData.name
                                                actions: [
                                                    ActionItem {
                                                        title: qsTr("Edit") + Retranslate.onLanguageChanged
                                                        imageSource: "asset:///images/ic_edit.png"
                                                        attachedObjects: [
                                                            Sheet {
                                                                id: editSheet
    
                                                                Page {
    
                                                                    id: rootPage
                                                                    titleBar: TitleBar {
                                                                        id: editBar
                                                                        title: qsTr("Edit") + Retranslate.onLanguageChanged
                                                                        visibility: ChromeVisibility.Visible
    
                                                                        dismissAction: ActionItem {
                                                                            title: qsTr("Cancel") + Retranslate.onLanguageChanged
                                                                            onTriggered: {
                                                                                // Hide the Sheet.
                                                                                editSheet.close()
                                                                            }
                                                                        }
                                                                        acceptAction: ActionItem {
                                                                            title: qsTr("Save") + Retranslate.onLanguageChanged
                                                                            onTriggered: {
                                                                                // Hide the Sheet and emit signal that the item should be saved
                                                                                rootItem.ListItem.view.getApp().updateObject(ListItemData.customerID, name2.text, ListItemData.description, datefield2.text, counter.text, limittwo.text, ListItemData.categorySelect, ListItemData.mapurl);
                                                                                editSheet.close()
                                                                                editToast.show()
                                                                                name2.text = ""
                                                                                counter.text = ""
                                                                                limittwo.text = ""
                                                                            }
                                                                        }
                                                                    }
    
                                                                    Container {
    
                                                                        layout: DockLayout {
                                                                        }
                                                                        //! [0]
                                                                        Container {
                                                                            horizontalAlignment: HorizontalAlignment.Center
    
                                                                            topPadding: 30
                                                                            leftPadding: 30
                                                                            rightPadding: 30
                                                                            Container {
                                                                                topPadding: 30.0
                                                                                layout: StackLayout {
                                                                                    orientation: LayoutOrientation.LeftToRight
                                                                                }
    
                                                                                TextField {
                                                                                    id: name2
                                                                                    text: ListItemData.name
                                                                                    horizontalAlignment: HorizontalAlignment.Center
    
                                                                                }
                                                                                Label {
                                                                                    id: datefield2
                                                                                    text: {
                                                                                        var today = new Date();
                                                                                        (today.getMonth() + 1) + "/" + today.getDate() + "/" + (today.getFullYear() - 2000);
                                                                                    }
                                                                                }
    
                                                                            }
                                                                            Container {
                                                                                layout: StackLayout {
                                                                                    orientation: LayoutOrientation.LeftToRight
                                                                                }
                                                                                topPadding: 40
    
                                                                                TextField {
    
                                                                                    id: counter
                                                                                    text: ListItemData.lat
    
                                                                                    inputMode: TextFieldInputMode.NumbersAndPunctuation
    
                                                                                }
                                                                            TextField {
    
                                                                                id: limittwo
                                                                                text: ListItemData.lon
                                                                                hintText: qsTr("Limit") + Retranslate.onLanguageChanged
                                                                                inputMode: TextFieldInputMode.NumbersAndPunctuation
    
                                                                            }
    
                                                                        }
    
                                                                            attachedObjects: [
                                                                                SystemToast {
                                                                                    id: editToast
                                                                                    body: qsTr("Item Edited") + Retranslate.onLanguageChanged
                                                                                }
                                                                            ]
                                                                        }
                                                                        //! [0]
                                                                    }
                                                                }
                                                            }
    
                                                        ]
                                                        onTriggered: {
                                                            editSheet.open()
                                                        }
                                                    },
                                                    ActionItem {
                                                      title: qsTr("Reset") + Retranslate.onLanguageChanged
                                                      imageSource: "asset:///images/update.png"
                                                      attachedObjects: [
                                                          SystemToast {
                                                              id: restToast
                                                              body: qsTr("Item Count Reset") + Retranslate.onLanguageChanged
                                                          },
                                                          SystemDialog {
                                                              id: resetDialog
                                                              title: qsTr("Reset") + Retranslate.onLanguageChanged
                                                              body: qsTr("This action will reset the item count to one.  You can edit the count afterwards in the edit sheet if you wish.") + Retranslate.onLanguageChanged
                                                              onFinished: {
                                                                  if (resetDialog.result ==
                                                                  SystemUiResult.ConfirmButtonSelection)
                                                                      rootItem.ListItem.view.getApp().updateObject(ListItemData.customerID, ListItemData.name, ListItemData.description, Date(), 1, ListItemData.lon, ListItemData.categorySelect, ListItemData.mapurl)
    
                                                                  if (resetDialog.result ==
                                                                  SystemUiResult.ConfirmButtonSelection)
                                                                      resetToast.show()
    
                                                              }
                                                          }
                                                      ]
                                                      onTriggered: {
                                                          resetDialog.show()
                                                      }
                                                    },
                                                    InvokeActionItem {
                                                        title: qsTr("Share") + Retranslate.onLanguageChanged
                                                        query {
                                                            mimeType: "text/plain"
                                                            invokeActionId: "bb.action.SHARE"
                                                        }
                                                        onTriggered: {
                                                            data = ListItemData.name + " count: " + ListItemData.lat + ". Shared using the TiCat app!";
                                                        }
                                                    },
    
                                                    ActionItem {
    
                                                        title: qsTr("Clear All") + Retranslate.onLanguageChanged
                                                        imageSource: "asset:///images/ic_clear_list.png"
                                                        attachedObjects: [
                                                            SystemToast {
                                                                id: clearToast
                                                                body: qsTr("All Items Deleted") + Retranslate.onLanguageChanged
                                                            },
                                                            SystemDialog {
                                                                id: clearDialog
                                                                title: qsTr("Clear List") + Retranslate.onLanguageChanged
                                                                body: qsTr("This action will delete all list items.  This action cannot be un-done.") + Retranslate.onLanguageChanged
                                                                onFinished: {
                                                                    if (clearDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        rootItem.ListItem.view.getApp().clearObjects() // 4
    
                                                                    if (clearDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        clearToast.show()
    
                                                                }
                                                            }
                                                        ]
                                                        onTriggered: {
                                                            clearDialog.show()
                                                        }
                                                    },
                                                    DeleteActionItem {
                                                        title: qsTr("Delete") + Retranslate.onLanguageChanged
                                                        imageSource: "asset:///images/delete.png"
                                                        attachedObjects: [
                                                            SystemToast {
                                                                id: deleteToast
                                                                body: qsTr("Item Deleted") + Retranslate.onLanguageChanged
                                                            },
                                                            SystemDialog {
                                                                id: deleteDialog
                                                                title: qsTr("Delete Item") + Retranslate.onLanguageChanged
                                                                body: qsTr("This action will delete this item.  This action cannot be un-done.") + Retranslate.onLanguageChanged
                                                                onFinished: {
                                                                    if (deleteDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        rootItem.ListItem.view.getApp().deleteObject(ListItemData.customerID) // 4
    
                                                                    if (deleteDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        deleteToast.show()
    
                                                                }
                                                            }
                                                        ]
                                                        onTriggered: {
                                                            deleteDialog.show()
    
                                                        }
                                                    }
                                                ]
                                            }
                                        ]
                                    Container {
                                        id: rootItemtwo
                                        layout: StackLayout {
                                            orientation: LayoutOrientation.TopToBottom
                                        }
    
                                    Container {
                                        id: rootItemthree
                                        layout: StackLayout {
                                            orientation: LayoutOrientation.LeftToRight
                                        }
    
                                    Label {
    
                                        preferredWidth: 450
                                        text: ListItemData.name
                                        textStyle.fontSize: FontSize.Large
                                    }
                                    Label {
    
                                        minWidth: 100.0
                                        preferredWidth: 100.0
                                        maxWidth: 120
                                        text: ListItemData.lat
                                        textStyle.fontSize: FontSize.Large
                                    verticalAlignment: VerticalAlignment.Center
    
                                }
                                    Label {
                                        translationY: 5
                                        text: "/" + ListItemData.lon
                                        textStyle.fontSize: FontSize.Small
                                        verticalAlignment: VerticalAlignment.Center
    
                                        textStyle.color: Color.DarkGray
                                            minWidth: 100.0
                                            preferredWidth: 100.0
                                        }
                                    Button {
                                        leftPadding: 30
                                        rightPadding: 30
                                        preferredWidth: 150
                                        horizontalAlignment: HorizontalAlignment.Center
                                        imageSource: "asset:///images/ic_add.png"
                                        onClicked: {
    
                                            rootItem.ListItem.view.getApp().updateObject(ListItemData.customerID, ListItemData.name, ListItemData.description, ListItemData.datefield, parseInt(ListItemData.lat) + 1, ListItemData.lon, ListItemData.categorySelect, ListItemData.mapurl)
                                        }
                                    }
                                    }
    
                                    Label {
                                        translationY: -20
                                        minWidth: 600
                                        preferredWidth: 600
                                        text: "Last Count: " + ListItemData.datefield
                                        textStyle.fontSize: FontSize.XSmall
                                        textStyle.color: Color.DarkGray
                                        horizontalAlignment: HorizontalAlignment.Left
                                    }
    
                                    Divider {
                                        translationY: -20
                                    }
                                }
                                    bottomPadding: 5
    
                                }
    
                            }
    
                        ]
                        onTriggered: {
                            clearSelection()
                            select(indexPath)
                        }
                    }
                }
    

Maybe you are looking for

  • Serial number

    If anyone has the serial number of your device can he use to hack info?

  • iTunes freezes for 30 minutes

    I know there have been various reports of iTunes to different freezing points, but I have not seen a solution for my particular problem.  I was hoping it will go away (I submitted a bug report, but I have not, nor I, a reply), but it seems that my pr

  • paid 15.98 usd and I did not have what I paid app sas4 game

    I spent 15.98 usd to buy a game sas4 After sending is showing an order, fruitful dialogue see the "purcash" and I type ok "failled purcash something has gone wrong." now my 15.98 usd went and got notthing can you help me please?

  • Lack of slot for player card?

    Hello Recently, I received my new T400 brand, but he seems to lack a 7 in 1 card reader when I'm confident, I ticked 'Express card' and SD on the order... can anyone confirm that this is not what it is supposed to look like? http://rebel.NET.nz/Misc/

  • ThinkPad Edge E530 BIOS

    I've updated my (initially Windows 7 equipped) Thinkpad E530 to the latest version of the BIOS version 2.55. I also installed Windows 8.1 x 64 on it. My question is: can I use the "OS Optimized Defaults" in BIOS or not? In the BIOS install descriptio