Horizontal scrolling text change number field on the 6.0 devices

Greetings,

I'm trying to create a horizontal scrolling editable text field.  The general approach is to add an EditField to a HorizontalFieldManager who has the style bit HORIZONTAL_SCROLL.  It works very well on all devices up to 5.0.  However, I'm a problem on 6.0 devices.

When the user tries to scroll right well that focused on this field, the text moves to the left and turns off visible region of the horizontal field manager.  This can also be reproduced when you tap the (torch device) and continue dragging to the left until it will disappear from the screen.

Now, I understand that this happens because the edit field itself has a width of ~ infinite because its container Manager has scrolling enabled, but is not an acceptable user experience.

I tried to limit the width for the edit field to the width of the text, but which caused exception argument not in conformity.  I tried a RichTextField with style hack USE_TEXT_WIDTH bit by directing the keyDown to setText field entries but have other problems.

My remaining solution is to restrict the limit of characters for the width of the Manager, the text on the new line that I saw almost all others apply or write my own implementation of scroll.  The only exception is the address bar of the BlackBerry native browser application that seems to be a custom implementation.

Reference:

http://supportforums.BlackBerry.com/T5/Java-development/sample-code-scrollable-one-line-text-input-f...

Any thoughts would be appreciated,

Thank you.

Thank you, setScrollingInertial (false) was actually what I was looking for.

I was not able to implement your approach correctly but I was able to complete another work autour, I had before with the help of setScrollingInertial (false).

Instead, I used a scrolling listener to limit scrolling based on the length of the text (new scrolling when limits are reached).  Without setScrollingInertial (false), the scrollChanged reminder would have been called multiple times all by animating the inertia.

Unfortunately, I won't be able to apply this hotfix, because my generation must take over the 4.7 and setScrollingInertial is 5.0 + (customer doesn't want additional constructions).  However, this will be useful for future projects.

Tags: BlackBerry Developers

