johnk51 Posted March 11, 2007 Report Posted March 11, 2007 I'm trying to have my FsMeteo display open when I press a key. Here's what it looks like in one of my panels: [window14] file=d:\fsmeteo\767fsmwd.bmp size_mm=395,448 windowsize_ratio=1 position=0 visible=0 ident=125 gauge00=767fsmwd, 0, 0,390 I tried using the panel ID toggle or even open, but it didn't work. I put in the parameter 125 since that is the id of my fsmeteo display window. Is there away to do it? I have a toggle button in my 2d panels, but need a key combo to have it open in vc mode, since most of my panels use up 1-9.
Pete Dowson Posted March 12, 2007 Report Posted March 12, 2007 I'm trying to have my FsMeteo display open when I press a key. Here's what it looks like in one of my panels:[window14] file=d:\fsmeteo\767fsmwd.bmp size_mm=395,448 windowsize_ratio=1 position=0 visible=0 ident=125 gauge00=767fsmwd, 0, 0,390 I tried using the panel ID toggle or even open, but it didn't work. Hmmm. They are listed in CONTROLS.DLL but I've never tried them. Maybe they aren't actually hooked up in FS. If they don't work then I'm afraid the directly switchable panels available to you may be limited to the 1-9 supported by the PANEL_1 to PANEL_9 controls (normally Shift+1 to 9). I'll try the PANEL_ID controls here, see what happens. Possibly the "ID" in these is not the "ident" but the Window number (14 in your case). After all the 1 - 9 for the other controls do refer to the [Window ...] number, not the ID, don't they? Regards Pete
Pete Dowson Posted March 12, 2007 Report Posted March 12, 2007 I tried using the panel ID toggle or even open, but it didn't work. I put in the parameter 125 since that is the id of my fsmeteo display window. Is there away to do it? OkayI've tested all three controls "PANEL ID OPEN", "PANEL ID CLOSE" and "PANEL ID TOGGLE" in FS2004. The parameter these take IS the ident value from the Panel.CFG file, and all three work well here. I don't know what you are doing wrong, but please first go to the Keys or Buttons assignments and check that you have indeed programmed them correctly. Then switch on the Button and Event logging in FSUIPC's logging page, and see the results of using your buttons or keys in the Log. Regards Pete
johnk51 Posted March 13, 2007 Author Report Posted March 13, 2007 It works and yes it's the ident number. I don't know why it wasn't working earlier, but they are now. Thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now