Keep the format of fonts to display by adding a string

I am trying to imitate an old DOS program with VGA monitor that does exactly what asked the original poster: Add substrings of a string that is displayed without losing the format of font color.  The problem is as soon as you perform concatenate them, you lose the format of font color!.   The program BACK and VGA screen has a host of color font color options and background on a character by character basis, which is what I'm having diffuclty replicant in LV

I can perform this operation in either incorporation of a stirng format in my sting of panel display before or to maintain a "a 2D color table' indicating the lag in the display string where the colors are changing.  In both cases, I get unsatisfactory results because once a few differnet color substrings enter the chain of display, the flicker of the screen that occurs when updates of color sting is boring and he really boggs down the program.

Anyone know how to do this easily in LV?  How about a RTF activeX control that can be incorporated as my monitor VGA emulator? Any ideas?

This is the VI which sets alternating line colors based on the 2D color table where the values indicate the latest issue of the last character of a strng of ENTRY (ODD) and OUPUT (EVEN) colors, works fine if you don't care about performance, but not nearly as well as an old VGA monitor!  Gets a lot more complicated if you do not have alternating color substirngs, then you would probably want to use search srting which quickly became very slow.

.

This turns out be a very simple task using the RichTextBox .NET.  See attachment.

Tags: NI Software

