Zindex

Hi, I am a returning XOJO programmer.

I tried some few sample made in XOJO 2024 release 4.2.

I would like to know if ZINDEX is already back? if now, what is alternative to make web container be in front?

In general you shouldn’t need to be messing around with properties like z-index.

What problem are you having that you are trying to solve in this manner?

in Xojo 2019, I managed to switch my web app UI by using web container. I use multiple web container to switch to different screen and use ZINDEX to make a particular web container to be on top.

Even in that scenario, you really don’t need to adjust the z-index because toggling visibility would have done the job.

New in Web 2.0 is WebPagePanel for panel-based view switching. Again, not messing with z-index.

"toggling visibility would have done the job.” - quite interesting. I never done that before. I just use z-index.

Also WebPagePanel looks very interesting to learn. Let me check some samples.

BTW, thanks TIM!

Hello 'dre, kamusta?

I agree with Tim. Container visibility is easy to implement. WebPagePanel is a good alternative, too. Personally, I used @Attilio_Punzi’s adaptation of JS Panel. It’s not perfect (yet) but it’s really, really, good. You can create web apps that look and behave like desktop apps with its multiple child-windows/forms that can be resized, maximized, minimized, dragged/dropped, and more.

Now I only make 2 webpages in every web app I develop: 1 for signing and the other for the home page. That’s it. The rest are just containers housed in a JS panel form.

Just my 2 cents.

2 Likes

uy kamusta!

I came from version xojo 2019 and now jumping into 2024. I almost lost for the advances of the new features of this latest version.

Thanks for the advise btw.

1 Like