I can do my custom cascading text control?

Hello

I need a control of custom text in my application and I am wondering if it is possible to do in the Cascades:
1. There must be a custom cursor appearance - a rectangular area of colours reversed on a character (like the slider on the old VT100 terminals).
2. must have neither borders nor 'X' sign to clear the text.
The text control uses the monospaced font.

I realized there is AbstractTextControl, but you're not supposed to subclass it, you must use CustomControl for all custom controls. So I would say that I have to build my control from the basic text and Rectangle elements in Qt Quick, but they are absent in the Cascades. I just found QRect but the documentation says only: "the QRect class defines a rectangle...". ». Is it really to draw something on the screen? Can I use QRect in my custom control, I have write in C++ and register in QML?

Can I make a custom control that contains the label and captures the events of virtual keyboard to add characters of the label?

Thanks for help.

(1) no custom cursor is currently possible, reverse color could possibly be done by a custom font or using HTML in the text control (or WebView so you need not display just to input from the user)

(2) not possible to remove the borders at the present time, the X can be enabled or disabled programmatically.

Yes you are right, I would say WebView to watch if it's screen only, otherwise you're looking at your own writing.

Tags: BlackBerry Developers

Similar Questions

  • XML can be used in text controls?

    I would like to use an external XML file to populate the text in a bunch of TextAreas (and other text controls).  I noticed that there is no 'dataProvider' for texf controls property.  What could be a good approach?

    Thank you.

    Repeaters if you use flex 3 or DataGroups if flex 4.

  • I neeed an example of a device custom for brushless control throught Canopen communication

    Hello

    I want to do a custom for brushless control throught communication Canopen device, I don't know if I could find an example to start

    I have the following equipment:

    -Maxon Brushless Motors

    -By car Epos2 24/5

    -OR PXI 8531

    -NI PXI 8135 RT controller

    I have labview 2012 and 2012 veristand

    Thanks for any help

    Hi Mohamed,

    It's Vincent of National Instruments. We will discuss that off-line.

    What we provide, it is unlikely that we could provide something that is exactly directly to your EPOS readers.

    CANOpen is a standard and we can provide Custom-device for CANOpen. Based in this Custom device, you configure it for your needs.

    Concerning

    Vincent

  • Compensation a text control

    Hello, first let me say that I am new to Labview, but worked with it for a little while now and starting to get the hang of it.  The project that I am working on is one GOES for a test system for a bunch of cables, each serialized.  The idea is that the user selects a directory, and then for each test between a serial number while the VI enters data (from a network Analyzer) and written in a text file in the directory selected with the name being the serial number with the .txt extension.

    I have this works pretty well, but we would like to integrate a code scanner barcode.  We have a bunch of scanners that emulate USB keyboards, so it is easy to create a user click in the text for the serial number control and scan cable.  However, we would also be able to have so that the user does not need to do anything other that connect the cable and the scanner.  Have the scanners are set up to add a newline at the end of the number it just scanned, basically simulating hitting the Enter key.  I put the button that I use to trigger the test to fail over to the entrance, so just scan bar code will begin to try and save the data.  However, it will not erase the text control; on the contrary, the previous serial number is in there while the new one is appended to the end.  How can I clear this field programmatically?

    Write an empty string to the local variable of the control.

  • Can we build Custom Web App using Business Catalyst?

    My client is interested in Adobe Business Catalyst. He wanted to build a custom online business application. Can we build custom web applications (not ecommerce) as market of fundraising with adobe business catalyst? How will it be possible without server side personalization?  If possible, please provide access to developer documents

    Thank you

    Andrea

    The short answer is Yes, you could create a market of fundraising.  The most complete answer depends on your definition of a "Web App" and about specific features you are wanting to deliver Web application.  If you are thinking about programming custom php server-side, then, no, this isn't what BC Web Apps. Wikipedia defines a web application like any application written in a language of browser support which relies on the browser for rendering. Applications Web BC meets this definition. "The best definition in my opinion is that a web"site"is defined by its content, all in a web"app"is defined by its interaction with the user. WebApps BC framework can be used for the delivery of content and interaction with the user therefore also integrates with this definition.

    To be clear, "WebApps" in British Colombia is not for coding web applications customized to measure in the broad sense.  In fact, you do not have to do any coding at all (although having knowledge of html/css & javascript will significantly expand what you can do). Colombia-British 'Web-Apps' is a relatively basic set of configurable fields and the tools used to collect and present data.  Its main purpose is to publish "lists". i.e. the items list on which you click to display a details page.  This may not seem particularly high-tech, and it's not. But if you think about it, most of the interactive web applications, a very simple to very advanced (for example Articles; Image galleries; eCommerce, real estate ads; Labour markets; Auction sites; Business directories; Search engines) are all built around this fundamental problem. that is, they present a list of items that are related to a detail page.

    To this end, BC WebApps allows you to define a data set using all types of field (for example, text string, radio buttons, checkboxes, drop-down lists, text box, image path, links, etc.) allows the collect and publish the data however you want displayed in your list views and view detail (more view editing for content generated visitor).  Of course there are limits to what we can do. But there are a lot of innovative workarounds for each limitation. Understanding of the parameters allows a very wide range of possibilities to achieve remarkable results for your customers.  WebApp capabilities are range from the Colombia-British, wide range of features such as Member areas secure, e-commerce functions, lists of campaign etc.

    To return to your original question... "Could you build a web fundraising custom application market in British Colombia?   Yes!  You may allow visitors to the join (members of the safe zone) and then present a list (WebApp point) which is published on the site. Other visitors can view this item in the list and click to view the Details page. They can then choose any number of such further actions as defined in your WebApp structure it As... make a payment (e-commerce); Leave a comment; Like on Facebook; Tweet on twitter, save as a favorite; Send to a friend. etc.  This does not mean that everything is possible (e.g. making payments would be possible using a built-in "seamless" payment gateway). But within the boundaries that exist, YES you could generation custom fundraising for your customer market without programming side server.  See catalyst for Business help | Web Apps-building part 1: understanding of Web applications to learn more.

  • How can I get a standard text block can be found on the last page of my documents?

    How can I get a standard text block can be found on the last page of my documents without having to type in all the time? I have a mission statement with a line to the signature of the customer who I want on the last page of my bills and now I have to type every time or cut and paste a previous invoice. I already have a Master Page that contains customer information and my company at the top of each page, and I use the data merge to fill each page with the ordered items and photos etc. I would just have this mandate type block automatically appear on the last page after the last element in the data merge.

    Thank you all in advance for your help.

    Create a new master based on the one you have now and add the block, then change the master applied to the last page.

  • Reverse the text in the text control.

    Hey,.

    I need reverse my text control text so that I can read the text on a mirror. In this case I have to go the tank all tanks, change the order of characters in a word (first tank will be the last tank) and change the beginning of paragraphs, first word of the paragraph will be the last word in the paragraph.

    A very kind soul help me in this problem? I don't know how I can start doing.

    Thank you

    Hello

    When you rotate or scale-1 it must be remembered that the left position is now the old x - width of the control, so if you want a wide control 200 at position x = 10, you you x 210.

    David.

  • How to display only specified characters in the text control

    Hello

    I use the text control in the swf file. In this file, I want to display text up to 15 charaters and if more, then present them with [...]

    Please provide a solution for this.

    Here ya go to 15 characters maximum.

    This example uses textInputA as a box of textInput that someone can type in.  As a result, in the text/label component, it checks the length of the value of textInputA and if it is longer than 15 characters, it removes all characters beyond 15 and adds [...] at the end.

    You can substitute other things instead of a textInput control, but I used it here as it's the easiest way to explain.

    Let me know if this helps you

  • Property of the text control alpha...

    Hello world

    Can someone tell me why the alpha of Flex 2 text control attribute does not work? I hard coded the alpha value of 0, the text control, and it still shows the control as if the alpha attribute has not been defined. Is this a bug? Here is an example:

    ----------

    < mx:Text text = 'test' color = "#ffffff" fontSize = "24" width = "250" textAlign = "center" id = "bottomPart" height = "100%" alpha = "0" / >

    ----------

    Thanks for your time,

    -Tony

    You should always use an embedded font. No embedded fonts are used for performance reasons. Flash Player is not convert characters in these fonts to display the text. It is much faster. When you use an embedded font, the player uses the vector outlines to form characters. So they can be washed out, rotation, etc., but at the expense of speed.

  • WordWrap text control?

    I am creating a control text that wordwraps. The documentation says wordwrap is the behavior by default to a text control, but I can't make it work.

    Here is my sample application... I appreciate if someone could point me in the right direction:

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >
    < mx:HBox maxWidth = "200" horizontalScrollPolicy = "off" borderStyle = "solid" >
    < mx:Text text = "this is a long long long long long long long long long long long long long long line of text" / >
    < / mx:HBox >
    < / mx:Application >

    I thought about it. I had to add an attribute 'width' for the text control itself... and then he wrapped. I thought he would get the width of its parent container, but I do not. Here's a working example:


    http://www.Adobe.com/2006/mxml"layout ="absolute">



  • What are the causes the space between text controls?

    If I have two text controls in a container, why is there a big vertical gap between controls?

    And if the second line wraps, why the space becomes more big?

    Is it possible to eliminate this unwanted space?

    Example:

    <? XML version = "1.0" encoding = "utf-8"? "" > < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' xmlns = "" * "creationComplete ="initApp()">"
    < mx:Script >
    <! [CDATA]

    Import mx.containers.Tile;
    Import mx.controls.Text;

    public function initApp (): void {}
    TI: var = new tile Tile();
    TI. Height = 90;
    TI. Width = 90;
    TI.direction = "vertical";
    ti.setStyle ("borderStyle", "solid");
    ti.setStyle ("cornerRadius", "10");
    var ti2:Tile = new Tile();
    TI2. Height = 90;
    TI2. Width = 90;
    TI2.direction = "vertical";
    TI2. SetStyle ("borderStyle", "solid");
    TI2. SetStyle ("cornerRadius", "10");
    var ti3:Tile = new Tile();
    Ti3.height = 90;
    Ti3.width = 90;
    Ti3.direction = "vertical";
    Ti3.SetStyle ("borderStyle", "solid");
    Ti3.SetStyle ("cornerRadius", "10");
    var txt1:Text = new Text();
    var txt2:Text = new Text();
    var txt12:Text = new Text();
    var txt22:Text = new Text();
    var txt3:Text = new Text();
    txt1. Text = "MOSA∩QUE 1";
    txt2. Text = "MOSA∩QUE 2";
    txt3. Text = "This shows how many lines of text fits in a tile and fills all rows.";
    txt1. SetStyle ("fontWeight", "bold");
    txt1. SetStyle ("textAlign", "Center");
    txt2. SetStyle ("fontWeight", "bold");
    txt2. SetStyle ("textAlign", "Center");
    txt12. Text = "Hello";
    txt22. Text = "Hello to you and yours."
    txt1. Width = 85;
    txt2. Width = 85;
    txt12. Width = 85;
    txt22. Width = 85;
    txt3. Width = 85;
    txt12. SetStyle ("textAlign", "Center");
    txt22. SetStyle ("textAlign", "Center");
    ti.addChild (txt1);
    ti.addChild (txt12);
    TI2. AddChild (txt2);
    TI2. AddChild (txt22);
    Ti3.addChild (txt3);
    pan.addChild (it);
    pan.addChild (ti2);
    pan.addChild (ti3);
    }

    []] >
    < / mx:Script >

    < mx:Panel id = "pan" width = "450" height = "300" layout = "horizontal" / >
    < / mx:Application >

    Doug

    You have no specific reason to encourage a Tile on the VBox container container?

    Tile container can have some illogical error in her routine of page layout, no doubt, but to track this, a further review of the source code of the Tile container is required.

    So far, I've never counted on container Tile in my projects, so I'm not an expert in the use of tile containers, sorry.

  • I have reset 6 and restored iphone using icloud. I can not existing photos of text/email.

    I have reset my iphone 6 and restored using icloud. I was able to recover everything. My question is, I can not existing pictures of text/mail, but if I was taking a new image, I can't text/mail those. My system is iOS9.3.5. Any help?

    A backup includes not pictures. He doesn't understand what is in your film album, which has been restored.

    I guess that all other images have not yet been synchronized from your computer, or downloaded from iCloud photo library, depending on the method that you use.

  • When I send a text message and mobile data are off, it is not given, but I do not see this message for a few minutes. I can then refer using "send as a text message. How can I 'send as a text message' in the first place?

    When I send a text message and mobile data are off, it is not given, but I do not see this message for a few minutes. I can then refer using "send as a text message. How can I 'send as a text message' in the first place?

    Disable the iMessage?

  • I can't select or copy text on Firefox for Android 26.0.1 (device: Samsung Galaxy Note 2) OS: Android 4.3. Long press on the text does not work. )

    Can't select or copy text on Firefox for Android 26.0.1.
    Device: Samsung Galaxy 2 Note.
    OS: Android 4.3.
    Long press on the text does not work.

    I would ask someone to check that...

    I'm glad to hear that your problem has been resolved by using the beta version.

    If you have not already the case, please mark this thread as solved by the solution of marking.

    This will help other users experience similar problems helps to find faster and more efficiently.

    I hope that you will continue using our products and we thank you for contacting the Mozilla Support.

  • Why I can't receive calls, and why not activate my iMessage? I can't send or receive texts

    Why can't I receive calls? And why not my iMessage never activate? I can't send or receive texts

    You seem to have more than one thing is done. Calls and texts (SMS) are a function of carrier. If you are unable to receive calls, you must contact your operator. You can make calls? Regarding activation of iMessage, I believe that it is related to your problem of text. IMessage activate, the phone sends a SMS hidden on Apple servers to the United Kingdom. If your carrier doesn't support iMessage, either you don't have a SMS plan for your phone, then it will not send, and your phone will not receive the answer. Check with your carrier to solve the problems of your cell phones.

Maybe you are looking for