want to make action on the menu (on the program)

Hey guys what's up

I am doing an action in the application menu, I did the action and took the title, but I don't know where to implement what happens if the action is triggered, I looked in the documntaions on the blackberry site and have not found what I was looking for, the idea is once the user clicks or triggers the action a new page with a close button in the title bar will display, the page will contain information about the app purpsoses and my name etc... It is therefore an information page

Here's the code, I have implemented the action in the tabbedPane so that it can be accesed through the program, and thanks a lot guys

import bb.cascades 1.2

TabbedPane {}
ID: mainTab
showTabsOnActionBar: false
Menu.Definition: MenuDefinition {}
actions:]
{ActionItem}
Title: 'about '.
onTriggered: {}

}
}
]
}

Tab {}
Title: 'test1 '.
delegate: delegate {}
Source: "asset:///msaaTab.qml".
}
delegateActivationPolicy: delegateActivationPolicy.Default
}

Tab {}
Title: 'test2 '.
delegate: delegate {}
Source: "asset:///sbaahTab.qml".
}
delegateActivationPolicy: delegateActivationPolicy.Default
}
}

See here: https://developer.blackberry.com/native/reference/cascades/bb__cascades__sheet.html

Tags: BlackBerry Developers

Similar Questions

  • I get the message asking me what program I want to use to open the program

    When I'm online and I try to change the programs, such as clicking 'send' or any change of clock, I will get a window with about 6 choices that says: "what program you want to use to open this program" no matter which one I try, I got nowhere. This all started 4 months ago. How can I get rid of this nuisance.

    Thanks, Dan

    Hello

    (1) do you have made no changes before this problem?

    (2) what operating system do you use?

    Method 1:

    Step 1: I suggest you perform a clean boot before run us the fix it.

    Clean boot

    How to set up Windows 7 to start in a "clean boot" State

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Step 2: Cannot open. EXE in Windows 7 or Windows Vista http://support.microsoft.com/kb/2688326 files

    Note: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.microsoft.com/kb/322756 /) how to back up and restore the registry in Windows

    Method 2:

    Step 1: Run the antivirus in safe mode

    Please follow the link on how to start the computer in safe mode with network below.

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2: Microsoft Safety Scanner

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Let us know the results.

  • Want to install IIS, but the "Programs and features" window is empty

    I am running Vista Home Premium Service Pack 2. I want to install IIS. When I go to the Programs window and click on "turn Windows features On or Off", the "Windows features" window is completely empty. Thanks for any help.

    I am running Vista Home Premium Service Pack 2. I want to install IIS. When I go to the Programs window and click on "turn Windows features On or Off", the "Windows features" window is completely empty. Thanks for any help.

    Take a look at this Microsoft Support tutorial
    Turn features on or off - Windows features dialog box is empty
    http://support.Microsoft.com/kb/931712 . for the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • I downloaded photoshop and decided it was more that I wanted (cloud creative) I uninstalled the program, but still have the creative cloud trying ti install program updates and I searched for creative cloud on my computer and can't find anything. How can

    I downloaded photoshop and creative cloud. Now, I uninstalled the program but continue to have start creative cloud when I turn on my computer and want to as it went. HOW CAN I GET CREATIVE CLOUD TO GO?

    Hi James,

    Please visit: How to stop the creative cloud to run at startup?

    Kind regards

    Sheena

  • Want to get information about the coinlog.log text document

    Original title: coinlog.log text document

    Hello

    In Vista C: / Windows/temp - I noticed the text "coinlog.log" document, which contains in part something "destroyprivatedata".

    Nobody knows what this text is about; for example the malware?

    See you soon.

    Hello

    If I understand the question, you want information on document text coinlog.log. And want to know if it is a malware. Please let me know if this is not correct.
    To tell you that coinlog.log is the log of Installer file. A Setup is a DLL Win32 Microsoft that helps to peripheral installation. Installers of co are called by SetupAPI as "aid" for class installers.
    For example, a provider may provide an installer to write device-specific information in the registry that cannot be treated by the INF file.
    Apply DIF_DESTROYPRIVATEDATA directs a class installer to free any memory or resources allocated and stored in the field ClassInstallReserved of the SP_DEVINSTALL_PARAMS structure.
    For more information check out the link:
    http://msdn.Microsoft.com/en-us/library/ff543669.aspx
    If you want to make sure that the computer is virus-free, you can analyze your computer using Microsoft Safety scanner.
    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Warning: If you run the antivirus program that is infected by the virus scan will get deleted. Therefore, reinstall the program. Also, if files and folders are affected by the virus, while they might even get deleted.
    Hope this information helps you. If you need help or information, please reply to this message. I'll be happy to help you.
  • In the Powershell script execution error: could not find the type [ordered]: make sure that the assembly containing this type is loaded.

    People,

    I am trying to load and run the PowerShell script of PowerCLI Module to check the CPU, memory and storage overcommitment. VMware PowerCLI Blog - VMware Blogs but somehow it is always stopped with the error: cannot find the [ordered] type: make sure that the assembly containing this type is loaded.

    Here are some of the diagnostic result:

    $PSVersionTable

    Value name

    ----                           -----

    PSVersion 2.0

    PSCompatibleVersions {1.0, 2.0}

    BuildVersion 6.1.7601.17514

    PSRemotingProtocolVersion 2.1

    WSManStackVersion 2.0

    CLRVersion 4.0.30319.1026

    SerializationVersion 1.1.0.1

    Get-ChildItem ' HKLM:\SOFTWARE\Microsoft\NET frame Setup\NDP'-recurse |

    Get-ItemProperty-name of the EA - 0 Version |

    Where {$_.} PSChildName-match ' ^ (?) (S) \p {L} "} |"

    Select PSChildName, Version

    PSChildName Version

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

    v2.0.50727 2.0.50727.5420

    3.0.30729.5420 v3.0

    Windows Communication Foundation 3.0.4506.5420

    Windows Presentation Foundation 3.0.6920.5011

    3.5.30729.5420 v3.5

    Customer 4.0.30319

    4.0.30319 full

    Get-PowerCLIVersion

    PowerCLI Version

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

    VMware vSphere PowerCLI 5.8 Release 1 build 2057893

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

    Versions of the snap

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

    Build VMWare AutoDeploy PowerCLI component 5.5 1983942

    Build VMWare ImageBuilder PowerCLI component 5.5 1983942

    Build license of VMware PowerCLI component 5.5 1265954

    Build VMware Storage PowerCLI component 5.8 2057894

    Build VDS's VMware PowerCLI component 5.8 2031581

    Build VMware vSphere PowerCLI component 5.8 2031581

    I installed Windows6. 1 -KB2819745- x 64 - MultiPkg.msu to enable Powershell v4.0 on my Windows 7 laptop, but still the script cannot be executed with the above error message.

    Any kind of aid and assistance would be greatly appreciated.

    Thank you

    Hello-

    Ah, yes--it is that review.

    Another option, because you are not able to go to .NET FX 4.5, is to remove the parts "[ordered]' of the code that you use.  This type Accelerator makes the hash table a dictionary sorted.  The effect to remove that from the code will be that the properties of the object that results will not be in the order in which they appear in the code.

    And, another option would be to install PowerShell v3 (the version in which the '[ordered]' feature has been added').  That shouldn't require a FX .NET newer than what you showed as having already installed on this computer.  However, as we have seen with the PSSnapin and PSv4 Exchange, you want to make sure that the PSSnapins / Modules you want to use are compatible with PowerShell v3.

  • Stopwatch without pausing of the program

    I was wondering how to make a stopwatch that saves time, but doesn't actually stop the program. The wait function really wants in this part of the program and my idea was to take the time stamp at the beginning and then the timestamp at the end and see the difference, but I had ms, I need formatting timestamps to ashow me hurt. Are there any other VI who does?

    I enclose a stopwatch VI I just did. It has the function of "Tower" in it as well.

    You can put the main enforcement code in the execution of the 'while' loop In this way, there is no pause or delay in the stopwatch or your main program. You can even control the execution of the main program by passing a loop timer control setting to the main loop.

    I hope this helps.

    See you soon!

  • If I use the wizard to transfer settings and files on Windows XP, it will keep my Microsoft Office 2007 activation activation, or will I have to reactivate the program?

    I just need to restore my default settings to get my games that I LOVE to play the work; It is a windows registry problem, I think. I have my last installation of my program installed now, and I don't want to have to buy the program again to re - install (Office 07). If I use the wizard, it will keep on, or will I need a new drive to re - install?

    If you reinstall to factory settings, you will need to reinstall all the programs you have installed.
    You will lose all data
    You must run MSUpdate before installing Office
    You can re install Office as often as you want if its on the same PC, the worst way, you will have to use an online activation, and if it's a retail edition, you can install on any PC you own whenever you exceed the number of work PC allowed by your license.
    It is not recommended to use QUICKLY to desktop settings
    (I assume you have the cd/dvd as well as its key office)

    Finally, what makes you think that it is a registry problem?

  • Send a Notification E-mail to the program manager?

    Can Eloqua send me (or others) a notification e-mail when someone enters a stage of the action to the program? Or when someone is following a certain path on a decision stage? And it could contain information about the user?

    Thank you.

    Hi Rob,

    Inside the program Builder, you can configure an action step to send a notification, but not in addition to any other action.  You might therefore be able to implement so that (using your example of decision rule) to hit the 'yes' the first step is the notification then the next step is the true 'yes' action, or a similar to the 'no' set according to what you're trying to get information from.  You can do either by configuring a normal e-mail message to hold the info you want, and then Quicksend email to a specific user and use domain merges to get information about the person who is going through step.  Or you could use the 'send members report to the owner of the process"and configure it to contain what you need.

    Thank you

    Lauren

  • Flashing of the program windows with the message "not responding".

    I'm running Windows 7 Enterprise and have experienced a problem with the flashing/flickering program windows since the installation of the program. It tends to happen more, when some programs take up a lot of memory, be several excellent windows, photo editing with GIMP 2.0 program or several tab navigation in internet. The flicker can be short, but it arrived to keep it constantly. I don't know exactly, what induces it. It might have something to do with the mouse hovering over the taskbar, as the flickering tends to start when a new window will be selected. A form any of it also occurs when you type in a cell in MS Excel: I start to type in the window of a single program and finish the word in another.
    There are two options in the forums. One more course includes the passage off Windows Desktop Manager service. I tried and it seems to work. However, windows aero is off then.
    The other includes mingle with the registers in accordance with the following statement: http://www.webtlk.com/2009/06/02/how-to-fix-screen-flash-in-windows-7/. What I've avoided trying because the computer is not mine.

    So, what is the solution? This flickering is not only a cosmetic problem. In one occasion, he can freeze a program and a lot of time and also some work may be lost.

    Hi Lauri

    Sorry for the delay. :(

    You mentioned 1.5 GB of RAM, even if it is higher than the minimum requirement of 1 GB, it is weak to implement features like the Aero interface. Aero is very graphic intensive and can consume a lot of memory.

    16% of free RAM is an ambiguous number. Although you have 1.5 GB, you don't have that much physical memory available. You can check this by using resource monitor.

    Press the Windows Logo + R.

    In the Run dialog box, type resource.exe, and then press OK.

    Select the memory tab. A nice GUI appears in the physical memory section.

    An important point is the reserved physical memory. It's the memory that the computer BIOS material reserves for some hardware on the system (the installed graphics device usually consumes the biggest part). This amount of physical memory is not available for use by the system. If deduct you the number of installed RAM and then rerun your test of memory usage of crete, you will get a true number for 16%.

    Tip: you can hover over any element in the physical memory section and a description of the pop-up window for this item.

    In regards to windows offering a caveat when system resources are low, as I said before, this is what the State does not is all about. When a program is started or the memory is too low for a running program to respond timely is when you see this State does not reply and flashing that you described.

    What you can do.

    1. increase the memory by installing more physical RAM.

    2. check the virtual memory settings. Open the Control Panel/System/Advanced tab control. In the performance section, click on Settings / Advanced tab, make sure that the programs are selected in the processor scheduling section.

    In the virtual memory section, click the Edit button. Select the system drive and click System managed size. This will allow Windows allocate virtual memory if necessary.

    3. open the Control Panel control/troubleshooting. In the system and security section, click check for performance issues. Follow the steps in the resolution of the problems.

    Make sure you run the Maintenance options as described in.

    Optimize Windows 7 for better performance:

    http://windows.microsoft.com/en-us/windows7/Optimize-Windows-7-for-better-performance at least once a week.

    Tell us what you find.

    Concerning

  • Actions - using the file menu command

    I use Photoshop CS5 in Windows 7

    I create an action that resize a scanned image and sets the mode, then I insert a command to save

    When I run the action, I get the window SAVE but the file type is set to PSD

    If I execute the action and just do orders manually, the file type appears as TIFF, which is what I want.

    Question: Why is he coming PSD and is it possible to make it default to what I want?

    Thanks - Mark

    Instead of using the Insert menu item to save in tif, save a step

    in the action to save a file as a tif file. That way if you want to save it dialog box

    It seems failing in tif. Make sure that the enable dialog box if

    you want to save it as dialog appears.

    more info on measures:

    http://help.Adobe.com/en_US/Photoshop/CS/using/WSfd1234e1c4b69f30ea53e41001031ab64-7452a.h tml

    MTSTUNER

    Post edited by: MTSTUNER

  • I want to prevent access to the menu bar (file, editing, display, tools, someone) and prevent access to the restoration of firefox completely.

    Basically, I set up firefox for my guest account. I've already locked download (requires password) prohibited access to modules and tools. Really, there are only a few more things I want to set up.

    For example when you right-click at the top of firefox it will show 'Menu Bar' and 'bookmark' tab I want to prevent users from right-clicking and showing that the bar and ultimately using the help > troubleshooting Info > update Firefox, because they could reset Firefox and get full access to download it again.

    I would also like to prevent access to the right by clicking on entirely, showing the context menu.

    COR - el said

    You must create the chrome folder and the file userChrome.css in there.

    • Create the folder chrome (lowercase) in the .default < xxxxxxxx > profile folder if the folder does not exist
    • Use a text editor like Notepad to create a userChrome.css (new) file in the folder chrome (file name is case sensitive)
    • Paste the code in the userChrome.css file in the Editor window
    • Make sure that the userChrome.css file starts with the default @namespace line
    • Make sure that you select "All files" and not "text files" when you save the file via "save file as" in the text editor as userChrome.css.
      Otherwise, Windows can add a hidden .txt file extension and you end up with one does not not userChrome.css.txt file

    How will I know which is my namespace? Where can I find this information?

  • Photos? I have a number of pictures I want to make a photo book. Howevmake a photo book. Re the photos in question appear only in 'Photos' as a 'iPhoto event' how I arrange for these photos to put in an album to make a photo album?

    Photos? I have a number of pictures I want to make a photo book. However, the photos in question appear only in a 'Pictures' folder as "iPhoto events." I can't copy them into a book format. Can someone help me or show me how to transfer these photos in a Photo Book album?

    Select the photos that you want to use in the book and use the file ➙ book create menu option:

  • Point for the action Menu spacing: set an action item to appear in the menu of the action at the bottom?

    How do you define an action item to appear in the menu of the action at the bottom? As the point to delete shown here:

    https://developer.BlackBerry.com/Cascades/documentation/Getting_started/porting/mapping.html

    You would most likely want to start with https://developer.blackberry.com/cascades/reference/bb__cascades__deleteactionitem.html and discover the parent class.

    The text suggests that the title and icon appear in the standard only if you do not specify your own when you add the element, so there is hope, you can fake it.

  • How we can dynamically add or remove action from the popup menu in qml item

    Hi all

    I want to just dynamically add or remove action from the actionset item in the contextual menu especially in qml.

    Thanks in advance.

    Kind regards

    Ankur

    You can do so by joining the actionitem as attachedObjects. Once the page is complete (signal onCreationCompleted), you can add it to the page using addAction()

    To remove, you simply delete the page using removeAction()

    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__page.html

Maybe you are looking for