Whole section / frame no longer visible

I have been updating a project I started a few years back and after updating the Serial OTG extension, one of the sections will no longer switch its visibility or if it is, its outside of the screen / viewport.

THere are no errors or warnings in the blocks and blocks for switching the visibiliy of the 2 sections have remained the same throughout.

Is there a way to enable debug logging or similar to see what might be causing it?

LMBR_Serial.aia (900.3 KB)
Here is the project. I am sure it will be something simple I have done but I cannot see what.

Thanks for the link.
I am using Vertial aligment sections as virtual screen instead of physical screens which had worked fine but has stopped working. I can switch the visibility of each section but the vertial alignment does not move to the top when upper section is invisible.

Is there any way to get the old functionality back?

image
You have a Horizontal Arrangement above the two Vertical Arrangements. that is not being made invisible.

You could wrap that Horizontal Arrangement with a Vertical Arrangement, and and keep a list of top level Vertical Arrangements to be made invisible before exposing the desired Vertical Arrangement.

People typically do this in a procedure.

P.S. The Textbox now has Text Changed detection, in case you want to trim your extension collection.

Hi,

Thanks for the response. The top horizontal arrangement is the menu bar which i would like to keep visible.

I think i have found the issue. the 2 vertical arrangments that I am switching the visibility of had a height of "fill parent", I have switched them to "automatic" and it is working again. Not sure if there has been a code / functionality change in the last few days that might have caused this.

Thanks for telling us the solution.

We'll keep an eye out in case it happens to any one else.

Hi

There is a bug somewhere. as I have to have the first block visible to start with or the second vertical arrangement is lost and doesnt show.

Still trying to figure out how to reorder the arrangments in the page without rebuilding them

LMBR_Serial_notworking.aia (901.5 KB)
LMBR_Serial_working.aia (901.5 KB)
Here are the 2 versions, the only difference is which vertical arrangement is visible to start with. I have tried changing the order in the designer, no difference.

Any ideas anybody?

Have you tried setting Screen1 Scrollable?

Hi, I have just tried it and it makes no difference if the Main frame is visible first.

Try this (it can't get any more simple)

vaVis.aia (2.3 KB)

you may need to work backwards in your blocks to get to here...

Thanks,
I have tried the example and it works fine. Suggesting to me that there is a bug or a corruption somewhere in my project that is causing the issue.

I may have to start again with a fresh project and see what happens.