[SOLVED] Groups and Custom Controls How do they work?
Posted: Thu Feb 23, 2017 2:09 pm
Hi
I have a "Keypad" fore entering prices, qty etc in an App. It is made up of a group "grpKeyPad" with another grpup "grpNumbers" inside and a few other keys "partPaid", "paidCash". All well and good.
In the Project browse it shows as a group which I can "expand" to see all the constituent controls/buttons.
Redoing this keypad from scratch I now have it showing as a custom control in the browser , can't access the constituent controls but to make things even more weird all the buttons are live whe=ther i'm in browse or run mode so I can't even right click to select any part.
The only way I can edit the group is using the option in the Object Menu. This still doesn't fix the fact that all the buttons are always active --- I've copied the control to a new stack, and I've switched it off and on again.
I looked to see if their was an option to set it as a custom control, I've looked at the lesson here
http://lessons.livecode.com/m/4071/l/22 ... m-controls
It just mentions grouping controls together - and when I do that the controls work as a group that can be expanded in the project browse - Just like they always have.
Version of Livecode Latest 6 series. - works the same on mac or windows.
Regards Lagi
p.s.
I think I had the same problem nearly a year ago - but somehow I solved it - but I've been to bed since then.
I have a "Keypad" fore entering prices, qty etc in an App. It is made up of a group "grpKeyPad" with another grpup "grpNumbers" inside and a few other keys "partPaid", "paidCash". All well and good.
In the Project browse it shows as a group which I can "expand" to see all the constituent controls/buttons.
Redoing this keypad from scratch I now have it showing as a custom control in the browser , can't access the constituent controls but to make things even more weird all the buttons are live whe=ther i'm in browse or run mode so I can't even right click to select any part.
The only way I can edit the group is using the option in the Object Menu. This still doesn't fix the fact that all the buttons are always active --- I've copied the control to a new stack, and I've switched it off and on again.
I looked to see if their was an option to set it as a custom control, I've looked at the lesson here
http://lessons.livecode.com/m/4071/l/22 ... m-controls
It just mentions grouping controls together - and when I do that the controls work as a group that can be expanded in the project browse - Just like they always have.
Version of Livecode Latest 6 series. - works the same on mac or windows.
Regards Lagi
p.s.
I think I had the same problem nearly a year ago - but somehow I solved it - but I've been to bed since then.