Acumatica - Shrink text to fit Textbox - report

I have a label that prints out Stock Item info, and will go on a bin that stores that item.
Q: Some descriptions are longer than others. Is there a "shrink to fit" feature for Acumatica Report text fields? In other words, I'd like the text to fi tin the text box. If a short description, the font will be larger. The longer the description, the smaller the font so that it fits in the textbox.
I feel I have seen it with a 3rd party add in, however this isn't something new so was hoping I was just missing something.
Thanks in advance

This functionality is not available in the Report designer.
The closest functionality available is the CanGrow property that expands the control size vertically to display the whole value.

Related

Notify screen reader of the appearance of text

I'm developing a page that is structured in this way:
On the bottom I have three buttons. When I click a button, I show an image on the left and a short description on the right.
Now, I need the voice synthesis (like NVDA and JAWS) to note the appearance of the text.
Is there a standard for this behavior?
Yes, you can use WAI-ARIA for this, there is an attribute called aria-live that you would put on the container that the text appears within, with a value of "polite" to indicate that the screen reader user should be informed, but it shouldn't interrupt mid-sentence.
For example:
<div aria-live="polite">Text appears here</div>
You shouldn't need to do anything else but update the text for it to be announced by the screen reader, you don't need to change the attribute with JavaScript or anything like that. The attribute tells the screen reader that it should announce whenever a change is detected.
If you find that it's announcing more than you want, or not enough, you have a little but more granular control with the aria-relevant attribute, which can contain a space-delimited list of one or more of the following values:
"additions" Insertion of nodes into the live region should be considered relevant.
"removals" Deletion of nodes should be considered relevant.
"text" Changes to the textual content of existing nodes should be considered relevant.
"all" Equivalent to additions removals text.
aria-relevant="additions text" is the default value on a live
region.
Above quoted info taken from https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-relevant_attribute
The aria-live attribute seems to be a good option.
Possible duplicate of question answered here:
Getting screen reader to read new content added with JavaScript

Text in flash button symbols all change at once (Actionscript 2)

I have reached an impass which means I have to spend many hours doing something in a very tedious way because I can't work out a way to do it quickly, here is my problem.
In flash if I make a button that consists of a rectangle and a text field then make it all a button symbol, if I then copy the symbol to multiple instances on screen and change the text in one of them, it changes in all of them because I am changing the symbol.
How can I overcome this, perhaps with actionscript? I tried writing.
button1.text1.text = "test change button text"; on the main canvas (and giving one button a name of button one and the text field within it text1) but it doesn't work.
The only thing I found that works was to make multiple symbol copies of the button but then if I want to change the colour or dimensions of all the buttons it takes ages.
Is there a better way? Using actionscript 2 perhaps, or just some property of the button to allow individual text?
I attempted your situation... and I didn't run into your problem. Text boxes are individual values, provided that the text box is dynamic or input
I think that what may solve your problem is checking what kind of text boxes you are working with. Look in the properties panel; does it say "dynamic"?

Auto Complete Extender for multiline textbox - Facebook style

I have in my application a larger textbox and offer user the possibility to enter text on several rows like this:
first piece of text
second piece of text
and so on...
Each row is a distinct piece of data that has a significance. The thing is I would like to use ajax auto complete extender functionality after the user types a certain character on a row, such as #, and filter the records in the database according to the first letter the user typed after #, moment when the auto complete suggestion list would appear. For example, third piece of text #Action1, means that after the user typed A he would be prompted with a list of values to choose from.
There are several items of concern for me: first, it is possible to use autocomplete extender only for part of the text in the textbox, and second does it work like this for multiple rows (i.e. one time - in each line behaviour)? Regarding its position, I guess I have no other choice than at the bottom of the textbox it refers to, despite I would have liked it to appear below the # symbol.
Thank you very much.
Update: I found something similar to what I am looking for here: Twitter-style autocomplete in textarea, but the author only explained briefly his solution. Any help much appreciated, thx!
Each row is a distinct piece of data that has a significance.
Why are you using a textarea then, and not multiple <input> fields?
Sounds to me like your error in UI design lies right there already, so the rest of my answer is rather theoretical; I probably won’t go into more details as the sensible fix for your problem is the one above.
first, it is possible to use autocomplete extender only for part of the text in the textbox,
Why shouldn’t it be? Cursor position in a textarea for example is readable (although it requires some working around cross-browser issues).
and second does it work like this for multiple rows (i.e. one time - in each line behaviour)?
So long as the line breaks are “hard” ones (made by the user themselves, using enter/return), splitting the actual textarea content by "\n" to have each row as a single value is no problem.
Regarding its position, I guess I have no other choice than at the bottom of the textbox it refers to, despite I would have liked it to appear below the # symbol.
You could try to roughly measure the #’s position, by line and col number it is on, and match that to the character width and line height, when using a monospace font. For other fonts, some more “magic” might be required to measure the actual width of the previous text before the # character.
I have created a Meteor package for this, which allows both free text and multiple autocomplete sources. Meteor's data model allows for fast multi-rule searching with custom rendered lists. If you're not using Meteor for your web app, (I believe) you unfortunately won't find anything this awesome for autocompletion.
https://github.com/mizzao/meteor-autocomplete
See the link for pictures of how it works. Fork, pull, and improve!

Inability to store long list of values

I am not able to figure out how to store long list of values (like a big text) in a dropdown list or in intellisense of search box. I see that it is displaying only half of the text but not full. How to make it appear full in the intellisense or dropdown?
Yes, dropdownlist control or the other similar controls are not suitable for displaying long texts. You should increase their with and it's not look pretty. My recommendation is to develope a tooltip client side script that display the full text, this would help you to show much text than the actual one.

Making a text field flow like a paragraph in Adobe Livecycle Designer

I intend to create a form using Adobe Livecycle Designer 7.00 in which I want a field to flow as does a paragraph in a text editor.
To be more specific, I have a text object before and after the text field which is contained in a subform. As there is some text before the text field, it naturally would not start from extreme left. Now when the user starts filling the field it should grow rightwards (that is easy by clciking "fit to width") however, instead of growing out of paper, it, like a parqagraph in text editor, goes to next line which starts from the exteme left of the form and continues rightwards.
Looking forward to your help.
If I'm understanding your question correctly, what you need to do is change the Subform's type to Flow Content, then changing it's Flow Direction to "Western Text".
Hope that helps.
Based on your description, you can achieve this by using a floating field (if the data is coming from the backend).
You can add the pre and post dynamic data in the text object and create a floaing field in the middle of the text object.
I hope this helps. Let me know if you have any more questions.
Thanks,
Armaghan.

Resources