Add Command to StringItem without making it a hyperlink

I want to make a screen with a load of StringItems that the user can highlight and I found that I can do this by adding a command to each StringItem (without making it a button). The only problem is, as soon as a Command is added the appearanceMode of the Item is set to HYPERLINK and I can't change it. Does anyone know how I can achieve the same without making it a HYPERLINK. The problem I have with the hyperlink is that it becomes underlined, and I am using spaces to alter the layout, so the empty space also gets underlined.

As far as I understand, you create StringItem with default appearance mode - using constructor StringItem(label, text).
In that case, [MIDP 2.1|http://www.jcp.org/en/jsr/detail?id=118] requires device to set hyperlink appearancefor item with command:
A StringItem that has item commands and the appearance mode Item.PLAIN MUST always be presented as a StringItem with added command(s) and appearance mode Item.HYPERLINK.To avoid hyperlink, I'd try to use "button" appearance mode. This could be done with constructor StringItem(label, text, Item.BUTTON)

Similar Messages

  • How to add events into folders without making albums?

    All my events created in iPhoto are exactly the way I want to organise my photos, but I hate the fact that I can't organise them into different folders without making an album out of the event. I don't want 'pointers' of photos in the album, I want the original file that I can delete forever as well. I have organised my photos in continents, like Oceania, Europe, South America etc... Into those folders I just want the events of the different countries, so when I click on a continent I can see the event view of those countries and not see all the 4000 photos at once of all the countries in that continent. I also like to go through events the way they are displayed in the event tab, but when the event becomes an album, they are shown differently.
    I hope I explained it clearly... Is there a way to put just the events into folders and keep them as events?
    On the picture above I want the albums 'Mt Warning', 'Bungyjump' etc, to be become events that contain the original photo files and not just pointers to the original photos. I also want the display of this folder 'Australia 2012 - 2014' to become the same display as when you click on the event tab (so you can see the different events in thumbnails). Is this possible?

    And how can I delete photos permanently (in all of iPhoto as well as on my hard drive)?
    Deleting Photos from an iPhoto Library
    1 - from an Event or the Photos mode: select the photo(s) and use the Delete key to move the photos to the trash bin. Then empty the iPhoto Trash bin as follows:
    2 - from an album, smart album, book, slideshow, card, etc.: select the photo(s) and use the key combination of Command+Option+Delete to move the photos to the trash bin.  Then empty the trash bin as above.
    NOTE: deleting a photo from an album, slideshow, book, etc., with only the Delete key only deletes that photo from that item. Deleting a photo from an Event deletes ALL occurences of that photo in the library.

  • How to add files, without making copies?

    Hi,
    I want to add folders to the iTunes Libary, without making copies. Want it to simply moves the folder directly.
    Now I have copies of the files in the "old folders" as well as in iTunes.
    If it's doable: How can I make it permanent that the folders won't copy, only move(or delete itself after?)
    Second.. How can I stop iTunes from making copies of files?
    Example: I add the same folder by mistake..
    And how do I correct the copied files? Any tip?
    Thanx!

    Turn off the option to "copy files to iTunes Music folder when adding to library" in the iTunes -> Advanced preferences. Then when you add a file or folder of files to iTunes, it will just point to them where they are. Note that having your tracks in multiple places outside of the iTunes Music folder will complicate making backups as well as moving your content to another volume should you ever need to do so (should you run out of room on your current hard drive, for instance).
    As to correcting the extras, try the Show Duplicates command (under the File menu in iTunes 8). That should help. You can also find scripts for dealing with duplicate content on Doug's AppleScripts for iTunes.
    Regards.
    Message was edited by: Dave Sawyer

  • I have files in my iTunes media folder that somehow are not in my library. How do I get iTunes to scan my media folder and add missing files to my library without making a copy of each file in the same location?

    I have files in my iTunes media folder that somehow are not in my library. How do I get iTunes to scan my media folder and add missing files to my library without making a copy of each file in the same location? If I use add file / folder to library, it scans the folder and then makes a copy of any file that is not in my library in the exact same location; I recal in older versions of iTunes being able to just drag my media folder into my library and it would update missing links.

    Only the songs that are connected to iTunes will be copied when you consolidate to a new folder.
    Splitting the media folder away from the usual location makes it harder to move iTunes in the future.
    Are you go move everything back once you've tidied up or are you going to leave it that way? Either way I'd recommend you create an iTunes folder at the new location, an iTunes Media folder inside that, and consolidate to this new iTunes Media folder. You should also use the option File > LIbrary > Organize Library > Rearrange files in the folder "<Media Folder"> if you have not already done so.
    tt2

  • How to add a gif (animation) file to stage without making the SWF too heavy?

    Hello
    I'd like to make some simple flash animation using some gif files i have on my pc. these gif files have like 20-30 frames each . eventually when i export the file to SWF it becomes too heavy (more than 1mb) ...what can i do to avoid this? i need the swf flash files to be much smaller so i can upload them to my site without making my site upload time too slow.
    thanks in advance

    Without seeing your movie, I'm guessing that the best place to shave off some of the size would be to make the individual images used for the animations as small as possible. This could be done through a combination of optimizing the individual images and reducing the physical size of the images.
    Another tactic is to make individual Flash movies out of each animation, then make a master Flash movie that will load in each of these individual movies at runtime. This will lower the initial wait for a large file download. The success of this tactic will rely on size of the files to be downloaded and the connection speed of your users.

  • Getting Error while saving a transaction without making any changes to it.

    Hi All,
    I have a page where in the advance table I add few rows and save the transaction. First time when I save it everything works fine, but when I save it again without making any changes to the fields I get following error:
    "Unable to perform transaction on the record. \nCause: The record has been deleted by another user. \nAction: Cancel the transaction and re-query the records to get the new data."
    In the same page if I make any changes again it allows me to save the transaction.
    Please guide how we can avoid it..
    I have already checked many threads related to the issue but nothing has worked. Please help!!
    Any help would be highly appreciated..
    Regards,
    Nisheeth

    Hi All,
    please help!!

  • Populate a field on each page of formset without making formlevel changes

    Is there any rule that can control at a master level, the population of a certain value from the flat-file extract on all pages of the formset?
    There is a huge number of forms that need to be populated with the value from the extract without making changes to the forms. The field might have to be positioned similar to a footer field.
    Is there any transaction level rule that can be used within the afgjob.jdt to serve this purpose?

    859317 wrote:
    Is there any rule that can control at a master level, the population of a certain value from the flat-file extract on all pages of the formset?
    There is a huge number of forms that need to be populated with the value from the extract without making changes to the forms. The field might have to be positioned similar to a footer field.
    Is there any transaction level rule that can be used within the afgjob.jdt to serve this purpose?If you already have a field on all the pages of the formset, you need only set the scope of the field to global and then populate the value once - it will then be populated for all occurrences of that field in the formset. If you do not already have the field on the components of the formset then your work will be a little more difficult - you will have to create an overlay section that contains the field, set the field scope to global and populate, then add the overlay section to all the forms (you can do this via a DAL script so you don't need to edit all the forms, but you will have to touch them to at least add the DAL).
    -Andy

  • How can I create a long employment form without making the form widget drag?

    How can I create a long employment form without making the form widget drag?

    Sorry Sachin, I mean that I created a simple form on the page from the widget and started adding fields to it. The more fields I add the slower the delay becomes in creating a new field. Even when I try to select and drag or move an item, there's a huge delay and sometimes the program feezes,  loose what i've done and have ot restart.
    I'm doing an enployment form that has more than 20 fields, at least, and I need to be able to build the fields in separate categories, like Education, Past Employment, etc... quickly without delay issues.
    I can probably send you a snap shot of what I'm talking about if I cna post it or attach it here..?
    ~Andy

  • What is the best way to edit array elements (without making copies of the array)?

    Hello all
    I am new to Labview so I apologise for the newbie question.
    I am using Labview to check off parts in an assembly as a precursor to a test. For my "checklist" I create an array of clusters, with the cluster containing a string for the part number and a boolean to show if it has been scanned. I read in my parts list and then I would like to add in the part name to each cluster in the array. I do not want to make multiple copies of the array if possible. The code shown below does not work - I previously had the "Array" (my checklist) on the outside of the while loop, as I assumed the inplace elements box would not need an output. The cluster created in the inplace elements is correct, but the "Array" does not change.
    Any help woud be appreciated, I would prefer a simpler solution to the inplace elements if possible (again without making multiple copies).
    Regards
    Ray
    Solved!
    Go to Solution.

    You don't show the rest of the code, but I'm guessing that your "Array" is never actually initialized with any values. Thus, the "replace" cannot work since you cannot replace an element that doesn't exist. If the case you are showing is intended to be the actual initialization of the array (and based on what you are saying it seems as if that's the case), then ditch the inplace element structure. All you need to do is to autoindex from your string array and just do this:
    Attachments:
    Example_VI_BD.png ‏13 KB

  • How do we initialize DAL variables without making changes to INI files?

    We have an application which currently use only two DALs. We would like to add a DAL to popluate certain data on the form. We have encountered an issue with initialization of dal vairables.
    One of the solutionis that set FlushDalSymbo = Yes in the FSISYS file.
    However, this involves INI file change which we would like to avoid.
    So, is there a way to initialize dal variables, without making changes to INI files? If so, how?
    Thanks,
    Bala

    Hi Bala,
    Initializing a variable is simple, you just need to set the value to blank or zero:
    Variable = ""
    #Variable =0
    $Variable = 0.00
    You can place the declaration at the beginning of your script, of course replacing "Variable" with the actual name of you variable.
    Gaétan

  • Add Command when selecting data tables

    I've been playing with the Add Command option that allows you to enter an SQL statement to select data for the report.  I was wondering what people use this type of command for?  I've used Crystal over 10 years but while I've been using Crystal XI for only about 3 years, I have never used this option.
    So what advantages does it have over the graphically selection and linking of data tables?
    What types of reporting is usually done with them?
    TIA, rasinc

    You have to know your database well and have fairly good SQL skills, but I've found that there are things I can't do directly in Crystal that I can do when I use a command as the data source.  A couple of examples are:
    1.  When I want to use cross-server joins (MS SQL) or dbLinks (Oracle) to get data from a second (or third!) database, this is the only way to do it short of using a stored procedure, which has it's own issues.
    2.  When I want to do something complex in the SQL, such as using a set of selects with Unions to "pivot" data without using a cross-tab.
    Also, Crystal doesn't always create the most efficient SQL so if I'm having problems with query performance in a report, I'll re-write it using a command so that I can tweak the performance.
    -Dell

  • How to change the profile value in the pl/sql code without making change in the database

    How to change the profile value in the pl/sql code without making change in the database.

    I have program ,where if the profiles 'printer and nunber of copies ' are set at the user level, by default when the report completes the O/p will be sent to the printer mentioned in the set-up. but what user wants is
    if these Profiles are set for the user running this program automatic printing should not be done.

  • I share a an apple id with my kids. We all use the same credit card for purchases.  Is it possible for only me to use the icloud online storage without making this available or visible to the kids?

    My kids and I all use the same credit card and password for app and music purchases.   I'm assuming we all use the same apple ID too. (not sure) We can share apps and music although we all have our own itunes libraries. Is it possible for only me to use the icloud online storage without making this available or visible to the kids or do we all have our own storage?

    I just checked and they have already sucked up all my online storage.  Ahhh techy teens!  I think I will just leave it at that and back my own stuff up on my computer. Less confusing
    Thanks for all the help!  I am definitely more educated now and I'm off to check that cc bill too.

  • Can individuals (students) purchase Adobe CC (one application or all) for just a portion of the year (i.e. a semester - 1 to 4 month span)?  My students would like to purchase the program for a month at a time without making a yearly commitment.

    Can individuals (students) purchase Adobe CC (one application or all) for just a portion of the year (i.e. a semester - 1 to 4 month span)?  My students would like to purchase the program for a month at a time without making a yearly commitment.

    Sure they can, just not for a student discount.
    Mylenium

  • Setting VarChar Variable with String Parameter in Crystal Report Add Command

    Setting a VarChar Variable with a String Parameter in a Crystal Report 2008 SP6.3 Add Command is causing an error with a SQL State of 42000.  The Error Code depends on which value I select for the parameter.  I created the @DateOpt string parameter in the Modify Command window, not in the report. If I comment out line 14 of the SQL the error does not occur.
    I have attached the SQL Code and screen shots of the errors.   Please tell me what I am doing wrong.

    Since your parameter is of type STRING, you need to enclose references to it within the Command inside single quotes.
    For example, instead of
    SET @BeginDate ={?BeginDate}
    use
    SET @BeginDate ='{?BeginDate}'
    hth,
    - ido

Maybe you are looking for

  • Junit test runner error in jDeveloper 11.1.1.6.0

    Hi, I am having problem with the running of test project in jdeveloper. I created the test project using Application Test Framework from the Model project. Model project has the AM and PVOs used for BI VOs. The test project is created with all the se

  • Can't save preferences in LXDE

    I installed LXDE and I like it. I must adjust the monitor resolution from the default however. But when I reboot, it doesn't remember what I set. Do I need to save it somehow? Or perhaps there is a permission issue that it's not saving itself?

  • WCS AP Setting - Antenna Mode - What does it do?

    Hello, I'm working configuring our wireless networking. When setting up AP templates in WCS I came across a setting that I'm not sure of and haven't been able to find anything about. What is Antenna Mode and what does it do? There are three options t

  • Anyone using Kontakt 4 plugin with Mainstage 2? I get frequent crashes from Mainstage while using Kontakt4

    I got a crash while using Maintage and Kontakt... Here is the dump.... Process:         MainStage [1076] Path:            /Applications/MainStage.app/Contents/MacOS/MainStage Identifier:      com.apple.mainstage Version:         2.1.3 (416.81) Build

  • Cost assignement using infotype 2003

    Hello, How can I change cost assignement using Infotype 2003. I have created the infotype 2003 with the ney cost center, and table  C1 is generated in the time evaluation, but in payroll the cost center is still the master cost center of IT0001. How