Ie.
Default gambas behaviour is that if you set
Form.Border = True
That gives a window with a titlebar and a border that is resizable by clicking the edges/corners.
But if you set
Form.Border = False
then you get no titlebar, no border and the form cannot be resized
The attached program seen in the image shows how i've used it to make my own custom window that i can hide/show min/max/close buttons and has a fancy background for the hand made titlebar.
I personally have a number of applications that i want to be resizable but not have a border.
My previous solution was to have an option to show/hide the window titlebar/border to resize but that was ugly.
So this is fairly useful to me, so i share it with you

The Resizing can be disabled/enabled by simply setting the Form.Borderless property false or true.
(Note: Setting .Borderless = True will automatically set .Margin = True and .Border = False)
With this project you can add the Form.class from it's .src folder into your own projects .src folder then any Form of your project will have the new Property Form.Borderless
If Form.Borderless = True then the following happens to that form...
There is no titlebar/border but the window will be resizable/moveable.
There are the following options...
Form.HandleSize , sets the number of pixels from the edge that will be used for resizing.
Form.MouseMovable , makes the form move if the mouse is dragged inside the form container
Default HandleSize is form.Padding-1 (the -1 pixel is inside and used to restore the Form.Mouse state)
(Default Padding is Desktop.Scale)
So for example if you set Form.Padding = 4 and Form.HandleSize = 2 then on the left edge line pixels 1 and 2 will resize and pixels 3 and 4 will move.
Most of the feature happens in the OBS_MouseDown() and OBS_MouseMove() events of the Form.class
You can alternatively import those 2 event methods into your own forms Form_MouseDown() and Form_MouseMove() events and add/set the needed variables.
Happy Christmas
