A couple of "how to" questions - Forum

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

A couple of "how to" questions

I'm having trouble with:

1. Making goto button.

I want to make next page/Previous page buttons on each page with a arrow picture.

2. Changing the "VisualNeo" title on my pages to the title of my book.

 

So basically I'll have an exe file with the name of the book and readers can turn pages.
Also, whwen the second page did load it was completely blank. The picture I had out on it didn't show up.

Any help/tips are much appreciated.

@diman

maybe something like this?

Greetings

Uploaded files:
  • You need to login to have access to uploads.
luishp and Vadim have reacted to this post.
luishpVadim

Thank you! I'll have to experiment with it but this is exactly what I'm looking for.
I didn't see how to add my own content but I'll see what I can do.

UPDATE:

Figured out how to add my own content and change headings.

Only thing I don't know how to do is add  loopable background music that plays on every page
And since the music is an external file I assume I just include it in my distribution

Assuming it isn't embedded in the exe

You can add your own button pictures, but it has to be the same size as the button. Example: If the button is 100x45 pixels, than the picture should be the same size. Let me know what you want to do exactly and I'll try to help you : )

UPDATE:

Figured out how to add my own content and change headings.

There are two ways to add your own content

  1. You can "Embedded" content into your app and read/show content from within your app.
  2. You can "Embedded" content into your app, and when the app is running, it must extract the content from your app to hdd, and then read/show content from there.

add  loopable background music that plays on every page

To play loop music from beginning of page 1, you can goto "App- App Properties-Actions-Insert Action-Multimedia-PlaySoundFile-(" then pick a sound file, if you choose a .mp3 file for looping, there will be a slight delay every time the sound file starts from the beginning of the loop, but if you choose a .wav file it will loop smoothly without delay : ) It will be best to "Embedded" your sound file into the app. The you have to click on "Play continuously in the background (loop).

Example: PlaySoundFile "[Embedded]bgmusic.wav" "Loop"

You can add a button to stop music or maybe add a volume button to the music

Vadim has reacted to this post.
Vadim

Here is another demo. You can do almost anything with VisualNeo. Extract and [Embedded] all the files into your pub except for "My book.pub". Test it and see if this is what you want. Hope this will help a little : )

Greetings

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

Fantastic. But I really don't understand how you did it.
I'm a fairly quick learner but a little stumped. :)

@diman

No problem, we've all been there :) but with time you will learn. Here are some great people who are more than willing to help where they can. Here you can watch Tutorials on YouTube 

https://www.youtube.com/@visualneowintutorials4270/videos and of course the old neobook forum page where you can search for almost anything to get help for VisualNeo Win https://www.archive.visualneo.com/viewforum.php?f=1&sid=3d1ac4feb50e75f771d706fa04b41ac9 If you're a beginner than this will help you a lot.

Greetings

luishp and luiz have reacted to this post.
luishpluiz

I've tried my hardest but can't figure out how to add pages beyond the first ten. When I add page eleven it will be saved as another page 2.

And so on. The only action I see is the set page and like I'm saying it calls it 2 instead of eleven. If I try to edit the page nothing happens.

I'm actually sad (LOL) because I want this to work but have had no luck. Are there other actions I need to add for page eleven?
A brief synopsis of the process to get it all working would help so much.

Thanks.

On the left bottom buttons, right click on "Page10"(P10) and copy page. It will automatically added "Page11"(P11)... or choose "Add Page" and rename "Page title" to P11. Right click on P11 button that was created, goto "Page Properties" - "Actions" and change (SetVar "[PubTitle]" "Page10") to (SetVar "[PubTitle]" "Page11") On the Text "Page 10", that is on "Page11(P11), right click and rename to "Page 11".

Then right click again on "Page 10"(P10) button,  goto "Page Properties" - "Actions" and remove (HideObject "Picture2" "None" "0"), this action must always be on the last page to hide the "Next page" picture button.

Hope this will help : )

Greetings

Vadim has reacted to this post.
Vadim

Thank you. It's late here so I'll try it in the a.m. Really appreciate your help.

@diman

No problem : ) Here is another demo pub with way less script. Hope this will also help.

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

@diman

You need to at least skim through the help information and look at the examples that are distributed with the program. Otherwise, you will just be stuck in one place and asking questions.

This is the case when even experienced users constantly turn to the help information. Judging by your questions, you haven't even looked there.

True. I'm just getting started but I definitely want to get into it and find my way around.

You should develop this program even further, add more bells and whistles, and put it on STEAM.

There are programs on there that try to be this but don't even come close. A lot of people would

be looking for this and I  think you'd do well with it. Just an idea.