![]() |
About Link Field (don't want entire text show up as link)
Hi there,
Link field is great. But how do I use a single link field to achieve a simple task like this: Click here to go to my homepage. If I use a single link field and specifying the entire sentence as "text", the whole sentence turns into link. But I only want "here" to be a link. Do I have to make 3 fields for this: a "Click" text field, a "here" link field, and another text field for the rest of the text? But as the sentence gets longer, text wrapping becomes challenging. I'm sure this is a common scenario. How do you guys do this? Thanks, lyz |
Hello.
Here is one option. I assume you are getting your link on the Finish Page with this: code: That being said, the ioSpecial.ini is being populated with this: code: So...you could simply add a MUI_PAGE_CUSTOMFUNCTION_PRE function define right before your Finish page macro, like this: code: And then add the function itself like this: code: Hope this helps! |
Thanks Jnuw for your great reply. I thought about that too. I really hoped NSIS can let us to define which region of the text to show as link for a link field. I should probably add an RFE for this. :)
Thanks again, lyz |
it should be possible(but alot of work) to to get this working as a single control using the syslink class ( http://msdn.microsoft.com/library/de...slinkovrvw.asp ) but it only works on 2000 and later (xp and 2000 are not even the same, so you would need two different implementations) using either alot of system calls or a custom plugin
|
| All times are GMT. The time now is 05:49. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.