Source language: Translate to:

My own Mini,Maximize button

General questions about NeoBook

Moderator: Neosoft Support

My own Mini,Maximize button

Postby Dudus » Sat Jan 14, 2017 7:31 am

Hello,

can you help me how to make my own minimize and maximize buttuns if I do not want to use windows Standard Window?
I need as like this one:
Image

Thank you!
D
User avatar
Dudus
 
Posts: 91
Joined: Wed Sep 07, 2005 12:15 pm
Location: Hungary, Budapest

Re: My own Mini,Maximize button

Postby PaulTomo » Sat Jan 14, 2017 8:16 am

You could just Turn Off the Title Bar under the Book Properties / Window / Window Style option and create your very own title bar that appears along the top of the publication using the page style and images you want as the buttons and then use the NeoBook commands that relate to each of them in turn to perform the actions you want them to do, as follows:

Close Publication
Code: Select all
Exit "" ""

Minimize Window
Code: Select all
SetVar "[WindowState]" "Minimized"

Maximize Window
Code: Select all
If "[WindowState]" "=" "Normal"
    SetVar "[WindowState]" "Maximized"
Else
    SetVar "[WindowState]" "Normal"
Endif

There is probably some scrip out there to change windows buttons but it won't be that easy to add or give you exactly the end result that you want to see on screen as this simple solution will.
User avatar
PaulTomo
 
Posts: 62
Joined: Tue Apr 28, 2009 1:15 am
Location: UK


Return to General NeoBook Discussions

Who is online

Users browsing this forum: Bing [Bot] and 0 guests