-
Now add a minimization button.
But not adding is adding a maximization button.
-
Removing the title bar, we may have to provide minimization, maximization, and shutdown operations for the program to write **, how to achieve this?
Just add the MouseListener to the button and call it in MouseClick.
Minimize. if( =;;
Maximized or normal state.;
-
To remove the title bar:
This will remove the window decoration from the jframe
-
Set the properties of the form:
closeable=.f.It's just that you can't close the button is invalid minbutton=.f.It's just that the minimize button is invalid mxnbutton=.f.It's just that the maximize button doesn't work.
-
When designing, set the showintaskbar property of the window to true, and then set the windowstate to vbminimized, see **::
private sub command1_click()= vbminimized
end sub
Here's how it works:
-
Problem Analysis:
If the form's showintaskbar = true, then you can still use the windowstate property to minimize it to the taskbar, but this will happen if your form's showintaskbar = false. So just make showInTaskBar true when minimized with the windowstate property.
Workaround 1:
Enter :p rivate sub form load().'When the form loads.
showintaskbar = true 'makes the form appear in the status bar.
..Other**.
end sub
private sub command6 click() button.
1 'Minimize.
..Other**.
end sub
Workaround 2:
Enter **:p rivate sub command6 click() when clicking the button.
showintaskbar = true 'makes the form appear in the status bar.
1 'Minimize.
..Other**.
end sub
private sub form resize() form reset.
if <>1 then showintaskbar = false 'so that the form does not appear in the status bar (back to the original state).
..Other**.
end sub
-
First, set showintaskbar=true in the property bar of the form, and then copy the following **.
private sub command6_click()= 1
end sub
-
I remember using windowstate to fully shrink to the taskbar. I just tested it as well.
If it doesn't work. Then use the API.
I know. You're borderless forms. Then use the API.
Oh yes, there's a good way.
You can change the showintaskbar of the form to true and you're good to go.
-
Are you going to shrink down to a small icon like QQ? **A lot of drops might as well set a hotkey to hide the display
-
In the Properties box, select false!can solve the problem.
-
MaximizeBox in the window style property of the form is changed to false
minimizebox to false
It seems that the close button can't be turned off.
-
There is a choice in the window style of form.,Select the windows toolbar mode on it.,But there will still be a close.。
Another way is to remove the title bar when drawing the window, and only show the client area, but then you need to write another ** to realize the movement of the window, etc.
I haven't used delphi for a long time, and I can't remember the details.
-
.Version 2
Assemblies Window Assembly 1
The subroutine Startup Window is created.
Launch the window. Set the tray icon ( window icon, "test").'Let's change the icon here.
Whether the subroutine startup window can be closed, the logical startup window. Position 2
You can also use this.
Launch the window. Visually false.
Return (False).
The subroutine launches the window tray event.
Parameter operation type, integer.
Parameter Operation Type Description:
Indicates the type of user action, which may be the following values: 1. Left click; 2. Double-click; 3. Right-click.
This event occurs when the user clicks or double-clicks the icon set by the "Place Tray Icon" method of the object in this window.
Judgment Start (Action Type 1).
Launch the window. Position 1
You can also use this.
Launch the window. Visual.
Default. End of judgment.
-
In "Properties", change "Minimize Button" to "True".
-
.Version 2
Subroutine button 3 is clicked.
Position 2
-
The maximized minimize close button you said will change automatically.
Sky Software Station) use specific steps:1Unzip the envelope first, and then open the tool and there is a plus sign on the interface! >>>More
Agree with the upstairs statement that shelling is a good way to do it. As for this tool, you can take a look, but you need to know that it is very likely to be killed and poisoned after packing. It's not very difficult to add shelling, some of them are foolish, just do it all at once or get some sinister tricks, I'll give you an idea. >>>More
Learn to ask in easy language.
It's in the taskbar. Look at the time there.
Version 2 supports the library edb
Support for library specs >>>More