Jump to content

Style Control on large strings


Recommended Posts

Hi,

   I have a large string and I would like to update the colour of each word as it is typed. Using the Property nodes on the string to select a word, then update its colour, then return to cursor to it's previous position would be great if this could happen instantly, but property nodes can not be used when a sub VI is called as 'subroutine' priority. The end result is you can see the word flash breifly as it is highlighted and can cause the UI to jolt. This is undesirable.

    Does anyone know how I might better achieve this?

Many thanks, Alec

Link to comment

Hi,

   I have a large string and I would like to update the colour of each word as it is typed. Using the Property nodes on the string to select a word, then update its colour, then return to cursor to it's previous position would be great if this could happen instantly, but property nodes can not be used when a sub VI is called as 'subroutine' priority. The end result is you can see the word flash breifly as it is highlighted and can cause the UI to jolt. This is undesirable.

    Does anyone know how I might better achieve this?

Many thanks, Alec

Defer panel updates while you are updating the string.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.