Quote from Daniel Housa on November 8, 2020, 6:37 pmI am a neophyte in VisualNeo.
- How can I copy the content of TextArea to Clipboard by Pressing button
- Is there any easy way how to conditionally show ListBox, ComboBox etc based on the input in previous ListBox, ComboBox?
I am a neophyte in VisualNeo.

Quote from luishp on November 9, 2020, 9:54 amHi @daniel-housa and welcome to the forum :)
How can I copy the content of TextArea to Clipboard by Pressing button
This should work (I will add a new command on next release):
SetVar [inputname] "TextArea1" BeginJS var copyText = document.getElementById($App.inputname); copyText.select(); copyText.setSelectionRange(0, 99999); document.execCommand("copy"); EndJSIs there any easy way how to conditionally show ListBox, ComboBox etc based on the input in previous ListBox, ComboBox?
I don't understand your question very well. Do you mean using HideObject and ShowObject?
Regards.
Hi @daniel-housa and welcome to the forum :)
How can I copy the content of TextArea to Clipboard by Pressing button
This should work (I will add a new command on next release):
SetVar [inputname] "TextArea1"
BeginJS
var copyText = document.getElementById($App.inputname);
copyText.select();
copyText.setSelectionRange(0, 99999);
document.execCommand("copy");
EndJS
Is there any easy way how to conditionally show ListBox, ComboBox etc based on the input in previous ListBox, ComboBox?
I don't understand your question very well. Do you mean using HideObject and ShowObject?
Regards.
Quote from Daniel Housa on November 9, 2020, 11:50 amThank you. Regarding the second half of question. If one fills e.g. age in form above 50 or selects from roll down menu an item, I would show certain data based on input. Something like https://www.softworksgroup.com/synoptec-blog/smart-branching-pathology-templates/
Thank you. Regarding the second half of question. If one fills e.g. age in form above 50 or selects from roll down menu an item, I would show certain data based on input. Something like https://www.softworksgroup.com/synoptec-blog/smart-branching-pathology-templates/

Quote from luishp on November 9, 2020, 12:25 pm@daniel-housa please take a look at the attached sample app.
Use right-click to download.
@daniel-housa please take a look at the attached sample app.
Use right-click to download.
Uploaded files:
Quote from Daniel Housa on November 9, 2020, 8:33 pmSorry being a little bit dull. Please find attached DEMO app. Where exactly to paste JS code?
Also, are there any code examples to be able to study the synthax of the language code.
Sorry being a little bit dull. Please find attached DEMO app. Where exactly to paste JS code?
Also, are there any code examples to be able to study the synthax of the language code.
Uploaded files:
Quote from luishp on November 10, 2020, 10:53 am@daniel-housa not sure what are you trying to do but please take a look at the modified attached sample.
Also, are there any code examples to be able to study the synthax of the language code.
Best about VisualNEO is you don't have to remember any syntax. Just double-click any command and a window wizard will help you to add each parameter and write the code for you.
Anyway you can find a lot of samples in "My Documents\visualneoweb\Sample Apps" folder in your PC.
Also take a look at our offical YouTube channel for some step by step tutorials.Best regards.
@daniel-housa not sure what are you trying to do but please take a look at the modified attached sample.
Also, are there any code examples to be able to study the synthax of the language code.
Best about VisualNEO is you don't have to remember any syntax. Just double-click any command and a window wizard will help you to add each parameter and write the code for you.
Anyway you can find a lot of samples in "My Documents\visualneoweb\Sample Apps" folder in your PC.
Also take a look at our offical YouTube channel for some step by step tutorials.
Best regards.
Uploaded files:
Quote from luishp on November 10, 2020, 8:27 pm@daniel-housa this is another sample. It shows how to use ListBoxes with Arrays.
This sample is included with VisualNEO Web. It's located in the "My Documents\visualneoweb\Sample Apps" folder.Regards.
@daniel-housa this is another sample. It shows how to use ListBoxes with Arrays.
This sample is included with VisualNEO Web. It's located in the "My Documents\visualneoweb\Sample Apps" folder.
Regards.
Uploaded files: