Minimize buttons, easy language how to write buttons to minimize windows

Updated on technology 2024-05-27
16 answers
  1. Anonymous users2024-02-11

    Now add a minimization button.

    But not adding is adding a maximization button.

  2. Anonymous users2024-02-10

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

  3. Anonymous users2024-02-09

    To remove the title bar:

    This will remove the window decoration from the jframe

  4. Anonymous users2024-02-08

    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.

  5. Anonymous users2024-02-07

    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:

  6. Anonymous users2024-02-06

    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

  7. Anonymous users2024-02-05

    First, set showintaskbar=true in the property bar of the form, and then copy the following **.

    private sub command6_click()= 1

    end sub

  8. Anonymous users2024-02-04

    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.

  9. Anonymous users2024-02-03

    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

  10. Anonymous users2024-02-02

    In the Properties box, select false!can solve the problem.

  11. Anonymous users2024-02-01

    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.

  12. Anonymous users2024-01-31

    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.

  13. Anonymous users2024-01-30

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

  14. Anonymous users2024-01-29

    In "Properties", change "Minimize Button" to "True".

  15. Anonymous users2024-01-28

    .Version 2

    Subroutine button 3 is clicked.

    Position 2

  16. Anonymous users2024-01-27

    The maximized minimize close button you said will change automatically.

Related questions
4 answers2024-05-27

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

6 answers2024-05-27

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

5 answers2024-05-27

Learn to ask in easy language.

3 answers2024-05-27

It's in the taskbar. Look at the time there.

20 answers2024-05-27

Version 2 supports the library edb

Support for library specs >>>More