Can you lock your 2d panel?

PJMack

Charter Member
Can you keep the 2d panel from moving? I asked this a couple of years ago but I did not get a favorable answer...I am hoping for a breakthrough. Thank you in advance.:jump:
 
PJ,

I don't quite understand your question. Can you explain what you mean by a moving 2d panel?


Thanks for responding Jag. When I am in my 2d panel, I have certain guages that I can move with the mouse. If, however I mistakenly miss the target area of the guage, the entire panel moves instaed. Is that clear enough? If not I can post pix.

Thanks again.:wavey:
 
You aren't talking about docking and undocking the window are you? Are you talking about dragging the panel.bmp around? So that it becomes displace from one side to the other or top to bottom without affecting the aspect ratio of the entire view.

I know you can go to the top/bottom right/left side and and resize the entire window.

I think I have experienced what you might be talking about but can't seem to reproduce it.

There might be a setting for it in the cfs2.cfg file.
 
Mr,

Thanks for responding. Yes, I suppose that it is the undocking of the 2d background. I'll check to see if it's in there. Otherwise, would there be an entry in panel.cfg?:jump:
 
Hi PJ
Open the panel.cfg
in notepad wordpad or some other text editor, (not a word processor like MS Word)
look down through the file to find the section that describes your main panel or the panel that is giving you grief, here is an example from my jetranger, this is the radio panel where I set radio frequencies.

[Window01]
Background_color=2,2,2
size_mm=156,265
position=8
visible=0
ident=RADIO_STACK_PANEL
window_size= 0.244, 0.494

(this section is followed by a list of gauges) to prevent this panel from being resized if I inadvertantly grab it when mousing a gauge I can insert the following

sizeable=0

like this

[Window01]
Background_color=2,2,2
size_mm=156,265
position=8
visible=0
ident=RADIO_STACK_PANEL
window_size= 0.244, 0.494
sizeable=0 <<<<<<<<<<

That should do it

For more than you ever wanted to know about panels and gauges check out the panel SDK
 
Hi PJ
Open the panel.cfg
in notepad wordpad or some other text editor, (not a word processor like MS Word)
look down through the file to find the section that describes your main panel or the panel that is giving you grief, here is an example from my jetranger, this is the radio panel where I set radio frequencies.

[Window01]
Background_color=2,2,2
size_mm=156,265
position=8
visible=0
ident=RADIO_STACK_PANEL
window_size= 0.244, 0.494

(this section is followed by a list of gauges) to prevent this panel from being resized if I inadvertantly grab it when mousing a gauge I can insert the following

sizeable=0

like this

[Window01]
Background_color=2,2,2
size_mm=156,265
position=8
visible=0
ident=RADIO_STACK_PANEL
window_size= 0.244, 0.494
sizeable=0 <<<<<<<<<<

That should do it

For more than you ever wanted to know about panels and gauges check out the panel SDK


Thanks Simonu,

I've got some reading ahead.:wavey:
 
Back
Top