How does someone retrieve the panel's skill_x/skill_y inside one of its button functions?
Say I have panel A with skill_x = 21. Panel A has button B which has a click function. Now I want that when I click button B, I can access panel's A skill_x inside that function.
So I need something like the 'you' pointer, but than for panels.
Your right tnx, I overlooked these lines in the manual under 'button' (incase someone else wants to know it):
Quote:
Several buttons may share the same function. The number of the button is passed as the first parameter to the function (1 = first button), the panel pointer is passed as the second parameter.