[Gambas-user] Web application - Reorder object into a WebContainer

Benoît Minisini benoit.minisini at gambas-basic.org
Sat Feb 3 23:12:34 CET 2024


Le 03/02/2024 à 23:02, Linus via User a écrit :
> Hello,
> 
> I'm developing a new aWeb application in Gambas (gb.web.gui component 
> used) as a simple WebForm.
> 
> Inside there is a WebContainer that I fill with few Objects like another 
> WebForm including a WebPicture + few WebButtons.
> 
> During the insertion of the Objects into the WebContainer, they are 
> ordered in the order they are created.
> The objects (WebForm with the image) are displayed like Rows order or 
> Column order.
> 
> Now I'm trying to re-organize the order of the Objects into the 
> WebContainer in a way to change the place of each WebForm into the 
> WebContainer and I'm not able to figure that.
> 
> Does someone as an idea to point me please ?

You must use the Raise() and Lower() methods. The order of the children 
of a container is the stack order.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list