Posted by member 221443 on 2005-11-14 10:37:54
Hi I got a project im working on, and im trying to hook two xlabels on each other.
Here is the two labels:
; --- HiraganaChart ---
*Label HiraganaChart
HiraganaChartAddToGroup Hiragana
HiraganaChartX 200
HiraganaChartY 200
HiraganaChartWidth 105
HiraganaChartHeight 345
HiraganaChartImage $img$\hiragana\HiraganaChart_bg.png
; --- Hiragana ---
*Label Ha
HaAddToGroup Hiragana
HaX $HiraganaChartX+5$
HaY $HiraganaChartY+20+5$
HaWidth 15
HaHeight 15
HaImage $img$\hiragana\ha.png
Now the problem starts: How do I hook the Ha (label) onto the HiraganaChart?
I have read the help for xlabel a few times and im going nuts...In the help file this line is used as example:
*(label-name)ModuleHook !LabelLsBoxHook (hooked label-name)
i tried to use this but didnt work:
*HiraganaChartModuleHook !LabelLsBoxHook Ha
It always complains about, that I already created Ha and asks me to remove if there is several of them.
Suggestions, plz.
Here is the two labels:
; --- HiraganaChart ---
*Label HiraganaChart
HiraganaChartAddToGroup Hiragana
HiraganaChartX 200
HiraganaChartY 200
HiraganaChartWidth 105
HiraganaChartHeight 345
HiraganaChartImage $img$\hiragana\HiraganaChart_bg.png
; --- Hiragana ---
*Label Ha
HaAddToGroup Hiragana
HaX $HiraganaChartX+5$
HaY $HiraganaChartY+20+5$
HaWidth 15
HaHeight 15
HaImage $img$\hiragana\ha.png
Now the problem starts: How do I hook the Ha (label) onto the HiraganaChart?
I have read the help for xlabel a few times and im going nuts...In the help file this line is used as example:
*(label-name)ModuleHook !LabelLsBoxHook (hooked label-name)
i tried to use this but didnt work:
*HiraganaChartModuleHook !LabelLsBoxHook Ha
It always complains about, that I already created Ha and asks me to remove if there is several of them.
Suggestions, plz.