Skip to main content

Posts

Showing posts from January, 2018

RichTextBox QControl

The  RichTextBox QControl Code  can be found here: RichTextBox QControl.zip The  QControl Toolkit  is required to use this and can be found  here : The QControl Toolkit on LabVIEW Tools Network Overview For this QControl I wanted a completely LabVIEW Rich Text Box.  Under the hood it uses an HTML-like tagged string to define the formatting.  Then there are two main methods: one that converts the tagged string to the formatted string and one  that converts the  formatted  string to the tagged   string. This QControl contains two classes.  First, the RichTextBox Class inherits from the String Class and adds the ability read/write  through a property nodes: the tagged string  whether to view the tagged string value or the formatted value in the String Control Second, the RichTextBoxWithToolbar adds the Toolbar Facade and the Event Handler to handle all of the formatting events.  The font list is populated based on the OS and there is a case structure for that in