Re: [MSEide-MSEgui-talk] Classes & inheritance

2022-06-15 Thread Fred van Stappen
Hello Sieghard.

Yes Roland did a GREAT job and is still active for MSEgui.
He recently has sent posts in MSEide-gui Russian forum:
http://www.freepascal.ru/forum/viewforum.php?f=11=c0325c051c47ab649cfad56a0cb73ab9

And the documentation should be up-to-date (we did not add new feature, appart 
the "dynpo" way and custom shapes-form).

Fre;D
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Classes & inheritance

2022-06-15 Thread Sieghard via mseide-msegui-talk
Hallo Fred van Stappen,

vous ecritau Tue, 14 Jun 2022 14:18:16 +:

> Note too the excellent work done by Roland:
> 
> https://www.msegui.net/doc/fpdoc/
> 
> 
> https://www.msegui.net/doc/pasdoc/
> 

I wanted to inspect this work, but I got a problem: "404 Not found"
WHAT?

Well, in fact, it wasn't that bad - this was just an artifact of your
inclusion of the file "index.htm" in the link...
Really, the "index" page is implied with http, but IF it is given, it
is taken literally, and unfortunately, the index files on these sites
are named "index.html" - note the terminating "l".

But even a quick inspection showed Roland did a huge amount of work
to provide these pages, and they're really very complete, also
providing the inheritance relations and even all the variables and
other ancilliary items of all of the units. And he even created a nice
and consistent layout for either description set. (But not the same for
both, which might have made it easier to use.)
Thank you for the links, they are very informative.

(Now, if this all only was available as a PDF document... I vastly
prefer descriptions I can download and use OFF line to having to make
my machine always accessible to external aggressors.)

But there's the question how recent they are - have they been updated,
kept in line with current development? Is Roland still active with
msegui? It seems to me that there's not much traffic or conversation
about msegui any more, can that be? Hardly any more users around?

-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---



___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Transparent background of form.

2022-06-15 Thread Fred van Stappen
Hello Sieghard.

> The "getchildren" functions of those component classes needed for your
purpose.

OK, thanks, I will explore with this.

> (BTW, there are some revised items on my web site for you.)

Super, I will jump into it (and "getchildren") the end of this week-end.

Write you later.

Fre;D
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Transparent background of form.

2022-06-15 Thread Sieghard via mseide-msegui-talk
Hallo Fred van Stappen,

vous ecrit au Wed, 15 Jun 2022 13:05:59 +:

> MSEgui has different "custom shapes of form".

Nice.

> Now I want to have a form-shape that only shows the components in the
> form and set the background as transparent.
> 
> To do this, I need to get a list of all the components present on the
> form with their position and size (x, y, cx, cy). With that info,

Isn't that about the same quest as what's needed for scanning a form
for text items? You need a list of components on the form, i.e. those
components that have the form as their owner. That''s about the same
requirement that the "formscanner" utility had to sole, and it soles it
by using the built-in mechanism proided by the "getchildren" function
of a number of components of msegui. (Unfortunately, it's not a member
of the top "tcomponent" class, but there are a few independent class
hierarchies inoled anyway, so that wouldn't help either.)
A quick search finds definitions for such functions at:
- kernel/msegui.pas;
- kernel/msedatamodules.pas:
- kernel/windows/mseguiintf.pas:
- widgets/mseforms.pas:

> I can easy create a custom form with the X11 methods XDrawRectangle()
> and XFillRectangle(). For Windows and gdi it is nearly the same trick.
> 
> How could I get this list of position-size of each component (only
> the child-components of the form, not components inside
> child-components) ?

The "getchildren" functions of those component classes needed for your
purpose had to be made available for such a component scanner, e.g. by
the fpc mechanism of a "class helper function", and bound together into
a new class to provide access to the required data.

> The goal is to create a new myform.optionswindow:
> "wo_transparentbackground" (or wo_transpback).

Maybe this could be a way to go?

(BTW, there are some revised items on my web site for you.)

-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---



___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Transparent background of form.

2022-06-15 Thread Fred van Stappen
[Edited previous post]

Hello.

MSEgui has different "custom shapes of form".

For example myform.optionswindow := [wo_ellipse] will give a form with ellipse 
shape,  myform.optionswindow := [wo_roundrect] will give a form with rounded 
rectangle shape.

Now I want to have a form-shape that only shows the components in the form and 
set the background as transparent.

To do this, I need to get a list of all the components present on the form with 
their position and size (x, y, cx, cy).
With that info, I can easy create a custom form with the X11 methods 
XDrawRectangle() and XFillRectangle().
For Windows and gdi it is nearly the same trick.

How could I get this list of position-size of each component (only the 
child-components of the form, not components inside child-components) ?

The goal is to create a new myform.optionswindow: "wo_transparentbackground" 
(or wo_transpback).

Thanks.

Fre;D
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Transparent background of form.

2022-06-15 Thread Fred van Stappen
Hello.

MSEgui have different "custom shapes of form".

For example myform.optionswindow := [wo_ellipse] will give a form with ellipse 
shape,  myform.optionswindow := [wo_roundrect] will give a form with rounded 
rectangle shape.

Now I want to have a form-shape that only shows the components in the form and 
set the background as transparent.

To do this, I need to get a list of all the components present on the form with 
their position and size (x, y, cx, cy).
With that info, I can easy create a custom form with the X11 methods 
XDrawRectangle() and XFillRectangle().
For Windows and gdi it is nearly the same trick.

How could I get this list of position-size of each component ?

The goal is to create a new myform.optionswindow: "wo_transparentbackground" 
(or wo_transpback).

Thanks.

Fre;D
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk