
Quote from rocote on April 5, 2020, 6:00 pmIs it possible to insert a "Break Line" into a variable?
SetVar [info(1)] " This is my first sentence." <br> "This is my second sentence"
Thanks for helping!
Roger
Is it possible to insert a "Break Line" into a variable?
SetVar [info(1)] " This is my first sentence." <br> "This is my second sentence"
Thanks for helping!
Roger

Quote from luishp on April 6, 2020, 9:59 amPlease try this:
SetVar [info(1)] " This is my first sentence.<br>This is my second sentence"
Or this:
SetVar [info(1)] " [sentence1] <br> [sentence2]"@rocote, @gaev we are all confined at home, please be patient and never lost good manners.
I do really appreciate you both and I'm sure is only missunderstanding that bring us to conflict.
Take care.
Please try this:
SetVar [info(1)] " This is my first sentence.<br>This is my second sentence"
Or this:
SetVar [info(1)] " [sentence1] <br> [sentence2]"
@rocote, @gaev we are all confined at home, please be patient and never lost good manners.
I do really appreciate you both and I'm sure is only missunderstanding that bring us to conflict.
Take care.

Quote from rocote on April 6, 2020, 4:43 pmHi Luis, thanks for your reply but it doesn't work
You see, I declare the variable in the Projet/Event/
SetVar [info(1)] " This is my first sentence.<br>This is my second sentence"
And in the Headline object if have this variable: [info|element: X] to display on screen
If I do what you have given me the result display the <br> inside and between the two sentences,
This is my first sentence.<br>This is my second sentence
It doesn't break the line, between the two sentences and this is what I've done yesterday.
Roger
Hi Luis, thanks for your reply but it doesn't work
You see, I declare the variable in the Projet/Event/
SetVar [info(1)] " This is my first sentence.<br>This is my second sentence"
And in the Headline object if have this variable: [info|element: X] to display on screen
If I do what you have given me the result display the <br> inside and between the two sentences,
This is my first sentence.<br>This is my second sentence
It doesn't break the line, between the two sentences and this is what I've done yesterday.
Roger

Quote from luishp on April 6, 2020, 5:01 pm@rocote if you just put the variable in the Headline it will not work as it will only display pure text.
Step by step:
- Create your Headline at left it empty.
- Create a button and add this code to the "click" event:
SetVar [myvar] "Fisrt sentence<br>Second sentence" SetObjectHTML "Headline1" "[myvar]"Done. This way the variable content will be interpreted as HTML and not as pure text, so <br> is a line feed.
Regards.
@rocote if you just put the variable in the Headline it will not work as it will only display pure text.
Step by step:
SetVar [myvar] "Fisrt sentence<br>Second sentence" SetObjectHTML "Headline1" "[myvar]"
Done. This way the variable content will be interpreted as HTML and not as pure text, so <br> is a line feed.
Regards.

Quote from rocote on April 6, 2020, 5:12 pmThis is very important what you have shown me Luis. I will develop some new codes from there. I will let you know a bit later what I done.
Thanks!
This is very important what you have shown me Luis. I will develop some new codes from there. I will let you know a bit later what I done.
Thanks!

Quote from rocote on April 6, 2020, 5:36 pmOk it is working. Here what I have done.
In Projet/Events I have this:
SetVar [sentence1] "First Sentence"
SetVar [sentence2] "Second sentence"
SetVar [sentence3] "Third sentence"
SetVar [info(4)] "[sentence1] <br> [sentence2] <br>[sentence3]"
Then the Headline5 is empty like you ask me to do it. (this is perfect)
Then, for the button code, I put this:
This section check for what video to be play
SetVar [x] [x]+1
If [x] > 39
SetVar [x] 1
EndIf
This section send the information of the video.
IF [x] == 4
SetObjectHTML "Headline5" "[info(4)]"
Note; here I tried to replace the number (4) for the variable (x) but it doesn't work. Because of this, I have to rewrite
all the condition statement (IF/EnfIF for each video. I wish there is a way to do it.
EndIF
Ok it is working. Here what I have done.
In Projet/Events I have this:
SetVar [sentence1] "First Sentence"
SetVar [sentence2] "Second sentence"
SetVar [sentence3] "Third sentence"
SetVar [info(4)] "[sentence1] <br> [sentence2] <br>[sentence3]"
Then the Headline5 is empty like you ask me to do it. (this is perfect)
Then, for the button code, I put this:
This section check for what video to be play
SetVar [x] [x]+1
If [x] > 39
SetVar [x] 1
EndIf
This section send the information of the video.
IF [x] == 4
SetObjectHTML "Headline5" "[info(4)]"
Note; here I tried to replace the number (4) for the variable (x) but it doesn't work. Because of this, I have to rewrite
all the condition statement (IF/EnfIF for each video. I wish there is a way to do it.
EndIF


Quote from rocote on April 6, 2020, 5:46 pmI wish it could work, but it doesn't Luis.
if [x] == 4
SetObjectHTML "Headline5" "[info(x)]". (doesn't work)
EndIF
The Headline stays empty.
But when I put the number, it is working.
if [x] == 4
SetObjectHTML "Headline5" "[info(4)]" (it is working)
EndIF
I wish it could work, but it doesn't Luis.
if [x] == 4
SetObjectHTML "Headline5" "[info(x)]". (doesn't work)
EndIF
The Headline stays empty.
But when I put the number, it is working.
if [x] == 4
SetObjectHTML "Headline5" "[info(4)]" (it is working)
EndIF

Quote from luishp on April 6, 2020, 6:42 pm@rocote please find the difference about what you are writing:
SetObjectHTML "Headline5" "[info(x)]"And what i have written
SetObjectHTML "Headline5" "[info([x])]"It seems the same but it's not :)
@rocote please find the difference about what you are writing:
SetObjectHTML "Headline5" "[info(x)]"
And what i have written
SetObjectHTML "Headline5" "[info([x])]"
It seems the same but it's not :)

Quote from rocote on April 6, 2020, 10:31 pmYou were right Luis, I forgot some important little details. Thanks!
If you want, you can go see what I've done so far. It may not seem like much to you, but I'm still proud to have done it. The important thing is the result and it works! I knew nothing about JavaScript and very little about HTML. But, I like that.
With VisualNeo Web, it's starting to make sense.
Here is the YouTube link:
https://youtu.be/Ihkc5SxCzoQ
You were right Luis, I forgot some important little details. Thanks!
If you want, you can go see what I've done so far. It may not seem like much to you, but I'm still proud to have done it. The important thing is the result and it works! I knew nothing about JavaScript and very little about HTML. But, I like that.
With VisualNeo Web, it's starting to make sense.
Here is the YouTube link:

Quote from Darbdenral on April 7, 2020, 1:02 am@rocote That's great!
@rocote That's great!

Quote from rocote on April 7, 2020, 1:36 am@Darbdenral oh, thank you!
@Darbdenral oh, thank you!

Quote from rocote on April 7, 2020, 2:48 amCurrently, I only have one password for everyone and I believe it has already been revealed.
But it would be nice if I could offer a different password for everyone.
Currently, I'm using the subroutine there is in the tutorial folder sample.
SetVar [resultado] 0
If "[elpassword]" != "mypassword"
SetVar [resultado] 1
SetVar [elpassword] ""
SetVar [message] "Sorry... this is a wrong answer!"
GotoFirstPage
Else
SetVar [resultado] 0
SetVar [message] ""
EndIf
Thank you
Roger :)
Currently, I only have one password for everyone and I believe it has already been revealed.
But it would be nice if I could offer a different password for everyone.
Currently, I'm using the subroutine there is in the tutorial folder sample.
SetVar [resultado] 0
If "[elpassword]" != "mypassword"
SetVar [resultado] 1
SetVar [elpassword] ""
SetVar [message] "Sorry... this is a wrong answer!"
GotoFirstPage
Else
SetVar [resultado] 0
SetVar [message] ""
EndIf
Thank you
Roger :)


Quote from rocote on April 7, 2020, 4:03 pmIf you hadn't explained things to me, I couldn't have done that.
Now that I have more knowledge and material to take information, I can move forward on my own a little bit more. About yesterday's mistake (the missing bracket), it's because of my eyes. I often see confused and sometimes it plays tricks on me. I have glaucoma and my right eye burns regularly.
Some parts of my body loose gradually and that's why I hurry to finish my web page to leave my children a living memory of my music and me as a musician. So, you can consider that you also participated in helping me set up this page with all your instructions. You see how far the tutorial can go.
Thanks!
Roger :)
If you hadn't explained things to me, I couldn't have done that.
Now that I have more knowledge and material to take information, I can move forward on my own a little bit more. About yesterday's mistake (the missing bracket), it's because of my eyes. I often see confused and sometimes it plays tricks on me. I have glaucoma and my right eye burns regularly.
Some parts of my body loose gradually and that's why I hurry to finish my web page to leave my children a living memory of my music and me as a musician. So, you can consider that you also participated in helping me set up this page with all your instructions. You see how far the tutorial can go.
Thanks!
Roger :)


Quote from rocote on April 8, 2020, 1:06 amEres el mejor Luis. Es asombroso lo que puedes hacer. Estás componiendo la aplicación como un gran compositor de música.
Si alguna vez puedes darme una pista para crear contraseñas para diferentes personas. Sería apreciado
Sabes, hoy prefiero VisualNeo Web mejor que VisualNeo Win porque estoy empezando a sentirme cómodo con él. Además, descubrí las increíbles posibilidades de este software. Como dijiste, esto es importante porque el futuro de la web es el futuro de la comunicación. Pero me alegro de tener VSN Win de todos modos.
Actualmente, todavía estoy compilando con la opción PWA. Prefiero esto a Standalone (.exe).
Pero lo que me gusta sobre todo es que estoy bien guiado. Eres una persona muy impresionante. No se sienta decepcionado o avergonzado por los cumplidos que le doy. Eres un maestro y tienes que aceptarlo.
Si tienes tiempo para ir a mi página y considerar qué podría mejorarse. Además, si escuchas mi música, me conocerás mejor.
La siguiente opción que agregaré a mi página (composiciones o arreglos) es un botón que permitirá a las personas (guitarrista, por ejemplo) ir directamente a un solo de guitarra desde la reproducción del video.
Vi que tenía que insertar comandos especialmente para ir a un lugar específico de los videos. Esto es genialDisculpe, como era maestra, hablo demasiado, pero se siente bien.
Entonces mi página está aquí: http://rogercote.ca. y la contraseña es musique2020
Espero que Google haya traducido bien al español lo que escribí en francés.
Muchas gracias por tu ayuda!
Eres el mejor Luis. Es asombroso lo que puedes hacer. Estás componiendo la aplicación como un gran compositor de música.
Si alguna vez puedes darme una pista para crear contraseñas para diferentes personas. Sería apreciado
Sabes, hoy prefiero VisualNeo Web mejor que VisualNeo Win porque estoy empezando a sentirme cómodo con él. Además, descubrí las increíbles posibilidades de este software. Como dijiste, esto es importante porque el futuro de la web es el futuro de la comunicación. Pero me alegro de tener VSN Win de todos modos.
Actualmente, todavía estoy compilando con la opción PWA. Prefiero esto a Standalone (.exe).
Pero lo que me gusta sobre todo es que estoy bien guiado. Eres una persona muy impresionante. No se sienta decepcionado o avergonzado por los cumplidos que le doy. Eres un maestro y tienes que aceptarlo.
Si tienes tiempo para ir a mi página y considerar qué podría mejorarse. Además, si escuchas mi música, me conocerás mejor.
La siguiente opción que agregaré a mi página (composiciones o arreglos) es un botón que permitirá a las personas (guitarrista, por ejemplo) ir directamente a un solo de guitarra desde la reproducción del video.
Vi que tenía que insertar comandos especialmente para ir a un lugar específico de los videos. Esto es genial
Disculpe, como era maestra, hablo demasiado, pero se siente bien.
Entonces mi página está aquí: http://rogercote.ca. y la contraseña es musique2020
Espero que Google haya traducido bien al español lo que escribí en francés.
Muchas gracias por tu ayuda!