My own Mini,Maximize button

General questions about NeoBook

Moderator: Neosoft Support

Locked
User avatar
Dudus
Posts: 120
Joined: Wed Sep 07, 2005 12:15 pm
Location: Hungary, Budapest

My own Mini,Maximize button

Post by Dudus »

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
PaulTomo
Posts: 63
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: My own Mini,Maximize button

Post by PaulTomo »

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.
Locked