![]() |
#1 |
Junior Member
Join Date: Sep 2016
Posts: 2
|
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 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,505
|
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 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Sep 2016
Posts: 2
|
Sorry!
![]() 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. |
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,505
|
No I'm talking about nsDialogs::SetUserData
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
|
Tags |
bitmap, control, metadata, nsis, onclick |
Thread Tools | Search this Thread |
Display Modes | |
|
|