Hello.

There is a new shape in optionswindow: wo_transparentbackground.
Setting this option allows to only see the child-components of the form, the 
background will be transparent.
It works for Linux and Windows.

You will need to recompile MSEide (or ideU) with the last commits of MSEgui to 
see that new option in the project inspector.

To enable it, just add in form.oncreate this:

procedure tmainfo.oncreate(const sender: TObject);
begin
 optionswindow := 
[wo_groupleader,wo_taskbar,wo_alwaysontop,wo_transparentbackground];
 SetChildBounds(sender); // this will create a list of child-bounds needed for 
creation of the shape of form.
end;

There is a demo in MSEuniverse:

procedure tmainfo.oncreate(const sender: TObject);
begin
 optionswindow := 
[wo_groupleader,wo_taskbar,wo_alwaysontop,wo_transparentbackground];
 SetChildBounds(sender);
end;

There is a demo in MSEuniverse:
https://github.com/mse-org/mseuniverse/tree/main/samples/forms/transparentbackground

Here the form on the project:
https://user-images.githubusercontent.com/3421249/174318656-40ca162b-a7cc-441c-a855-53d1a561cdc8.png

And here compiled with transparent background:
https://user-images.githubusercontent.com/3421249/174318734-02228e01-df0b-43e8-b410-90f98390892f.png

Fre;D
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to