Wings 3D Development Forum
Can I get a pop-up info (help) on radio button ? - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6)
+--- Thread: Can I get a pop-up info (help) on radio button ? (/showthread.php?tid=1940)



Can I get a pop-up info (help) on radio button ? - ggaliens - 05-06-2016

Can I get a pop-up info (help) on radio button ?

Any example in current codebase ?

I see them on checkboxes. But they are a tad simpler than radio buttons.


RE: Can I get a pop-up info (help) on radio button ? - micheus - 05-07-2016

Do you means an info for each radio option in a radio group? It was not implemented. Maybe because it's still not implemented for all OS. (link)

You can set one for the entire group. You just need to add the {info,String} to the flags property in their definition.

Code:
{hradio,[
            {?__(29,"Spotlight"),spotlight},
            {?__(30,"IES"),spot_ies}
        ],Type,[key(type), {hook,Hook_Show}, {info, "bla,bla,bla"}]},



RE: Can I get a pop-up info (help) on radio button ? - ggaliens - 05-08-2016

Yeah ... I tried it for one radio item (not the group) and there was not a result.
But ... I thought I would ask ... just in case there a trick to it.