Always visible hint of TextField

Hello together,

I'm trying to get an entry as in the blackberry calendar application when adding an appointment. The indication "subject" is displayed on first use and after comments is displayed at the top:

Initial state:

After the entry

How can I achieve this? I'm a little stucco here.

Thanks for help you .

Sven

Given that hintText works oddly, it is a prototype of bad

  Label {
      id: myTextHint
      visible: myText.text.length > 0
      bottomMargin: 0
      translationX: ui.du(2)
      textStyle.color: Color.create("#999999")
  }
  TextField {
      id: myText
      hintText: "Subject"
      backgroundVisible: false
      onTextChanging: {
          myTextHint.visible = text.length > 0
          myTextHint.text = hintText
      }
      bottomMargin: 0
      topMargin: 0

  }
  Container {
      preferredHeight: 1
      horizontalAlignment: HorizontalAlignment.Fill
      background: Color.LightGray
  }

Tags: BlackBerry Developers

Similar Questions

  • How can I activate my Favorites bar is always visible?

    Win 7 home premium, I try to activate my favorites either always visible, I do not know if I ask the right question, but with IE8 I always the favorite toolbar, which helps quickly access me sites regularly visited with out having to get my favorite bar?

    Drag the button Circled and drop it on the toolbar bookmarks empty (black filled circle)

    Note: If you don't see this button, click the button Reset default defined in the window customize the toolbar

  • Navigation bar brand in BB Z10 always visible for Android app.

    Hi all

    Can someone please tell me is it possible to visit the always visible navigation bar BB Z10 to an Android application on BB 10. I want the navigation bar to be visible always (do not provide default button "hide" in the navigation bar), so that the user gets the "Back" button to navigate the last page without having to rely on gestures. Please suggest me a way to do it, thanks in advance.

    It is not possible.

  • How to make a Multi camera track is always visible?

    I'm working on a sequence of Multi cameras.

    Let's say I have 13 titles in there:

    • 12 tracks are actual video clips
    • 1 track made of graphical overlays (as in Formula 1 Racing, with stuff like positions of rank, drivers, lap time, telemetry, etc...). This track is imported from legacy and has in it's alpha channel. This track is at the top of all the other tracks.

    I want the graphic track to be ALWAYS on, regardless of which track I select in blocking.

    This path must be on the INSIDE of the camera multi sequence and I can't get out of multi camera (for reasons of synchronisation).

    No idea how to do it?

    Some screenshots to clarify what I mean.

    Here's my multicamera Setup:

    multicam1edit.jpg

    Here is the final result. You can see the graphics overlay on video.

    multicam2.jpg

    It is not possible.  You need to place the chart outside of the multicam sequence so that it is always visible.

  • Mr President, when I do some changes on a page of its buttons on the right side convert (> >) sings two more. What is that this does not happen and the buttons are always visible?

    Mr President.

    When I convert a few changes on a page of its buttons on the right side of the page (> >) sings two more.

    What is that this does not happen and the buttons are always visible?

    Concerning

    Did you try what I suggested?

    listed AFStretchWidth styleclass property of panelGroupLayout and remove the box toolbar tools just use inside grouplayout

    If this does not work please share your xml source

    Thank you

  • How do I make content detailStamp af:table always visible

    Hello

    I use JDeveloper 11.1.1.7

    I want to show master detail content in a tabular format. Therefore I used < f: facet name = "detailStamp" > in af:table to see the details.

    The details are available inside the retractable container. I want to show all the content inside the detailStamp always visible when opening the page.

    How can I achieve this. Kindly help me.

    I need to show the master detail contained in the following format, but details must always be open. Now, I can only see the details in disclosure of the line manually.

    master detial.JPG

    Thank you

    John.

    See similar post

    How to make the detailStamp facet in table expanded by default?

  • newbie question on audio file that plays while the attached object is always visible

    I know how to link a sound file to an object, but is it possible to have the audio file set when the object is always visible (but not continuous, as an embedded sound file)? The object in question is the partitions and the sound file is the recording of the music, so you can see why I would want to see the old and hear the latter at the same time.

    Thanks for your help!

    . TIF isn't a standard web image file type.  TIF is mainly used in print media.   Open an image in your favourite graphic application (Photoshop or Fireworks).  Save for Web as optimized JPEG, GIF or PNG in your Local Site of DW folder.

    In addition, AIFF will be a problem because not all users have a Media Player installed on their machine that can handle this type of file.  On the web, you will reach a wider audience with a built-in MP3 player and MP3 audio files.  I highly recommend the Reader Pickle - play button.

    Nancy O.

  • always visible scroller

    Hello, I need a little help. I have a component list and I want the scrolling of the list is always visible even if in the off mode. Now it is only visible when it is several lines and it is ok, but I would like to see even if it is not usable... How can I do?

    Thx for all

    Max

    Hello

    You can set css properties to keep the visible scroll bars:

    s | Scroller}

    horizontalScrollPolicy: 'on '.

    verticalScrollPolicy: 'on '.

    }

  • When I type the text in the Google box, it disappears towers green box, but still searches, txt entry boxes on other sites just turn green but txt is always visible?

    The problem seems to be related to Firefox, IE looks ok. Returned to a well known previous restore point did not help. Running Windows 7, FF6.0.2 Java is up to date. Before I did system restore, FF crashes frequently these questions of text entry. After SR, box turns green, Google homepage entry disappears with the 1st strike but always displays search results. As stated above boxes on other sites green with first strike but the text is visible.

    Please explain exactly how to find the keylogging in constant guard area. I disabled it and now everything is ok, except that we no longer have this protection. Typical.

    I also remove the constant guard... can do that. Would only know if the Norton that I downloaded from the constant guard anti-Keylogger also...

  • Equium A60 screen failure, but the image is always visible

    Bought this laptop because it was supposed to be reliable. After 18 VERY basic use the screen started to black intermittently until 3 months ago, it failed completely. I now use an external flat screen (which was 4 years old! no problem).

    Now, I noticed that there is always a visible image on the screen of the A60. I was told that the backlight may need to be replaced or I read that perhaps the FL inverter? must be replaced.
    Can anyone suggest how to overcome this problem especially since I said a replacement screen may be as much as a new laptop. PS one of the buttons also has failed never happened before on any keyboard from the computer when it came out.

    Any help welcome. Davee

    Yes, you suggestion isn't bad. It would really be a FL. inverter error This small part is not very expensive and can be responsible for your problem.
    But I think that you should replace this part yourself t. I think that you have no much experience in this replacement and so you should ask the technician for assistance.

  • LaserJet 100 color MFP M175nw - network that is always visible to the public problem

    I have a laptop IBM running on Windows 7. I know that supposedly the SSID is supposed not to be visible when printing, but mine is always available and visible in the network Internet connections access bar at any time.  I can tell when neighbors are trying to open a session to serve as a Wi - Fi connection because the printer resets.  How can I make the invisible printer on the network?  The only way I can see to do disappear from the list of available wireless networks is to put off the printer.  Is there another way?

    I read:

    "The 'HP - Print - b9 - Laserjet 100' network is the ssid wireless direct to your printer for printing spot, but is based on the activity in a way (if there is no activity on the connection - i.e. print jobs - the connection is lost)."

    However, my connection is still available.

    There may only be two reasons for the SSID broadcast: the Ad - hoc is currently listed or Direct wireless function has been enabled (it is disabled by default).

    The SSID certainly resembles a Direct SSID wireless as an ad-hoc ID does not list default print.

    Perform these steps on the printer:

    1. go to settings.

    2. go in the Network Configuration.

    3. go wireless.

    4. check that the Direct wireless is enabled.  If this is the case, turn it off and the SSID you listed should be listed.

    Now, the ad - hoc connection will then broadcast.  Ad hoc is the standard wifi adapter when there is no network printer wifi connection.  Since you don't want the printer listed at all and you use a wired connection, I recommend you to disable the wifi function all together.

    This can be done by going into the menu wireless, where direct wireless scored, and turn wireless off.

    These measures will not affect the Ethernet or USB connections.  They're going to turn it off completely direct wireless and the wireless radio.

  • Submenu always visible?

    Hello

    I do a custom navigation that is horizontal with submenu below elements vertically. It looks good, but the submenu appears only on rolling and I want it to be visible always. How can I do this?

    Thank you!

    You'd have to decouple its widget menu and treat it as any other layer / custom DIV container on each separate page where the menu is supposed to appear 'open', which means that you simply create a menu on each page.

    Mylenium

  • How can I display icons and text in the bookmarks toolbar. If I roll over the icon I can see the text. I want the icon and the text are always visible.

    Previously, the name of the link and the icon icon was visible in the bookmarks toolbar. I did something to cause the name disappear and cannot find a way to get it back.
    The only visible, at least I have the cursor on the icon, the icon itself.

    Hmm, I can't imagine an integrated way to display only the icons. Is it possible that one of your modules has changed the display style? You have "Roomy Bookmarks Toolbar"?

    You can view your extensions on the addons page and when they have an Options button, change their behavior. Or turn them off. I suggest starting your investigation with those:

    Open the page modules using either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Something seems relevant to the bookmarks toolbar?

  • How to set the home page as a tab, that tab is always visible?

    I want to be able to have the homepage as a visible tab that when I visit other sites that I can leave these sites open while I jump to the home page, without having to leave the site when I get home. This gives greater flexibility when they surf on the web and select the tab function be used to its full potential.

    One possibility would be to pin the tab with the home page via the context menu of this tab, so it appears as the first tab and make sure that you open links in a new tab.

    You can use Ctrl + 1 to go to the first tab and use the context menu to close all other tabs if you want to open the tab of the home page and get rid of other tabs.

  • Bar menus is always visible (according to the old version of Firefox) on Windows XP

    I just installed the latest Firefox (10.0.2) on both of my computers. He went smoothly on my laptop which is running Windows 7, but on my desktop, which is Windows XP, the program at the top bar and menu bar are still visible, as opposed to being brought back to the tab drop-down orange "Firefox" which should be in the upper left of the screen. I tried uninstalling/reinstalling, to no available - XP can't just this part of the browser?

    Thank you in advance for your help!

    To allow Firefox button go to VIEW > toolbars > uncheck MENU BAR [].

    See also:How can I customize toolbars?

    Thank you

    Please check 'Resolved' the answer really solve the problem, to help others with a similar problem.

Maybe you are looking for

  • Hi, I would like your help

    Hello. buy an iphone 6 months, more a friend of my uncle and go back in my home country, two weeks after I get activate my iphone that was lost. and good contact Darren sold it to me and said I couldn't do it and send you a link where they teach in t

  • my iPhoto crashes as soon as I open it

    Help!  My iPhoto crashes as soon as I open it.

  • Why it is so hard to generate the Master square signal?

    Hi, I just can't do this work. I want just a square of 1 Hz through Dac1 output and receive it by cable to ach0. Can't make it work...

  • How to add a bell curve on a histogram chart.

    I want to add a bell curve on the graph histogram similar to the attached picture. Draw the histogram already with my data, but I don't know how to add the Gauss curve. I really appreciate your help.

  • left mouse Botton does not not on my laptop

    The botton by clicking left on my laptop suddenly stop working. It does absolutely nothing when I click nothing happens I tried to go to the control panel-other currencies-mouse... but then mouse that everything seems fine so I know not what happened