Similar Questions

  • Why my police/text change when I pass the classic 3D Ray traced 3D in After Effects?

    My fonts/text changes when I pass the classic 3D Ray traced 3D. Why would he do that? In addition, I can't have the fonts/txt look the same after I switch from classic to the Ray traced. How can I get it to look the same?

    'Normality' disappears because blend modes do not work in the ray-traced rendering engine. Fortunately, you just had it set to normal and weren't trying not to use the screen or multiply or something else. It shouldn't be a problem for you.

    The text changes color is because the ray-traced rendering engine is made things very differently. You must go in the hardware settings and adjust them to the ray-traced rendering engine. For example, it is reflective? If so, that would make a big difference in how it looks based on what you have reflecting.

    That said, Adobe is not putting more work in the ray-traced rendering engine, so if I were you, I would focus my learn more about the new way to do 3d in AE (because he will get better and better as they put more time development in there). How is this? In this way: Details of CINEMA 4 d with After Effects integration

  • try to fill in a number field with the help of a drop-down list box control and a text box

    That's what I work with so far.  The lines of code are quite simple, but (as I expand this to its full size of accounting for all combinations of variables) the result field seems suffocating and will not auto-update to change the variables in the form. Var v comes from a drop down menu, var n is a numeric field.

    var v = this.getField("TextOptions").value;

    var n = this.getField("Number").value;

    If (v == "TextOptionA") if (n == '1') event.value = "2";

    else if (v == "TextOptionA") if (n == '2') event.value = "3";

    else if (v == "TextOptionA") if (n == '3') event.value = "3";

    else if (v == "TextOptionA") if (n == '4') event.value = "4";

    else if (v == "TextOptionA") if (n == '5') event.value = "4";

    else if (v == "TextOptionB") if (n == '1') event.value = "0";

    else if (v == "TextOptionB") if (n == '2') event.value = "0";

    else if (v == "TextOptionB") if (n == '3') event.value = "1";

    else if (v == "TextOptionB") if (n == '4') event.value = "1";

    else if (v == "TextOptionB") if (n == '5') event.value = "1";

    else if (v == "TextOptionC") if (n == '1') event.value = "2";

    else if (v == "TextOptionC") if (n == '2') event.value = "3";

    else if (v == "TextOptionC") if (n == '3') event.value = "3";

    else if (v == "TextOptionC") if (n == '4') event.value = "4";

    else if (v == "TextOptionC") if (n == '5') event.value = "4";

    else event.value = "";

    In addition, TextOptionA, C, E, G and I will produce the event.value even, given the same variable n.  The same is true with TextOptionB, D, F and H.  Is it possible to compress the "TextOptionX" s that will produce the same event.value gave a value of n in one line?  Something along these lines (I know its bad, but it's the idea):

    var v = this.getField("TextOptions").value;

    var n = this.getField("Number").value;

    If (v == 'TextOptionA' or 'TextOptionC') if (n == '1') event.value = "2";

    else if (v == 'TextOptionA' or 'TextOptionC' or 'TextOptionE') if (n == '2') event.value = "3";

    else if (v == 'TextOptionA' or 'TextOptionC' or 'TextOptionE') if (n == '3') event.value = "3";

    else if (v == 'TextOptionA' or 'TextOptionC' or 'TextOptionE') if (n == '4') event.value = "4";

    else if (v == 'TextOptionA' or 'TextOptionC' or 'TextOptionE') if (n == '5') event.value = "4";

    else if (v == 'TextOptionB' or 'TextOptionD' or 'TextOptionF') if (n == '1') event.value = "0";

    else if (v == 'TextOptionB' or 'TextOptionD' or 'TextOptionF') if (n == '2') event.value = "0";

    else if (v == 'TextOptionB' or 'TextOptionD' or 'TextOptionF') if (n == '3') event.value = "1";

    else if (v == 'TextOptionB' or 'TextOptionD' or 'TextOptionF') if (n == '4') event.value = "1";

    else if (v == 'TextOptionB' or 'TextOptionD' or 'TextOptionF') if (n == '5') event.value = "1";

    else event.value = "";

    Something like that could be reduced to about 40 220 + lines of code.  Please help us on a mannequin of javascript.

    For the first part of the code, the problem might be that the value of the 'Number' field is a number, not a string (that you assume in your code).

    To solve that you can access the field valueAsString instead of the value property property.

    For the second part of the operator OR in JS code is ' | ', would therefore be the first if condition:

    If (v == "TextOptionA" | v == "TextOptionC")

    Note that the comparison of v must appear in both parts of the if statement, in its entirety.

  • Is it possible to resize the content of at the same time multiple bounding boxes by using number fields in the toolbar?

    I'musing cs6 and need to resize an image and two text boxes on a specific pixel width.

    I try to select all the boxes and punching in 960 px in the resizing of the toolbar field, but only the bounding boxes and not their content get resized...

    Use the field of horizontal scaling (and include units) rather than the field width.

  • page footer text change to make all the breakpoints of accident of inconsistency error U1217 text flow

    I'm converting a site office to a sensitive site. I have a master page and a page master B. Each page has several lines of text in the navigation links to internal pages. I started with a breakpoint of 1240; redesigned the page and made the footer nav 2 lines. Done the same breakpoint breakpoint 960 and 1024. In each breakpoint, the navigation footer text block is pinned and set to NONE when resizing. When I go to the next breakpoint of 770 I want to change the text of 3 lines. When I do this by placing a hard return, it makes OTHER breakpoints for the same three lines I want to change them. I have the tool text defined on only ONE FORMAT CURRENT breakpoint, but it still makes the others. Then the program gives me an error code: inconsistency of text stream in the block of text U1217 breakpoint 960 px. and then crashes. Even if I had 960 runs and I was about to stop 770, I get the error code for the 960.

    As a work around, I deleted the entire footer navigation links text box and tried to use only text plane, perhaps thinking that it has something to do with navigation. He continues to change the text in the other breakpoints. I tried this several times and I get the error code every time now. I had to go in a time machine to make progress yesterday because multiple versions of recovery were causing other issues.

    So at this point, all I want to do is change the two lines of type in three lines of type navigation text on 2 of the 5 stitches. Other breakpoints in 2 lines.

    I even deleted the page text block master B could have some elements tied to her Master A page to make sure. Still have the error code.

    All text in footers resize set to NONE.

    Help, please

    Ben

    Hi Ben,

    While the Muse supports different formatting of text in all breakpoints, it does not support different structure/content of text through them. Returns and characters are part of the content and will be shared through breakpoints.

    Have you tried to hide the ball in the smallest breakpoint by changing its color to the [none] swatch?

    Abhishek

  • Can I use program generator to change a field in the contacts that run a campaign?

    I am a new user, Eloqua, from a company that is a new client Eloqua (E10), try to penetrate the opaque world of the program Builder (PB).  I have spent some time looking for answers, but just empty and hope you can help: to end a pretty simple campaign of the canvas (CC) campaign, I want to edit a field in a contact to indicate that the contact has traveled the countryside. (We want to be able to easily return the bit on this area apart from Eloqua so that the customer returns in the campaign).

    I know CC this is impossible, but I gleaned that can of PB. And if I understand correctly, CC can put contacts in a program of PB.  My question: How can I build (and a link to my campaign) a PB simple program to change the value of a single field in everyone who enters the program through campaign canvas?  Is it still possible?  Is there a simpler way that I don't see?  I am really a beginner, so be gentle if I'm missing something basic.

    Thanks in advance!

    -Kevin

    Post edited by: Kevin for spelling/typo

    Yes, you can go to the canvas of the campaign on the program generator. You can still run a segment on the contacts that have responded to a campaign, if you're looking for just a way to pull the contacts who have or have not entered a campaign. Here is a basic outline of what you try to do with PB and the canvas of the campaign.

    To update the field in the program generator, you need to first put in place a rule update for updating the contact with a value field. (Updated contacts--> data tool--> new rule). Use the option 'Set to Value' in the update rule.

    Then build a program in PB with three steps - Enter (passage of the stage), update a Contact with the updated rule, program output.

    Then, as a campaign backdrop, choose either the "add a program" or "move to the program." 'Add' will maintain contacts in the campaign and 'Add' the program 'move' will move them to the campaign in the program. Whatever it is, choose the update program and step 1 at the stage of the campaign.

    Do you need more specific information?

  • Scroll text have a limit on the amount of text, it can scroll?

    Hi all

    I created a text field scrolling with two up and down buttons dynamic. It seems to work fine except that it will not scroll through the entire document. It gets to half way and everything stops and will not let you scroll more. I can't understand this, and I can't seem to find any info on any forum. The file was created in text editing and has no funky characters in it and the code of the button down is:
    on (release) {}
    biosText.scroll += 5;
    }

    the code for the text is:
    Stop();
    loadVariables ("biosText.txt", this);

    Thank you

    Thank you

    It does not solve the problem. I have a lot to learn about symbols and HTML code.

  • Scrolling text does not display in the published file - 9 Captivate

    I'm working on a Captivate 9 project with several slides containing text scrolling interactions. Viewers of content and features on preview, however, appears in the published project (i.e. empty space where the marquee should be). Edition for HTML5.

    Using the basic version of the interaction with the content entered directly interacting.

    Any recommendation on why this is happening and how to solve?

    Thank you, Karen

    Ok. Got this working. Looks like the new update did the trick, but I had to trash the old interaction and create a new one to make it work. Presented in preview in Scorm cloud everything has worked "as advertised."

    Rod - Thanks for your help with this one.

  • Wrap the text in a field in the hierarchy Viewer

    I use Oracle JDeveloper 11.1.2.3.0.

    I have a field that is within an af:panelGroupLayout of a dvt:node of a dvt:hierarchyViewer.

    The field data is truncated because of the value of the field.

    Is there a way to encapsulate the text?

    Thank you very much.

    Wrap and rows properties control this behavior.

    
    

    Timo

  • Text of multiplication fields affect the other fields when they aren't supposed to.

    I created this form which is supposed to multiply a quantity by another field.  I used the radio button "Value is the 'product' of the following" and selected fields. However, when I enter the numbers in the first field, it calculates everything fine.  When I enter numbers in other areas, they affect the first field I entered the numbers.  I thought that the fields were mutually exclusive.  If you could please help me to know what I'm doing wrong, I would be very happy.

    Thanks Gilad... you've been very helpful!  You answered my question.  I need a field 'total' to my calculations to perform correctly!

    Kind regards

  • How to set horizontal scrolling to horizontal field Manager when fields are added using a loop for?

    The following code snippet contains a horizontal field Manager to which are added five buttons.

    1. I can't the value of horizontal scrolling to horizontal management Manager because of who I am not able to access the keys 4 and 5.

    2. usually, we put horizontal scrolling in the following way:

    container = new HorizontalFieldManager(USE_ALL_WIDTH|HORIZONTAL_SCROLL|HORIZONTAL_SCROLLBAR);
    

    3. so I also tried setting of horizontal scrolling in the following way

       container = new HorizontalFieldManager(Manager.HORIZONTAL_SCROLL|Manager.HORIZONTAL_SCROLLBAR)
                {
    
                    protected void sublayout(int maxWidth, int maxHeight) {
    
                        Field field = null;
                        int x = 0;
                        int y = 0;
                        int maxFieldHeight = 0;
                        int maxFieldWidth = 0;
                        for (int i = 0; i < getFieldCount(); i++)
                        {
                            field = getField(i);
                            layoutChild(field, maxWidth, maxHeight);
                            setPositionChild(field, x/*width-field.getWidth()*/,y);
    
                            x+=field.getWidth();
    
                            maxFieldWidth = maxFieldWidth + field.getWidth();
                            System.out.println("field width"+field.getWidth());
                            System.out.println(" max field width"+maxFieldWidth);
    
                            if(i==0)
                            {
                                maxFieldHeight = field.getHeight(); // height set of the first button since all components have the same height
                            }
                        }
                        System.out.println("final max field width"+maxFieldWidth);
    
                        setExtent(maxFieldWidth, maxFieldHeight);
    
                    }
                };
    

    but it's not working.

    4 I found this property: (position) horizontalFieldManager.setHorizontalScroll; that contains the parameterioo where the post is supposed to be the new horizontal scroll position. I tried passing the coordinate x of horizontal field Manager, but it does not work. I should pass as a parameter position?

    HorizontalFieldManager container = new HorizontalFieldManager()
    {
        protected void sublayout(int maxWidth, int maxHeight)
        {
            Field field = null;
            int x = 0;
            int y = 0;
            int maxFieldHeight = 0;
            for (int i = 0; i < getFieldCount(); i++)
            {
                field = getField(i);
                layoutChild(field, maxWidth, maxHeight);
                setPositionChild(field, x,y);
                x+=field.getWidth();
                if(i==0)
                {
                    maxFieldHeight = field.getHeight(); // height set of the first button since all components have the same height
                }
            }
    
            setExtent(Display.getWidth(), maxFieldHeight);
    
        }
    };
    
    ButtonField button1 = new ButtonField("Button1");
    ButtonField button2 = new ButtonField("Button2");
    ButtonField button3 = new ButtonField("Button3");
    ButtonField button4 = new ButtonField("Button4");
    ButtonField button5 = new ButtonField("Button5");
    
    container.add(button1);
    container.add(button2);
    container.add(button3);
    container.add(button4);
    container.add(button5);
    
    add(container);
    

    Need your valuable comments and suggestions. Please help me.

    I think that there is a bug in the sublayout (your HorizontalFieldManager 0 mode.  Given that the code did what I think WHAT HFM will do anyway, I recommend that you try to do this with a standard HFM, using this style:

    Manager.HORIZONTAL_SCROLL | Manager.HORIZONTAL_SCROLLBAR

    Let us know how you go.

    When I have more time I'll explain the bug, but if you want to investigate something, be aware that the maximum size that you can use in setExtent are the values that are passed to sublayout.  Compare the width as you try to define in setExtent whose width is increased.

  • Horizontal scrolling problem the office 2016

    Hello, I'm an old fan of Thinkpad, used more than 12 thinkpad machines.

    My current main machine is X 1 carbon 3rd gen, OS Windows 10

    I'm very frustrated, because the two Touchpad and trackpoint horizontal scrolling in MS office 2016, particularly excel and onenote, does not work.

    I tried to install and reinstall the drivers and formatted the machine several times.

    I tried to find the solution on the web, but there is no clear solution to this subject so far, unfortunately.

    Above all, I am very angry with the ignorance and slow technical support from Lenovo.

    Because this problem was published for more than a year.

    An idea for horizontal scrolling?

    In response to the customer, reports that horizontal scrolling in MS Office was not supported on ThinkPad several models running Windows 10, an update of the Synaptics driver was published for this problem.

    Models:

    ThinkPad P50s

    ThinkPad T460s, T560

    ThinkPad X 250

    ThinkPad X carbon 1 (types of Machine: 20BS, 20BT 20FB, 20 CF)

    Tablet ThinkPad X 1 (20GG, 20GH)

    ThinkPad X 1 Yoga (types of Machine: 20FQ, 20FR)

    Version 19.3.4.39

    (Fix) Fixed an issue where a horizontal scrolling may not work in MS Office when the Firefox browser was opened.

    (Fix) Fixed an issue where scrolling icon may have overlay of black color in the recent Windows 10 environment.

    Synaptics ThinkPad UltraNav Driver, v 19.3.4.39, can be downloaded here: http://support.lenovo.com/us/en/downloads/DS118386

    Thank you

  • How can I activate/disable the display of a scrolling text object?

    I am a relatively new user of Captivate and I am using the Interaction of learning in 8 Captivate text scrolling. Specifically, I would like to have a button on the screen when you click it, the drop-down text box will be displayed for the learner. In addition, when viewing, I want a REJECTION or button CLOSE to allow the user to hide the drop-down text box. Basically, I want them to be able to toggle the scrolling text box market at their convenience. I have the following set in place.

    1 READ MORE graphic.

    2. click on the box 1 interaction drawn at the top of the image to READ MORE.

    3 interaction marquee training.

    4. close.

    5. I have a Click Box 2 cartoon above the button interaction CLOSE.

    6. I have items 3 and 4 together to form GROUP_1.

    7 GROUP_1 is set to NO VISIBLE output.

    8. click on box 1 has defined action so that the success is to see THE GROUP_1.

    9. click on box 2A action defined for that success it is HIDE GROUP_1.

    Here's what it looks like:

    screenshot.gif

    When I saw my project, the first part works fine, I click on READ MORE and my scroll text box and a button CLOSE appear as they should. However, when I click the button CLOSE, it moves to the next slide instead of simply to hide the group.

    Also, if I publish the project, the drop-down text box appear not at all. The button CLOSE pops up so when he is supposed to, but the space where the text box should appear does not display anything. I tried the consultation in Chrome Version 43.0.2357.132 m, 11 Version IE and Firefox v39. It seems to be related to the area of text scrolling in a group because I put a box of scrolling text on a separate screen and it shows well in all browsers.

    So, I'm looking for advice, including at - it an easier way to achieve the goal of enabling/disabling of the scrolling text box on and off the screen? TIA!

    Dee

    One thing you need to know using unique actions on objects interactive such as click on boxes or buttons will also trigger an action to continue later by default.  This is probably why your slides advance when you don't want to.  To work around this problem, you must replace the shares you are currently using with stock Standard or conditional Actions that do the same thing.  They don't progress not the timeline unless you stipulate specifically action continues or a jump to slip as well.

  • Text not lining correctly in the form fillable. Acrobat 9 Pro

    I have a number of documents created in MS Word and then I converted them to PDF via Adobe Acrobat 9 Pro. A number of these documents have text fields as the end user is typing their data in - example: a message box on a fax cover page.

    The original Word document has this region bordered like this:

    __________________________________________________

    __________________________________________________

    __________________________________________________

    At the show (as shown above) is transformed as a field in the field "add" to the form in Adobe Acrobat I'm removing the individual fields Adobe "detects" and instead making a large box of content.

    Under properties, I have "multiline" and "long scroll text" selected.

    Now the problem... for some unknown reason... some fields work perfectly that when typing in the PDF, fill-in form that the text is typed aligns perfectly with the lines (as shown above). In other cases it is not the tail at all.

    I played with the font size, font type, spacing on the original Word document. I've scoured the forums without success and internet (ask anyone else or I do not use the appropriate search terms).

    Adobe.png

    Can someone help me or point me in the right direction?

    I have also included a screenshot of the document so you can see the wackiness.

    You have no direct control of the attack of a multiline text field. A common approach is to control the background color of the field with JavaScript, because the lines are not really necessary when the field is used in Reader/Acrobat. They can be useful when you use the form by hand. For more information, see the messages by Max in this topic: http://acrobatusers.com/forum/forms-acrobat/how-do-i-use-multi-lined-text-fields-over-prin ted-line-area-existing-form

  • Number displayed in the oracle.sql.NUMBER form in the result of the query

    Developer SQL version 3.2.10.09.57 displays numbers like "oracle.sql.NUMBER@66a35419 (the part after @ is not constant and change each time) even for simple count (*) select double."
    At the same time "run the Script (F5)" no indication that the header
    COUNT (*)
    ------------
    and no the query results.

    Hi Andriy,

    The forum search, I see a similar complaint noted against 3.1.07.42. Instruction execution produces the list oracle.sql.NUMBER, probably because of a corrupt installation query results (due to decompress questions, or perhaps no decompression in an empty directory). See the following thread:
    SQLDev 3.1: Number-fields in the tables have "oracle.sql.NUMBER @...". »

    Hope this helps,
    Gary
    SQL development team

Maybe you are looking for

  • Satellite P300-19 q - processor upgrade

    Running the stock P8400, probs am will update soon, I know that the natural way is probs the P9700 but [here | http://www.cpu-upgrade.com/mb-Intel _ (chipsets) PM45_Express.html] a T9900 and X 9100 as well compatible upgrades and 1-2 Quad-core proces

  • On Satellite Pro L870-173 keyboard problem

    Hi, I am the owner of a laptop from the Satellite Pro L870-173.By writing an e-mail the keyboard functions has changed.Some keys have a different meaning, examples Space lab = o4 = o v4v4c = the optioo for a secodon display What can I do?Is originall

  • Warranty and OS

    I have Vista OEM. If I remove Vista or install another OS or dual boot can I lost the warranty?If done warranty refers to the operating system? Thank you. Sorry for my English :-)

  • If a .fcpbundle can be rebuilt? Question Archive:

    I have archived a FCPX project last year and I don't think that I did it correctly. It seems that I selected the .fcpbundle file and "has shown the contents of the package" and then copied all the content on my external hard drive for storage. Now I

  • Upgrade processor in the Qosmio F50-108

    Hello I would like to replace my CPU P8400 with Q9100.Is this possible to do? Is P45 chipset and model of laptop is F50 - 108. Thank you