How to make RTL text selection in flex?

In my application, I need to make page for user to highlight text in RTL. so which component can I use?. The text already in right aligned.

I really don't understand what you're trying to do.
In the ComboBox default state, you cannot type text into the non-drop-down portion.  If you set it to editable, then you can type text in the non-drop-down portion.
But, in both of these situations, the user can still open the drop down and select a new value.
Do you want to display a drop down, but not give the users the ability to select a new option?  If so, you might not be able to work something up by listening to the change event, although I would expect that to be non-conducive to good interface design.
If you don't want to show the drop down at all, use a Text component instead of a ComboBox.
You might also try disabling the ComboBox in order to prevent the user from interacting with it.
If you can elaborate on what behavior you're expecting and why it is unexpected, that might help us point you in the right direction.

Similar Messages

  • How to make users to select the date from calendar control my making the date field read only in date time control in external list in sharepoint 2010

    How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
    be done through sharepoint desginer / out of the box.
    thanks.

    Congratulate you got the solution by yourself. I am new to a
    WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
    calendar date selection did me a great favor. Cheers.

  • I cannot figure out how to make the text larger on an incoming email.  The finger method doesn't work and I cannot find any toolbar with which to do it.  I could find nothing in settings also.  Plese help and thank you.

    I cannot figure out how to make the text larger in a received email.  The finger method doesn't work and I can find no tool bar as I can for composing emails.  I can find nothing in settings.  Please help and thank you in advance.

    Hi there,
    Download a piece of software called TinkerTool - that might just solve your problem. I have used it myself to change the system fonts on my iMac. It is software and not an app.
    Good wishes,
    John.

  • How to make a JPanel selectable

    When extending a JPanel and overriding the paintComponent() method the custom JPanel can not be selected so that it gets for example KeyEvents.
    But if I make the new Class extend a JButton it gets of course selected and able to receive for example KeyEvents.
    My question is therefore; what does the JButton implement that a JPanel doesn’t so that a JButton gets selectable? Or in other words; how to make a JPanel selectable?
    Aleksander.

    Try this extended code. Only the first panel added can get the Focus.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class Test extends JFrame
      public Test()
        setLocation(400,300);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel panel1 = new JPanel(new BorderLayout());
        JPanel panel2 = new JPanel(new BorderLayout());
        ImagePanel imgPanel = new ImagePanel();
        panel1.setFocusable(true);
        panel2.setFocusable(true);
        panel1.setPreferredSize(new Dimension(0, 50));
        panel2.setPreferredSize(new Dimension(0, 50));
        panel1.setBorder(BorderFactory.createLineBorder(Color.RED,     4));
        panel2.setBorder(BorderFactory.createLineBorder(Color.CYAN,    4));
        imgPanel.setBorder(BorderFactory.createLineBorder(Color.BLACK, 4));
        panel1.add(new JLabel("Panel 1"), BorderLayout.CENTER);
        panel2.add(new JLabel("Panel 2"), BorderLayout.CENTER);
        getContentPane().add(panel1, BorderLayout.NORTH);
        getContentPane().add(panel2, BorderLayout.SOUTH);
        getContentPane().add(imgPanel, BorderLayout.CENTER);   
        pack();
        panel1.addKeyListener(new KeyAdapter(){
            public void keyPressed(KeyEvent ke){
                System.out.println("Panel1");}});
        panel2.addKeyListener(new KeyAdapter(){
            public void keyPressed(KeyEvent ke){
                System.out.println("Panel2");}});
      public static void main(String[] args){new Test().setVisible(true);}
    class ImagePanel extends JPanel
      Image img;
      public ImagePanel()
        setFocusable(true);
        setPreferredSize(new Dimension(400,300));
        try{img = javax.imageio.ImageIO.read(new java.net.URL(getClass().getResource("Test.gif"), "Test.gif"));}
        catch(Exception e){/*handled in paintComponent()*/}
        addKeyListener(new KeyAdapter(){
          public void keyPressed(KeyEvent ke){
            System.out.println("ImagePanel");}});
      public void paintComponent(Graphics g)
        if(img != null)
          g.drawImage(img, 0,0,this.getWidth(),this.getHeight(),this);
        else
          g.drawString("This space for rent",50,50);
    }

  • How to make a text "drawer" in iWeb

    Does anyone know how to make a text "drawer" in iWeb? What I mean is when you click on a hyperlink to read more text, but instead of opening up a new page, it makes the text appear below the link on the same page.

    Anything fancy with iWeb has to be done in the HTML Snippet or after publishing the page.
    Find the code for the drawer, apply it and show us the result.
    Perhaps not the drawer you had in mind but this is something near:
    http://www.wyodor.net/Ajax/
    Here's another one with drawer in the title:
    http://jqueryfordesigners.com/slide-out-and-drawer-effect/
    http://jqueryfordesigners.com/demo/plugin-slide-demo.html
    Found with : [text drawer|http://www.google.com/search?client=safari&rls=en&q=text+drawer&ie=UTF-8 &oe=UTF-8]

  • How to make the text in sub-division

    Hi,
    I am usign text  module in my adobe forms.
    Text in text module contains sub-divisions as a), b) and c). Each sub-division are in a separate line.
    While in pdf, all the sub-division combines and comes a single paragraph.
    What  would be the problem for this issue? Any Idea?
    May I know how to make the text in sub-division as in text  module?
    Thanks,
    Thiyagu
    Edited by: Thiyagu on Oct 26, 2009 7:08 PM

    Hello, experiment with Object - Field tab. Do you have your text field with "allow multiple lines" checked? I guess so. And what about the field format? Plain text or Rich text? Please try:)) Regards, Otto

  • How to make indented text in Muse

    How to: make indented text in Muse, like a list with bullits

    I read on another post that you can do ALT 0149 (WIN) and it will create a bullet in Muse.  I tried ALT+0149 and then ALT then 0149 and neither one created a bullet so I must not be understanding the key shortcuts to create the bullet.
    The above video is not captioned (I'm deaf) so I don't understand how he's creating the bullets.  Can someone explain what I'm doing wrong?
    PS - when videos are made, it would be nice if you brought some kind of graphic on saying (for example) "Press the [whatever] key" so deaf people can see what's happening.

  • How do make the text on a label Bold?

    Simple question: How do make the text on a label Bold?

    use html : label.setText("<html><body><b>TestText</b></body>/html>");
    regards,
    Tim

  • How to make Label in selection screen?

    Hi friends.. can anybody explain how to make labels in selection screens and how to split the selection screen vertically? plz.. Thanks in advance

    Arun kumar,
    Check this program. you can put labels like this.
    REPORT  ZVENKAT_TEST1.
    SELECTION-SCREEN BEGIN OF BLOCK block.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(15) text1.
    SELECTION-SCREEN POSITION 17.
    PARAMETERS :p_pernr type pa0001-pernr.
    SELECTION-SCREEN POSITION 26.
    SELECTION-SCREEN COMMENT 27(30) text2.
    SELECTION-SCREEN end OF LINE.
    SELECTION-SCREEN end OF BLOCK block .
    at SELECTION-SCREEN OUTPUT.
      text1 = 'Personal number'.
      SELECT SINGLE ename FROM pa0001 INTO text2 WHERE pernr = p_pernr.
    Regards,
    Venkat.O

  • Anyone know how to make vertical text in a table in keynote?

    anyone know how to make vertical text in a table in keynote?

    Just to add a bit more about this question. I have seen in other related questions that this feature (vertical text) is not available in (apparently) the whole iWork09. someone even said that it should be asked to the developers, so they include this feature in iWork10. I find this issue a bit sad. This feature has been present in msOffice since a while, and at least for me, this is quite important for my work. It is also apparently not possible to have different page orientation in the same document, meaning portrait and landscape, so one can have wide tables in a whole page, for example. If this is true, it is again sad, and I just cannot understand why such a basic feature is not available in an already 09 version. I am using only the trial version of iWork, but already in the first day I have discovered that I actually cannot do what I was used to. Again sadly I (and many others I guess) will have to stick to Office until the mac software is fully developed.

  • Help:How to make static text in JTextField??

    How to make a text to be displayed initially on a JTextField, yet we can not change the text (so the text
    is static)?
    The other question:
    How to make an input mask so that a JTextField
    has input pattern of XXX.XXX.XXX.XXX
    (which is the mask of IP Address) ??
    What I know that limiting input in JTextField can be done
    by extending PlainDocument....what about the cases above??
    Please reply if you know.
    Thanks a lot,
    Ted.

    For the first question, just call setEditable(false).

  • How to make a dynamic selection screen

    Hi
    I have been searching the SDN for long time, but couldn't find the answer, so therefor a new post.
    I have an internal table with following values:
    VBKD-BSARK_E
    TVKO-VKORG
    By these values I would like to make a new selection-screen whith following:
    Parameters: FIELD1 like VBKD-BSARK_E.
    Parameters: FIELD2 like TVKO-VKORG.
    Next time the internal table can contain
    MARA-MATNR
    TVKO-VKORG
    VBAK-BSTZD
    And the parameters should then be:
    Parameters: FIELD1 like MARA-MATNR.
    Parameters: FIELD2 like TVKO-VKORG.
    Parameters: FIELD3 like VBAK-BSTZD.
    How do I do that -any suggestions?

    Hi,
    This piece of code will design selection screen based on radio button selection:
        SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 .
        SELECT-OPTIONS :  s_date  FOR  pnpbegps DEFAULT sy-datum  .   
        SELECTION-SCREEN: END OF BLOCK b1.
        SELECTION-SCREEN : BEGIN OF  BLOCK b2 WITH FRAME TITLE text-002.
        PARAMETERS:rb1 RADIOBUTTON GROUP rbf DEFAULT 'X'.
        PARAMETERS:rb2 RADIOBUTTON GROUP rbf .
        SELECTION-SCREEN: END OF BLOCK b2.
        SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003 .
        SELECTION-SCREEN BEGIN OF LINE.
        SELECTION-SCREEN COMMENT 1(25) text-006 FOR FIELD px_pdf.
        PARAMETERS:  px_pdf AS CHECKBOX USER-COMMAND xxx  .      
        SELECTION-SCREEN END OF LINE.
        SELECTION-SCREEN BEGIN OF LINE.
        SELECTION-SCREEN COMMENT 1(15) text-004 FOR FIELD rb_app.
        PARAMETERS:rb_app RADIOBUTTON GROUP gbf DEFAULT 'X' USER-COMMAND uc01.
        PARAMETERS: p_file(128) MODIF ID 001.           " application server
        SELECTION-SCREEN END OF LINE.
    Thanks,
    Krishna..

  • How to make non-editable ComboBox in flex.

    Hi All,
       I defined ComboBox as below and I'd like to make this combobox to non-editable(readonly)
      <mx:ArrayCollection id="bb_list">
            <mx:Object data="" label="-Please Select-"/>
            <mx:Object data="Y" label="Yes"/>
            <mx:Object data="N" label="No"/>
            <mx:Object data="D" label="I Don't Know"/>
        </mx:ArrayCollection>
      <mx:ComboBox  width="152" id="broad" dataProvider="{bb_list}" change="bb_service()" editable="false" > </mx:ComboBox>
    Still it is displaying ComboBox where user can change value from this ComboBox, can anyone let me know how to make this ComboBox to non-editable.
      Thanks in advance.
    Regards,
    Sharath.

    I really don't understand what you're trying to do.
    In the ComboBox default state, you cannot type text into the non-drop-down portion.  If you set it to editable, then you can type text in the non-drop-down portion.
    But, in both of these situations, the user can still open the drop down and select a new value.
    Do you want to display a drop down, but not give the users the ability to select a new option?  If so, you might not be able to work something up by listening to the change event, although I would expect that to be non-conducive to good interface design.
    If you don't want to show the drop down at all, use a Text component instead of a ComboBox.
    You might also try disabling the ComboBox in order to prevent the user from interacting with it.
    If you can elaborate on what behavior you're expecting and why it is unexpected, that might help us point you in the right direction.

  • How to make Logic auto-select channel when external instrument is selected?

    I recently upgraded hardware and now have to upgrade the OS 9 software (MOTU FreeStyle) I've been using and join the 21st century. I asked a Guitar Center employee about what package to buy and stressed that I wanted the software to auto-select the midi channel since that was a major benefit (for me) in using FreeStyle. I was informed that all of the newer DAW software did this (which made sense to me, after all FreeStyle was already at least 10 years old, although no longer under development (hence OS 9.) Logic Express was specifically recommended.
    Sadly, I don't see this capability in Logic Express. I don't understand why, if I have 15 instruments set up, and I select a new one, I have to manually look at each of the other instruments (assuming I don't have their channels memorized) and see what channels have been used so that I don't accidentally reuse the same one for the new instrument. Doesn't the computer already know what channels are unused??
    In FreeStyle could have 25 instruments set up for a 16 channel keyboard, and as long as there was never more than 16 voices playing at any particular time, the software just managed the channels for me. I don't know what happens if you go over 16 for a 16 channel instrument, I don't think I ever did (I never had voices cut out anyway.)
    Not to berate Logic Express, there's lots of cool stuff in it that I'm looking forward to exploring, and it sounds like you have to jump through hoops even to get MOTU's Digital Performer to emulate the same behavior and I suspect it's as much of a hassle to set it up as to just do it on the fly (from previous experience of "what a salesman says" vs. "what is real.") I'm just trying to figure out how to make the computer do the computer work so that I can do the music work.
    I have lots of partial (and even some complete!) projects to port over and not nearly as much spare time as I'd like to spend playing. I'd rather spend my meager spare time composing, not fighting with the technology.
    Any ideas?
    Thanks,
    -David

    Hi bunker,
    I can't test it at the moment but I think that can be achieved by slightly changing the code like so:
    *<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>*
    *<script type="text/javascript">*
    *$(document).ready(function(){*
    *$("td.GFPFilter span input").focus(function(event){*
    this.select();
    this.value = '';
    *</script>*
    Also, if you found my posts helpful or correct could you apply those labels to the relevant posts?
    Cheers,
    J
    Edited by: J Kremer on 20-Apr-2011 19:23
    Edited by: J Kremer on 20-Apr-2011 19:30

  • How to make a text in a text object Bold at run time

    I would like to make a text in a text object Bold depends on a record value. how can I control that ?
    Edited by: Hagita1 on Jan 18, 2011 10:51 AM
    I found the solution-Thank you

    You should share your solution with the community.

Maybe you are looking for

  • What will happen if I open an .ear file on the OAS OC4J_Portal/applications

    Hi, Is it possible to open an .ear file in another directory of OC4J_Portal instance with UNIX as the flavour. If so what would happen?

  • Scrubber problems continued. AS2/Flash CS3

    Hey guys. I'm having troubles with my scrubber on my loadbar again. As a picture says a 1000 words heres a screenshot of the problem: Basically the scrubber bar is going waaaay past the 373px I asked to stop at. I've tried messing about with telling

  • NKeeps asking me to sync

    I posted this in the mobile me sync section but in 3 days I got no replies and it is really annoying me. I realised my iMac wasn't registered on my mobile me account to sync so I went into system prefs>mobile me and checked the box to sync automatica

  • Error when changing a Company Code for a given Cost Center

    Hello Friends ,                          I'm trying to modify a company code value for a given cost center in KS02 and I get the below error. The error message receommends to change the analysis period ( not sure what it is..) but when I click edit >

  • Report Painter - Urgent

    Dear All, I am creating a form to be used in report painter with the following: Transaction Code : FSI4 / FGI4 Library                : Financial Statement Key figures / Reporting for Table FAGLFLEXT In case of both the libraries mentioned above, we