Similar Questions

  • How keep the formatting of a plan to explain in the forum.

    Hi all

    I would like to know how to keep the formatting of a plan to explain in the new forum. I used to use {} code in the old forum, but it no longer works. I used '-' in the new forum, but apparently not worked either.

    An example would be greatly appreciated!

    Thank you very much.

    You can try to use the font "Courier New" for the explain plan command part. That would make it readable.

    HTH,

    Joy

  • How to keep the format setting when generating a table of contents

    Hello

    I have a superscript® in a title in a document that should be put in the Table of contents. When I generate the table of contents, I can't keep the format in the table of contents.

    I could cheat and manually change the, but there must be a way that remains with these properties whenever I have to regenerate the table of contents.

    No idea how?

    Kind regards.

    What version of FM?

    What the police?

    There are two separate issues here:

    1. If you are super as a character Format in the files of body, the format must be in character for the OCD catalogue, or the formatting is not applied.
    2. If you do this and get it display correctly in the table of contents, which will break the hyperlink linking it.

    The solution is usually to do great as characters of Unicode natively by exposing and not the character Formats.

    See: TOC link with a character index does not in PDF format

  • Exporting data to Excel discoverer - keep the format for numbers options

    Is it possible to keep the format options when you export an excel spreadsheet.

    I formatted numbers with 2 decimal places and using the 1000 separator, but in great numbers do not have the 1000 separator. For some reason any.

    Thank you

    Oddie

    Oddie-

    When we export out of our 10.1.2.3 Discoverer Plus the instance as a Microsoft Excel (.xls) workbook and open results with Excel 2007, we can see the format exactly as it is in the Scout report.

    When the user first opens the workbook, they see two worksheets - we the unformatted data, and contains macros formatting. At the top left, there is a warning from security - Macros have been disabled, with the Options button. By clicking on the Options button gives a choice to 'enable this content '. Once the user clicks the OK button, the Excel export will be formatted as the discoverer of report.

    -Tracy

  • Importing .doc in INDD CS5 on Mac, keeping the formatting?

    Hi all!

    I have not found a way to import doc in indd files. Seems there are a lot of people advice on importing indd to doc (backwards for me), but obviously this is not what I'm looking for here.

    Then; is it possible to import files in indesign doc, while maintaining as much as possible of the formatting, styles of fonts, pictures etc?

    Thanks in advance, I thank you for your advice

    The term in InDesign's Place.

    File > Place... and navigate to your Word doc. check the box "Display options" to see what you kepp or throw. Hold down the SHIFT key when you click the slider of the loaded place gun and ID add pages to get the entire document.

  • How to keep the formatting explain plan made on this forum

    Can you please tell me as a way to preserve the formatting of explain plan made on this forum. I tried to use the '-' tag, but failed.

    \

    PLAN_TABLE_OUTPUT

    --------------------------------------------------------------------------------

    Hash value of plan: 615168685

    ---------------------------------------------------------------------------

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

    ---------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |      |    23.  1242.     7 (15) | 00:00:01 |

    |*  1 |  HASH JOIN |      |    23.  1242.     7 (15) | 00:00:01 |

    |   2.   TABLE ACCESS FULL | DEPT |    13.   234.     3 (0) | 00:00:01 |

    |   3.   TABLE ACCESS FULL | EMP |    23.   828 |     3 (0) | 00:00:01 |

    ---------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    1 - access("E".") DEPTNO "=" D ". ("' DEPTNO ')

    15 selected lines.

    \

    Go to advanced editor and change the font to a fixed-width font e.g. Courier New

    PLAN_TABLE_OUTPUT

    --------------------------------------------------------------------------------

    Hash value of plan: 615168685

    ---------------------------------------------------------------------------

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

    ---------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |      |    23.  1242.     7 (15) | 00:00:01 |

    |*  1 |  HASH JOIN |      |    23.  1242.     7 (15) | 00:00:01 |

    |   2.   TABLE ACCESS FULL | DEPT |    13.   234.     3 (0) | 00:00:01 |

    |   3.   TABLE ACCESS FULL | EMP |    23.   828 |     3 (0) | 00:00:01 |

    ---------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    1 - access("E".") DEPTNO "=" D ". ("' DEPTNO ')

    15 selected lines.

  • Keep the format when exporting to Excel

    Is it possible to keep the number and width of columns formatting when you export to Excel?

    You also have a possibility to customize your class "export."

    (1) you can set a custom action that does something totally different and make it available to your users. For example, we have done something in the past where a custom window gets arises and you can 'choose' attributes in your grid that you want to be exported, rather than be "linked" to the configured columns.

    (2) you can set the class that makes the export in the control panel under the frame settings. Maybe it's a little less flexible that you will be always tied to the model and the existing export format (it is passed to your class, rather than the CSVExport class), but you would be in full control of output. Like Sasha said, by default, CSV is the output format and things like formatting are obviously not taken in charge.

    I think that #1 would be the way to go because it offers the most flexibility for your users, but there should be a somewhat higher effort.

    # 1, you can see an example of this in action here:

    http://branchbird.com/images/exporting-options.PNG

    Hope that helps.

    Patrick

    Edited by: Branchbird - Pat on 11 October 2012 08:27

  • Change of control, keep the scale of fonts

    Hey,.

    I have a 'mx:Text' with a text control and the width is equal to 350 and height 350. If I double the measure (700 x 700), how can I keep the same space used by the text? You can see that I double the width and height, but if I double the fontSize of the text control will use more lines in comparison with its old width and height.  So, how can I maintain this scale proportionally?

    Thank you

    Embed fonts and the scaleX and scaleY value = 2

  • RegExp search and replace, keep the formatting of the original text

    Hello!

    Will have to perform the Search and replace within a framework of text using RegExp.

    And to retain the original formatting of the text block.

    How is it possible?

    Bad example-, it converts all the text formatting to the format of the first character:

    var reg = /a/gmi;
    var replacer = '*';
    var fr = activeDocument.textFrames[0];
    fr.contents = fr.contents.replace (reg , replacer);
    

    find_and_replace_regexp.jpg

    Thank you!

    I has not yet been tested your code.

    But why you did not play with my code snippet, use something like this:

    // regex_changeContentsOfWordOrString_RemainFormatting.jsx
    // regards pixxxel schubser
    var s = /arguments/gi;
    var replacer = "other string", result;
    var atf = activeDocument.textFrames[0];
    
    while (result = s.exec(atf.contents)) {
        try {
            aCon = atf.characters[result.index];
            aCon.length = result[0].length;
            aCon.contents = replacer;
            } catch (e) {};
        }
    

    Try it and have fun

  • Edit an image; can I keep the format? HR 8 HTML

    Screenshots. Photos. Images. Each version that something is changing, and I do need to update. I import my new .jpg in the Resource Manager files, open the topic, select the image and drag and drop. It works and it's easy. But I get back to the line and margins are lost.

    How can I avoid the formatting of an image?

    Thank you

    Zack

    You can also you go crazy and end up talking to yourself.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • Linked excel tables in InDesign CS5 update problems and keep the formatting: need help

    I've been using excel to place several tables in my InDesign CS5 document which will require the update on a regular basis. The tables are already formatted in excel, so I will place in InDesign with formatting and you will usually have to reduce proportionally the tables as soon as they are in InDesign CS5. When I'll update the links, it is important the content of the tables as part of current text with larger text and I am unable to "Insert the picture content" or "shrink content proportionally." Nobody knows how to solve this problem or know of another way to link excel with formatting tables and update without having to reformat the table (i.e. to resize the image and text) every time that happens an update? Thank you!!

    Can't do it, sorry. Tables only.

    Bob

  • Keep the text formatting by using dynamic text...

    Hello

    I try to keep the format of a text I wrote in Word or InDesign CS4 using a dynamic text field (multiline)...

    So far, I have unsuccessfully...  Does anyone have any suggestions?

    Thanks in advance,

    GGour

    Unfortunately, you can not paste html formatting in textfields.  While you can format the textfield itself for font, size, color and other features, html formatting must be affected by the code, and Flash supports only a limited number of html tags.

  • Keep the text formatting when writing new file with FILEIO

    Hi all

    I wonder if there is a way to keep the formatting of the text when I write it in a new file using FILEIO. In particular, I have the following text in a domain member:

    test < background = L1_garaz / > (text in the tag a color and itsbold) test


    I use the following code to write the foregoing in a new filw using FILEIO:

    on mouseup


    Annot = member("annotator").text
    path = the moviepath & "Annotated_text\".
    whichanno = baGetFilename ('Save', ' "& path &" "," "," doc files | ") * .doc", 0, -2, 0, 0, 'save the doc file')

    myanott = new (xtra "FileIO")

    myanott. CreateFile (whichanno) - create
    myanott.openFile(whichanno,0)
    writeString(myanott,annot) - write the new string
    myanott.closeFile)
    myanott = CANCEL

    end

    the problem is that despite the type of file I want to choose to save it (.doc, txt, etc.), he refuses to save the text with its original formatting (with the colors and the words "BOLD"). No idea how to solve this problem?

    Use a member of text instead of a field member, then you can access the formatting of the text through property .rtf... then save this info to a file:
    Annot = member("annotator").rtf
    .....
    ...
    writeString(myanott,annot) - write the new string

    Quote:
    Posted by: wgb14
    NOP, its said property found rtf. So if saving to RTF (without change to the ownership of the member("annotator") still once he will not keep the main text formmat

    Quote:
    In particular, I have the following text in a domain member:

  • How do I change the format of data o1 - axis and y1 - axis of an areaGraph

    Hello

    I want to change the format of o1 - axis data and y1 - axis of my AreaGraph. The sample output of the y1 - axis data format should be like (ex.105b should be 105,000) and o1 - axis data format should be like (ex. month - new year line). Is it possible to change these values, I need? Here is the image of the chart.

    AreaGraph.JPG

    Here is an example of photo output required to o1 - axis:

    MonthYear.JPG

    Here is the code in the jsff page:

    < dvt:areaGraph id = "Chart1" subtype = "AREA_VERT_ABS".

    inlineStyle = ' height: 165px; width: 545px; »

    tabularData = "#{pageFlowScope.performanceDetailController.productionDevList}" >

    < dvt:background >

    < dvt:specialEffects / >

    < / dvt:background >

    < dvt:graphPlotArea / >

    < dvt:seriesSet >

    < dvt:series / >

    < / dvt:seriesSet >

    < dvt:o1Axis / >

    < dvt:y1Axis / >

    < dvt:o1TickLabel >

    < dvt:graphFont size = "10" / >

    < / dvt:o1TickLabel >

    < dvt:legendArea automaticPlacement = "AP_NEVER" / >

    < / dvt:areaGraph >

    Hello

    So that the axis of the time to display, your data must be provided as java.util.Dates.

    Demo:

    http://jdevadf.Oracle.com/ADF-richclient-demo/faces/feature/graph/timeAxis.JSPX

    Doc of the tag:

    http://jdevadf.Oracle.com/ADF-richclient-demo/docs/DVT/tagdoc/dvt_areaGraph.html

    Doc link above tag:

    The time axis

    The graph area displays a time axis when the dates (type java.util.Date object) are specified for the column labels. Several timeXXX attributes are defined on the chart tag to customize the time axis. The child tag timeAxisDateFormat control the format in which are displayed time axis labels.

    You will also need to set the attribute timeAxisType on the chart.

    Valid values are the following:

    • TAT_DEFAULT - (default) gives an axis of discrete-time for bar, line, area, combination or graphics stocks and for all their subtypes, if the following conditions are met: (1) the Dates must be at the forefront of group and dates (2) must be held at regular intervals. Discrete time axis is plotted on the ordinal axis, which is also known under the name of the O1 - axis. This constant indicates the following relief position if the requirements are not met: the time axis is disabled and all labels are converted to strings.
    • TAT_IRREGULAR - provides an axis of continuous time on the x axis for bar, line, area or combination of graphics (only for dual-Y subtypes and split). Stacked charts are not supported. Additional requirements are: (1) the Dates must be on the edge of the group, the dates (2) must take place at regular intervals (sorted or unsorted), and (3) that a single dimension (layer) can exist on the edge of the group, if the data is provided via interface DataAccess. This constant indicates the following relief position if the requirements are not met: Dates (if any) are converted to strings, the time axis is disabled and an AlertEvent is triggered for all the AlertListeners that are saved with the graphic.
    • TAT_MIXED_FREQUENCY - provides an axis of continuous time on the x axis for bar, line, area, combination or dispersion for subtypes dual-Y and split graphs. Stacked charts are not allowed. Additional requirements are: (1) data cells must contain dates, (2) data to plot on the x-axis must be of type Date and (3) data to trace along the y-axis must be a number.
    • TAT_DEFAULT_STRICT - using discrete time axis, as described in TAT_DEFAULT, except that no fall-back position is available. If the conditions are not met, an error message appears.
    • TAT_IRREGULAR_STRICT - using continuous time axis as described in TAT_IRREGULAR, except that no fall-back position is available. If the conditions are not met, an error message appears.
    • TAT_MIXED_FREQUENCY_STRICT - using continuous time axis as described in TAT_MIXED_FREQUENCY, except that no fall-back position is available. If the conditions are not met, an error message appears.
    • TAT_OFF - disables the time axis.

    Hope this helps,

    Katia

  • InBrowser edition of the formatting problems

    My client has problems to update their daily special page with InBrowser edition.

    This site is hosted by a 3rd party host:

    • Café Central large Storm Lake, Iowa

    We have learned that the only way to keep the formatting that was built in Muse is if the client selects the text to change and the types ABOVE. Are they highlight and delete everything first, formatting disappeared. For some reason, the customer cannot get the hang of it, so I'll have to fix several times a week.

    Is there another way to get around this? Is this a known bug? Is there anything I should do in the game Muse upwards to help?

    Thank you!

    Hello

    Thanks for the attention on this issue. It is a known problem with the team working on editing in the browser (IBE).

    Unfortunately there isn't any alternative workaround at this time apart from the one you highlighted.

    We apologize for the inconvenience.

    Kind regards

    Marc

Maybe you are looking for

  • DVD can not be completed

    I have an old DCR-DVD203 and problems with a mini DVD. When I try to finalize, the two options to finalise and unfinalized are disabled. How can this happen? However, I am able to read the pictures stored in the camera. The transfer via USB to the co

  • Can't set the time on the RN102

    Any help appreciated. Cannot set time on my readynas. You will not accept either ntp server. Click on apply and setting back to a date in 2015. Anyone else had this? See you soon

  • New ProBook G1 450. WiFi won't turn. No such driver on the HP driver support page.

    In short: the Wifi on my new ProBook does not illuminate. Device Manager indicates that the device driver for the Wifi does not load and may be missing or damaged. It is said that the wireless device is an Intel Dual Band Wireless-AC3160 with Bluetoo

  • images and distorted icons

    While using my computer, it froze and after restart, it starts what looked like safe mode, but it was not.  It restarts with a gray screen distorted and all icons are distorted and all photos on Web sites look grainy and distorted.   I have checked t

  • HDX18 external monitor receives no signal

    My HDX18 connected to an external monitor.  Powered monitor 'no signal' message is displayed on the monitor.  It was a working arrangement and has recently stopped after disconnection and reconnection of the monitor.