CAPTAIN SIM FORUM
CS Weather Radar >> CS Weather Radar >> weather radar on top
https://www.captainsim.org/forum/csf.pl?num=1295184160

Message started by Tessel on Jan 16th, 2011 at 1:22pm

Title: Re: weather radar on top
Post by Markoz on Jan 24th, 2011 at 4:30am

Tessel wrote on Jan 23rd, 2011 at 11:36pm:
As you see its behind the main panel of the LD767
And i would like it on top op the main window.

Here are my current settings:
[Window41]
size_mm=525,386
window_size=0,44
position=2
background_color=1,1,1
visible=1
ident=11223
zorder=1
gauge00=WXR!wr_display, 81,32,364,279
gauge01=Captain_Sim.r001.P04!P04_radar, 0,0,525,386

Regards,
Nico

Hi Nico.

I tested it in my "Other" 767. I changed the zorder value to 100. Like this:

[Window11]
size_mm=525,386
window_size=0.44
position=2
background_color=1,1,1
visible=0
ident=11223
zorder=100
gauge00=WXR!wr_display, 81,32,364,279
gauge01=Captain_Sim.r001.P04!P04_radar, 0,0,525,386


The higher the value of the zorder, the more important, and so it gets precedence over the lower values.

From the SDK help file:   zorder - Determines the order of appearance of the panels on the screen. Takes values from 0 (bottom) to 100 (top).

This should make the CS WxR appear ON TOP of the Main 2D Panel. Like it has in mine:


Hope this helps.

Mark

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.