Variable Item Inside Combobox And ListBox - Forum

Forum Navigation
You need to log in to create posts and topics.

Variable Item Inside Combobox And ListBox

I made 4 object :

comboBox1
Combobox2
TextArea
Button

Inside text area object variable is [textout],place holder empty,initial text write > is anything that out.

And inside every combobox item i put a variable [textinput]

And inside every combobox properties column near style i put a variable [box]

And i want setup the input on textarea object variable to combobox1 and combobox2 together.

Well,already Start test neoweb -->

And also i write actually on textarea content inserted to add all change textarea inserted.

So,,,

When i execution the variable on with button action :

SetVar [textinput] "[textout]"

And finally i can't see the any changed of every combobox [textinput] item variable ?

On NeoWindow is alright but on neoweb incorrect, somebody help please

"Thank you everyone"

@see_half please take a look at the included sample apps in:

MyDocuments\VisualNeoWeb\Sample Apps\ListExample

Regards.

@luishp

The example you gave is only an addition to an array of functions and not for moving item variables, I want to set 2 variables contained in combobox1 and 2 at once!

And if that's the only example why don't I select the ListBoxAddItems function in the "object" option which is already available in visualneoweb Code editor ?

..and maybe it's easier to enter without a variable in the item, why in NeoWindow if I put the variable inside the item it doesn't need an array function right ?

Just...Setvar "[You]" "[Me]" and not ArraySearch or ArrayAdditems.

On NeoWeb setup items must be Array ???

If I were you,

.. I would only choose the ListBoxAddobject only that !!

Very lags ...and decrease time...

I don't understand you very well but yes, VisualNEO Web uses Arrays to populate ListBox and ComboBox objects.

@luishp

I just want to put it in an item variable at once and not use an array or ListBoxAddItems.

In neowin it can be done when I put the variable inside the item.

So when you do "setvar", all the contents in the textarea are moved into items in combobox1 and combobox2.

If I just use the array function and ListBoxAdditems it's only done one by one as in NeoWindow when in the population array they need a delimiter regulation and I don't think that's what I want.

Thanks,

On neowindows

Example:

FileRead "!C:\test.txt" "[inside ITEM]" "All"

In the item combobox1/2

Apple
Pinnaple
Papaya
Start Fruit
An another fruits

At once !!!!!!!

@see_half please see attached sample. Regards.

Uploaded files:
  • You need to login to have access to uploads.
See_Half has reacted to this post.
See_Half

@luishp

Thank you,

I've create a app android example to improve a variable input with a setvar.

But,i still stuck when i use the setVar,at this time i only use the function of create array only.

Please try the example I made as an improvement on a mobile device.

Uploaded files:
  • You need to login to have access to uploads.

@see_half please see attached sample.
Regards.

Uploaded files:
  • You need to login to have access to uploads.
See_Half has reacted to this post.
See_Half

@luishp

O man,thanks you so much that is
"String" !!!!

I forgot about string parse !

Strparse huh !!!

I just found out the input delimiter is in ViNeoWeb and I only know that inside NeoWin the delimiter is written : "[#10][#13]|%%%" just it !

"Can you tell me the various delimiters that can be accepted in Visual Neo Web ?

Glad to see..aha

An example delimiter copy from clipboard ?

Are you see that ?

@see_half specialc haracters are the same than in JavaScript.
The table below lists special characters that can be added to a text string with the backslash sign:

Code Outputs
\' single quote
\" double quote
\& ampersand
\\ backslash
\n new line
\r carriage return
\t tab
\b backspace
\f form feed

@luishp

Okay,thanks to guide me.

I will adjust it, but I want to send and retrieve it from a clipboard, on my mobile device I don't see the input string or "STR function" and also delimiter explanation from the mobile clipboard in the javascript html, should I use beginJS,right?

Can you give an example of how to take the clipboard string input to be entered into variable Visualneoweb and vice versa ?

Return to clipboard mobile device?

Anyway plugin "closewindows" on mobile device is not work too ?

do you able solve this?

@see_half ClipBoard access on compiled .apk should use the appropiate Cordova plugin. There exist some JavaScript solutions but access to ClipBoard has restrictions for security reasons.

Anyway plugin "closewindows" on mobile device is not work too ?

I don't understand you very well, but you can try this (Cordova and VoltBuilder only):

BeginJS
  navigator.app.exitApp();
EndJS

Regards.

@luisph

Thank you

For now I'm still learning how a javascript type can be accepted in a Visualneoweb and can be run on a mobile device.