Announcement

Collapse
No announcement yet.

Metadata for form fields?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    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...
    IntOp $PostCount $PostCount + 1

    Comment


    • #3
      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.

      Comment


      • #4
        No I'm talking about nsDialogs::SetUserData
        IntOp $PostCount $PostCount + 1

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