Registered Member
|
Hello
is it possible to make dynamic links on the data of a table in a form? Cheers example below |
Moderator
|
Hi
Use the button, and its Hyperlink property. Buttons can also have data field assignments, this allows to bind with database if you need that. You can set button to Flat in order to look like a link. Use RemoteHyperlink = True to allow opening remote sites in a browser. For security this is not the default. Enjoy your experiments! J. |
Registered Member
|
Good evening
Your method works perfectly and I thank you very much! I did not find how to put the text in blue for example. best regards |
Moderator
|
Hi. Use the Foreground color property of the button.
I am glad things work! J |
Registered Member
|
|
Moderator
|
It's a glitch then caused by setting the Flat to true. You can use a workaround. Set the Style Sheet property to:
color:blue Hope it helps. |
Registered Member
|
Thank you very much; it works perfectly.
I put this code for convenience.
I think we have to display the full url with the https:// otherwise it won't work... Regards |
Moderator
|
So I'd like to ask you for reporting the link issue on bugs.kde.org --> https://community.kde.org/Kexi/File_a_bug_or_wish
It should be eventually fixed since using the workaround is annoying in the long run. |
Registered Member
|
Bug submit https://bugs.kde.org/show_bug.cgi?id=457545
regards |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]