Disabling selecting label text

Hi
I just noticed that by pressing on a label on a touch screen devices the text become selected. Only way I found was to cover the label with rectangle. However the rectangle reduced gallery performance specially on surface2 device. So is there
any solutions to disable selecting text without disabling whole label? I'm using label OnSelect behaviour so I can't disable whole label 

Hello,
Similar for round buttons which look "smart" when developing for touch.
For now I duplicate the function in the label and the shape but that's removing some of the cooler effects you can default on a button (press, etc.)
Regards
StonyArc
http://www.stonyarc.com http://www.xboxlivenation.com

Similar Messages

  • Af:query how to control the query combobox and change it's label text

    My colleague designed a well working af:query search page with several selectable predefined queries. Now it's up to me to control this combobox from outside the component with big colored buttons for user convenience. If the user clicks on one of the big buttons, the assigned item of the combobox is selected and then the query is submitted.
    I though about doing this with javascript, but the difficulty is, that I have no idea and didn't find a way to reference the id of the combobox? The combobox is a 'built in' component in he af:query component and there is no way to give it an id in the properties.
    The second problem is that I didn't find a way to change the label text of the combobox. It seems to be hard coded?
    Thanks in advance for your suggestion!

    Hi,
    the text should be coming from a message bundle and some other look and feel related elements should be settable through skinning in CSS
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/skin-selectors.html
    search for af|query
    Regarding the JavaScript access, use firebug JS debugger. The af query class is AdfRichQuery.js
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/multiproject/adf-richclient-api/js_docs_out/AdfRichQuery.html
    Note however that you should be able to do in Java what you are aimning for in JavaScript. However the usecase you want to implement is not fully clear to me - to be honest
    Frank

  • Selection screen text not appearing in other than engllish language .

    Hello All,
                On selction screen I have 3 select-option and 2 radio button for that I have the  selection text maintain in 'Selection Text".
                When I login to system using French language then on selection screen only select options text  is appearing in French language and Radio buttons text is not appearing in French language, it appearing in English  language. In the program where I have maintain the selction text one column is there name as  "Dictionary Object" which has the check box. In that, for select options check box is check in Dictionary object but for Radio button that check box is in disable mode.
                 So how can Radio buttons text is appearing in French language when login through french language.

    You've two options.  One, log in in French and maintain the texts for the radio buttons directly.  Two, use tx SE63 to maintain the texts for the radio buttons in French.
    The select-options are automatically translated because their texts come from the data dictionary, and (as presumably they're SAP standard types), they're already translated as part of the French language pack.  But the radio-buttons you have to do yourself.
    matt

  • Infoset Query -- Selection Screen Text

    Dear experts,
    I hv created an infoset query. every thing is working fine except the selection screen text.
    It is coming like
    "Date on which the record was"    instead of
    "Date on which the record was created".
    Is there any way we can manage the selection screen texts in infoset query.
    Regards,
    Jaspal Kumar

    Hello,
    In the Infoset, click table -> field, double click on field and you see the field technical & label information, change the Field label there.

  • How to disable selection of root node in JTree

    Hi all! Thanks for taking a minute to read my post!
    I am writing a really basic JTree for showing a list of items.
    Here is some of the code:
    /** Create a basic tree **/
    DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Title");
    DefaultTreeModel treeModel = new DefaultTreeModel(rootNode);
    JTree tree = new JTree(treeModel);
    /** Method to return the string of the current highlighted selection **/
    public String getSelectionString()
    DefaultMutableTreeNode node =
    tree.getSelectionPath().getLastPathComponent();
    return (String)node.getUserObject();
    I would like to disable selection of the root node of my JTree.
    Thus, if I make a call to getSelectionString() above, it would return null instead of the string that represents the root label.
    I have read the following forum on disabling various TreePaths and TreeNodes in a JTree:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=224691
    This forum suggests implementing the TreeSelectionListener interface and the TreeSelectionModel class and over-riding the addSelectedPath() methods. I tried this suggestion, and I was able to enable and disable the different children of the Jtree, but the root of the JTree would not disable.
    I suppose that I could just simply remove the visibility of the root node, but I really want to avoid that option if possible.
    Wait --- let me be clear ---- I want to disable the selection of the root node only - still allowing selection of all its children.
    Any suggestions?
    Am I missing something really simple here?
    Did I explain my problem clearly?
    Thanks in advance!
    jewels

    simply try this..
    in the
    public void valueChanged(javax.swing.event.TreeSelectionEvent event);
    method of TreeSelectionListener impelentation get the
    TreePath tp = event.getPath();
    from TreePath get the component and then remove the selection from the treePath if it is the node u were checking/root node in this case
    tree.getSelectionModel().removeSelectionPath(tp);
    Try out....

  • Disable select one choice in adf table

    Hi, my requirement is that based on value of input text i have to disable select one choice(soc1) in adf table.
    suppose i have to disable soc1 on value of input text i have used *#{row.bindings.Dependenttaskid.inputValue=='30'} it's working fine.*
    But my requirement is that i have to disable soc1 checking value from two input text
    When i am using operator from expresion builder like *#{row.bindings.Dependenttaskid.inputValue=='30'}and#{row.bindings.Tasklocationid.inputValue=='OUTSRC'}*. it is not showing error but it's not working .
    Can anyone suggest how to use orperator from expression builder.
    Thanks a lot!

    you can override isAttributeUpdateable is your viewRowImpl class like this code
    public boolean isAttributeUpdateable(int i) {
    //you can add your condition here
    if (this.getDependenttaskid().equal("30") && this.getTasklocationid().equal("OUTSRC") && i==YouLOVAttributeEnum)
    return false;
    else
    return super.isAttributeUpdateable(i);
    }check [url http://mjabr.wordpress.com/2011/07/08/control-row-updatability/]Control row updatability – part 1

  • Enable / Disable selection screen block

    Hi, could u pls tell me how do I enable/disable selection screen block written below based on radio button selected??
    Block to be enabled / disabled :
    *----APO Version and RFC destination block
    SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-013.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 01(20) text-e11.    "APO Planning Version
    SELECTION-SCREEN POSITION 29.
    SELECT-OPTIONS s_apover FOR w_version NO INTERVALS.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 01(20) text-e09.    "APO RFC Destination
    SELECTION-SCREEN POSITION 32.
    PARAMETERS  :  p_aporfc LIKE rfcdes-rfcdest.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b4.
    Radiobuttons :
    Material Type
    SELECTION-SCREEN BEGIN OF BLOCK ss04 WITH FRAME TITLE text-072       .
    PARAMETERS :
         Load only FERTs
           p_FERT  RADIOBUTTON GROUP styp DEFAULT  'X' USER-COMMAND rusr ,
         Load ROH/HALBs
           p_HALB  RADIOBUTTON GROUP styp                                .
    SELECTION-SCREEN END   OF BLOCK ss04                                 .
    Thanx in advance

    Hi
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: pa_file TYPE rlgrap-filename MODIF ID abc,
    pa_lifnr TYPE lfa1-lifnr MODIF ID abc,
    pa_vkorg TYPE vbak-vkorg MODIF ID abc.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: pa_kunnr TYPE vbak-kunnr MODIF ID def.
    SELECT-OPTIONS: s_lifnr FOR gs_lfa1-lifnr MODIF ID def,
    s_date FOR gs_lfa1-erdat MODIF ID def,
    s_augru FOR gs_vbak-augru MODIF ID def,
    s_vbeln FOR gs_vbak-vbeln MODIF ID def.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_upd RADIOBUTTON GROUP g1 USER-COMMAND uc01 DEFAULT 'X'."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-004 FOR FIELD pa_upd.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_rep RADIOBUTTON GROUP g1 ."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-005 FOR FIELD pa_rep.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b3.
    IF pa_rep EQ gc_x.
    LOOP AT SCREEN.
    IF screen-group1 = gc_abc.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_def.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ELSEIF pa_upd EQ gc_x.
    *For Reprocessing
    LOOP AT SCREEN.
    IF screen-group1 = gc_def.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_abc.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    CLEAR pa_upd.
    ENDLOOP.
    ENDIF.
    REPORT zrich_001.
    PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X'
                            user-command chk,
                p_rad2 RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_datum1 FOR sy-datum MODIF ID d1,
                    s_datum2 FOR sy-datum MODIF ID d2.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF p_rad1 = 'X'
          AND screen-group1 = 'D2'.
          screen-active = '0'.
        ENDIF.
        IF p_rad2 = 'X'
         AND screen-group1 = 'D1'.
          screen-active = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    Regards
    Anji

  • JTextArea  / Disabling selection

    Im getting a bit frustrated with this, hence my post....
    I have a JTextArea, in which will contain various text.
    The component should not be editable, and likewise should not be selectable.....
    I still have not found a way to disable text selection in a JTextArea, in fact any subclass of JTextComponent for that matter.
    why setEnabled(false) does not prevent selection is beyond me........
    I had a similar problem once before, and my solution was to set selection color to thed, which worked just fine, despite not really solving the problem....
    I would probably go ahead and use this technique again, however I have a different situation here, Im using a translucent background, (0,0,0,0) and setting selection color to this value does not seem to work...
    Is there a way to totaly disable selection???
    Should I possibly use a different component to handle the task, which does not support selection, ( Ihavent found anything yet). I need to have line wrap so a few of the more basic components are out of question....
    Im hoping some would give me some suggestions on this, they will be greatly apreciated, and as always adequately rewared....
    Thanks
    J.Prisco

    I had a non-editable JEditorPane which I didnt want to select its text, if I'd set it to setEnabled(false) whenever I would've cross a hyperlink, The cursor would not change to a Hand-Cursor (because the comp. is disabled)
    So, What I did was just "disabling" the selection (not the comp.) by setting my own Caret as follows:
            JEditorPane lbl = new JEditorPane();
            lbl.setCaret(new javax.swing.text.Caret()
                public void install(javax.swing.text.JTextComponent c){}
                public void deinstall(javax.swing.text.JTextComponent c){}
                public void paint(Graphics g){}
                public void addChangeListener(ChangeListener l){}
                public void removeChangeListener(ChangeListener l){}
                public boolean isVisible(){return false;}
                public void setVisible(boolean v){}
                public boolean isSelectionVisible(){return false;}
                public void setSelectionVisible(boolean v){}
                public void setMagicCaretPosition(Point p){}
                public Point getMagicCaretPosition(){return new Point(0,0);}
                public void setBlinkRate(int rate){}
                public int getBlinkRate(){return 10000;}
                public int getDot(){return 0;}
                public int getMark(){return 0;}
                public void setDot(int dot){}
                public void moveDot(int dot){}
            });Again I remind you that this will only work good for non-editable text components...
    Cheers
    Eyal

  • How to select two text boxes (linked) separated by a distance?

    dear all,
    how to select two boxes in an indd CS6 document? I tried to label them also but unable to select.
    Virender

    Dear Uwe, Many thanks for your points.
    I have 10 indd files and each file has one page and a table is only item present on page. So few files has table present in one table and few files has two text boxes because table has many rows so spiltted in two linked text boxes.
    I somehow able to select both text boxes but while exporting them only one text box table get exported as png because of improper code.
    #target Indesign
    var sourceFolder = new Folder ("/Users/admin4/Desktop/INS");
    var myFiles = sourceFolder.getFiles();
    //alert (myFiles.length);
    var destFolder = new Folder ("/Users/admin4/Desktop/folder3");
    for (i=0; i < myFiles.length; i++)
         if (myFiles[i].name !=".DS_Store")
         var sourceDoc = app.open(myFiles[i]);
         app.activeDocument.pageItems.everyItem().select();
         //app.activeDocument.stories[0].tables[0].parent.select();
         var destFile = File(destFolder + "/" + myFiles[i].name + ".png");
         app.selection[0].exportFile(ExportFormat.PNG_FORMAT, destFile, false);  
         // here i need to correct code.
         sourceDoc.close(SaveOptions.NO);

  • SSRS Map Poylgon Properties Label Text

    I have the below special map that is broken into region. However when assigning the sum of records for a region to the polygon properties Label Text I get the same number for numerous countries in that region. 
    How can I just get the number to appear only once?  So for North America (in red) how could I get 28844 to appear once? 

    Hi ajolson1964,
    According to your description, you want to display the sum value only once in the same region (color). Based on my test, I think that we cannot achieve this goal at this moment. Because the Polygon Color rule property is applied to all polygons or countries
    (in your scenario) on the map. Similarly, the Label text property is also applied to all polygons (countries). 
    As per my understanding, I think this scenario is just like those properties is applied based on the smallest unit in the dataset. In other words, if the smallest unit is grouped by region in the dataset, then we can easily achieve your goal. We can directly
    select the sum of this field at the drop-down list of Label text. But based on your screenshot, it doesn’t suitable for your scenario.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Can't select vertical text formatting since Win 7

    Please help.
    Have recently upgraded to win 7 and now I cannot select any text formatting options in the drop down text menus. I can see them, but the drop down menu buttons don't work.
    Has anyone had this happen?
    I have spent so much time on the computer and it's so hard to get any work done.
    Advice would be much appreciated
    I would like to go back to XP but the computer guy says that's not possible.
    Thanks
    ZeeBud

    Thank you so much for responding Peter. I feel one step closer to being able to get my work done.
    Your solution means that I can now use the tools in the tools palette, but no luck with being able to use the text selection drop down menus.
    It's quizzical. I can select the fonts by clicking through file the file path> type> font. Just not through drop downs.
    Any thoughts anyone?
    Zj

  • How can i  change the column label text in a alv table display

    how can i change the column label text in a alv table display??
    A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
    <i>*  declare column, settings, header object
    DATA: lr_column TYPE REF TO cl_salv_wd_column.
    DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
    get column by specifying column name.
    lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
    set Header Text as null
    lr_column_header = lr_column->get_header( ).
    lr_column_header->set_text( ' ' ).</i>
    My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
    <i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
    i have checked in debugging and the error occured at the statement :
    <i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
    Thanks,
    Suri

    I found it myself how to do it. The error says that it is not able to find the reference object i.e  it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
      DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
             lr_if_controller  TYPE REF TO iwci_salv_wd_table,
             lr_cmdl   TYPE REF TO cl_salv_wd_config_table,
             lr_col    TYPE REF TO cl_salv_wd_column.
      DATA : node_year  TYPE REF TO if_wd_context_node,
             elem_year  TYPE REF TO if_wd_context_element,
             stru_year  TYPE if_alv_layout=>element_importing,
             item_year  LIKE stru_year-i_current_year,
             lf_string    TYPE char(x),
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    Get the entered value from the input field of the screen
    node_year  = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
    elem_year  = node_year->get_element( ).
      elem_year->get_attribute(
       EXPORTING
        name = 'IMPORT_NODE-PARAMETER'
       IMPORTING
        value = L_IMPORT_PARAM ).
      WRITE L_IMPORT_PARAM TO lf_string.
    Get the reference of the table
      lr_cmp_usage  =  wd_this->wd_cpuse_alv( ).
      IF lr_cmp_usage->has_active_component( ) IS INITIAL.
        lr_cmp_usage->create_component( ).
      ENDIF.
      lr_if_controller  = wd_this->wd_cpifc_alv( ).
      lr_column_settings = lr_if_controller->get_model( ).
    get column by specifying column name.
      IF lr_column_settings IS BOUND.
        lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
    set Header Text as null
        lr_column_header = lr_column->get_header( ).
        lr_column_header->set_text( lf_string ).
    endif.

  • Using the CTRL button to select multiple text segments in Design Editor

    Hi there,
    This may be a fairly elementary question, however I'm very new to RoboHelp.
    I'm currently building an online help text system, and when formatting my html files in Design Editor, I have to apply styles one at a time. I was hoping RoboHelp would have a function identical to Microsoft Word whereby holding down the CTRL key would allow you to select various segments in the file and apply the style. Eg. selecting only text you want to apply Heading 3 to.
    If RoboHelp does not have this functionality, this project will take me in the vicinity of 7 years to complete. Thanks for your time.
    Regards,
    PK

    No it doesn't work that way. What you need to do is create some character styles in your style sheet and apply those.
    Paragraph styles are defined something like
    P {
        font-size: 10pt;
        margin-top: 0pt;
        margin-bottom: 6pt;
        font-family: Verdana, sans-serif;
        color: #000000;
        font-weight: normal;
    P.Normal-Indent {
        margin-left: 20pt;
    where the second P definition will inherit all that is in P plus add the indent.
    When you select those styles, they will be applied to the whole paragraph.
    You can also create characters classes. If you do it within RoboHelp, RH will write the CSS code for you. If you edit the CSS outside RH, then instead of writing P or some other tag, you would normally start with the full stop so you might have
    .code {
        font-size: xx-small;
        font-family: Courier;
    to apply the Courier font to a selection in any paragraph style.
    In RoboHelp you need to prefix the character code with "span" to make it display in the dropdown, thus you would need:
    span.code {
        font-size: xx-small;
        font-family: Courier;
    See www.grainge.org for RoboHelp and Authoring tips

  • I'm having problems (1)selecting onscreen text, (2) having problems resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • How to Print Text in the PLD when we select Type : Text

    Hi All
    I designed a PLD for Purchase Order which is working well but
    whenever we select type: Text and we enter some text in the row level for each item. when we see the PLD priview
    Items are displaying but the text below the items are not displaying
    it displays an empty row after each item
    How should i print text in the PLD
    I required in this following Format
    ITEMCODE  DESCRIPTION      QTY
    001              XYZ                      20
    this is capital Good Item
    002             PQR                        30 
    this is Raw Material
    In this above format
    I didnt get the text below the Items
    Can any one suggest the correct answer

    Thanks for your reply
    I already select the linetext field from table POR10 and kept it  in the PLD
    but i didnt get my required format
    after giving that line text field  iam getting
    in this way
    S.No.        ITEMCODE   DESCRIPTION  QTY
       1               001               XYZ                 20
    this is Capital Goods
      2                                                                 
    this is Capital Goods
    the text is repeating twice
    I Put the ItemDescription field  in POR1 and Line Text Field in POR10 in the same repetitve area

Maybe you are looking for

  • How to read,dispaly and open pdf files

    Hi, I am very new to Java butI have VB6.0 background. My current requirement is to read pdf file names from a directory, then show them on a form in a list (with their path in background pointing to the actual pdf files) and then once a user clicks a

  • System crash when gaming (Update: Temperature Problem?)

    Hello there I have a problem: when starting games (Minecraft, Relics of Annorath, Portal, World of Goo tested) my Laptop crashes. The screen gets black and the only possibility to turn it back on is to remove the battery, wait 10 seconds and then reb

  • Roaming with Airport Express (bridging) between two Airport Extreme AP's

    I have two Airport Extreme base stations set up on a company LAN that provide wireless coverage for our very large facility. Both are set up with the same SSID and WPA settings and they are 5 channels apart, 1 and 6. We have a cart with a computer an

  • Variable passing from sqlplus to linux.

    I have a procedure like (datapump_hr_api), after its completion, I have to grant some grants to user and then create a view which will depend on the datapump_hr_api parameter (TARGET_FIN_HR ). it will generally pass the two username, admin,hr_fin, no

  • How can you publish an article in SharePoint and also have it push to Facebook and Twitter?

    I've been scouring the internet for this answer. I've found how to add Facebook "Like" boxes, even post to a wall from a SharePoint web part, but what I need is something similar to what other CMS's have to offer such as WordPress, where I publish an