- Messages
- 611
- Country

Hi all,
Not only that I'm pretty new here, I'm sticking with my first attempt tweaking a panel with self-made XML gauges.
I'm not able to solve a quite simple problem (as it seems to me). I just wanted to create an invisible gauge for toggling an other gauge (in *.gau format) that uses the window identifier 4004. It has a build-in toggle switch that only works in a window using the proper identifier. The same task for identifiers like "40", "50", "70" or even "400" worked fine but in this case I cannot use the build-in toggling function of the gauge itself (see above).
That's what I did so far (and more important, it works):
wherein the bitmap is plain black (0,0,0) and the related code in the panel.cfg looks like this:
This works perfectly for such a "usual window" but just replacing the "40" by "4004" does not make the trick and I have no clue why. The gauge is loaded, the cursor changes as wanted but the click causes nothing.
SOLVED, but I don't know why. I'd been a couple of days away and started today tinkering with the gauge and all of sudden it works as it should. I don't know what happened but I'm satisfied, though. Now there is only the following question remaining from my original thread:
BTW, is it possible to create own text strings for the ToolTips?
Any help appreciated.
Cheers,
Axel
Not only that I'm pretty new here, I'm sticking with my first attempt tweaking a panel with self-made XML gauges.
I'm not able to solve a quite simple problem (as it seems to me). I just wanted to create an invisible gauge for toggling an other gauge (in *.gau format) that uses the window identifier 4004. It has a build-in toggle switch that only works in a window using the proper identifier. The same task for identifiers like "40", "50", "70" or even "400" worked fine but in this case I cannot use the build-in toggling function of the gauge itself (see above).
That's what I did so far (and more important, it works):
Code:
<Gauge Name="GNSXLS open/close" Version="1.0">
<Image Name="invisible.bmp" ImageSizes="20,20,0,0"/>
<Mouse>
<Cursor Type="Hand"/>
<Click>40 (>K:PANEL_ID_TOGGLE)</Click>
</Mouse>
</Gauge>
wherein the bitmap is plain black (0,0,0) and the related code in the panel.cfg looks like this:
Code:
[Window06]
Background_color=0,0,0
size_mm=664,215
window_size_ratio=1.000
position=0
visible=0
ident=40
This works perfectly for such a "usual window" but just replacing the "40" by "4004" does not make the trick and I have no clue why. The gauge is loaded, the cursor changes as wanted but the click causes nothing.
SOLVED, but I don't know why. I'd been a couple of days away and started today tinkering with the gauge and all of sudden it works as it should. I don't know what happened but I'm satisfied, though. Now there is only the following question remaining from my original thread:
BTW, is it possible to create own text strings for the ToolTips?
Any help appreciated.
Cheers,
Axel
Last edited:
