It is currently 21 April 2025, 9:31 Advanced search

Odd behavior - Panel

Questions and answers on how to best use Instant Developer

Odd behavior - Panel

Postby john w » 23 January 2025, 18:20

I have split a frame and added a second panel to the new frame. I check Show Border and uncheck Hide Frame. In the IDE it looks as I want.

However, when I compile the program, the new panel changes its properties to check Show Border and Hide Frame.

Any suggestions as to cause or possible solutions. I dislike the idea of building an new form.


Before Compile - Shows New Panel (right)

Ashampoo_Snap_Thursday, January 23, 2025_12h12m40s.png
Ashampoo_Snap_Thursday, January 23, 2025_12h12m40s.png (50.8 KiB) Viewed 581 times


During Compile - Loses Border
Ashampoo_Snap_Thursday, January 23, 2025_12h14m19s.png
Ashampoo_Snap_Thursday, January 23, 2025_12h14m19s.png (49.37 KiB) Viewed 581 times
Regards

John W
User avatar
john w
 
Posts: 834
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: Odd behavior - Panel

Postby ljwilson » 24 January 2025, 18:47

Does the new panel have the issue if you add something to it first? I could see an empty panel having issues.

If so, then what version of inde, what theme, and are you using fluid or rd3?

...jack
ljwilson
 
Posts: 783
Joined: 26 November 2013, 14:15

Re: Odd behavior - Panel

Postby john w » 24 January 2025, 19:31

I am not using Fluid on this app. I have tried it all ways, with having something on the panel and have an empty panel. The result is the same as soon as it starts to compile the Hide Frame is check and I lose the part I want to keep.

It only does it for a new panel on this form, the existing panel on the form is not impacted. Just odd behavior. There must be a loose bit of code that is turning it on, I just don't know where it is. If I could set the properties in code in a Load event I might gain control back. However, I could not find a way to access those properties.
Regards

John W
User avatar
john w
 
Posts: 834
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: Odd behavior - Panel

Postby ljwilson » 25 January 2025, 16:05

What theme are you using?
ljwilson
 
Posts: 783
Joined: 26 November 2013, 14:15

Re: Odd behavior - Panel

Postby john w » 25 January 2025, 17:24

Zen not the bootstrap version...
Regards

John W
User avatar
john w
 
Posts: 834
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: Odd behavior - Panel

Postby d.pierangeli » 24 March 2025, 10:54

The IDE automatically turns off the 'show frame' flag if the panel has no master query or is a IMDB query with a single row.
User avatar
d.pierangeli
Pro Gamma
Pro Gamma
 
Posts: 8092
Joined: 30 September 2010, 15:35

Re: Odd behavior - Panel

Postby john w » 24 March 2025, 14:06

Thanks for solving the mystery. I would not have guessed that would be the cause.
Regards

John W
User avatar
john w
 
Posts: 834
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA


Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 33 guests