Page 1 of 1

add page and save pages in user mode?

PostPosted: Wed Aug 16, 2017 3:33 am
by robertpet
this function I have noticed in toolbook but the program is way to much money for the average person neobook is a great program .

Re: add page and save pages in user mode?

PostPosted: Wed Aug 16, 2017 11:35 am
by HPW
Hello,

Your question is a bit unclear.
What means user mode?
neobook has a designtime-mode and a runtime-mode.
But neobook has no commands for adding pages or save pages in runtime-mode.
Designtime-mode runs from the neobook IDE and supports a Debugging-Dialog.

Regards
Hans-Peter

Re: add page and save pages in user mode?

PostPosted: Sun Aug 20, 2017 8:30 am
by robertpet
hi peter I mean run-time mode I use the old version toolbook on my (80486 cpu ) but my new cpu is 64 bit win 10 it would be nice to see neobook do this in runtime think
of the possibilities !!! is there a work around?

Re: add page and save pages in user mode?

PostPosted: Sun Aug 20, 2017 12:00 pm
by HPW
Hello,

neosoftware has answered your similar question here:
viewtopic.php?f=2&t=21997

So neobook has no Actions to add pages or objects at runtime.
You might fake it, by adding hidden objects to your Pub and move them onto the page and make then visible.

Or you may have a look at my pdscript-plugin or at pdscript itself:
viewtopic.php?f=3&t=18808&hilit=pdscript
http://www.be-precision.com/products/pdscript/

Other dev-enviroments might also Support dynamic Gui-creation.
You could also write a Delphi-plugin (or other languages) to add Gui-Elements on runtime.

Regards

Re: add page and save pages in user mode?

PostPosted: Sun Aug 20, 2017 12:44 pm
by Gaev
robertpet:

it would be nice to see neobook do this in runtime think
of the possibilities !!! is there a work around?

I have never used "toolbook" but different programs use the same terminology (like page and user-mode) to mean different things ... best to describe a specific application you want to build with NeoBook and invite people to suggest solutions ... perhaps you can describe (in detail) a clear example of a "possibility".

Re: add page and save pages in user mode?

PostPosted: Tue Aug 22, 2017 10:24 am
by dpayer
robertpet wrote:hi peter I mean run-time mode I use the old version toolbook on my (80486 cpu ) but my new cpu is 64 bit win 10 it would be nice to see neobook do this in runtime think
of the possibilities !!! is there a work around?



I am not sure what you are trying to create dynamically to require pages to be built in run time. I had a problem where I needed to display data that would vary and I needed to collect data and change data in a database. My work around was to make a form generator in HTML and then a form processor that would collect the data. This way, NB simply displayed a html page that I could generate. The page will look different based on the information you feed the form generator. I use this in several of my applications.

You can see it here. A demo is available. All done in NB code:

viewtopic.php?f=22&t=19827