Skip to content
⌘ NSIS Forum Archive

Metadata for form fields?

4 posts

pmilkman#

Metadata for form fields?

I'm trying to make a re-usable onclick function for help icons that I can use for all of them. The problem I'm running into is that I can't seem to find a place to store the text for the help icon MessageBox that pops up.

Bitmap doesn't have a 'text' property. Others do like Button, but I don't want the help text displaying on the button, just queryable in the onclick, and I need to have this styled like in my bitmap.

Any thoughts?

Thanks in advance.
Anders#
You really should provide some more information when you post questions! Is this a custom page? Plug-ins used?

Anyway, if this is a nsDialogs custom page then nsDialogs has set/get functions to add some data to each control...
pmilkman#
Sorry! 🙂 Thanks for the reply.

I'm still kind of new to NSIS (if it isn't obvious).

This is a custom page using nsdialogs.

Are you referring to NSD_SetText and NSD_GetText? Can these be applied to bitmaps? I haven't tried that. (In meetings for a while and can't test right away) That would definitely solve my problem. Or some other way to attach key/value information that can be queried in an onclick event handler.