Hello,
I saw a few seconds ago r49911 & r49912 added help button and onclick event, and event has
"OpenUrl('http://wiki.lazarus.freepascal.org.......');" this codes. I think much better way this link can be resource string. Maybe in future need change this address, then have to find all source in. Or this wiki pages can be downloadable and can use in local server. regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151002/ca9c683a/attachment.html>
Mailing lists / lazarus / 2015-10
suggestion about added help buttons
5 messages · 3 people · –
- JJuha Manninen 2
- MMattias Gaertner 2
- FFreeMan 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
FreeMan wrote 5 lines
I saw a few seconds ago r49911 & r49912 added help button and onclick event,
and event has "OpenUrl('http://wiki.lazarus.freepascal.org.......');" this
codes. I think much better way this link can be resource string. Maybe in
future need change this address, then have to find all source in. Or this
wiki pages can be downloadable and can use in local server.
Yes I think it is a good idea.
Alexey Torgashin has made many patches for help button handlers. Maybe Alexey can switch to resource string from now on.
Regards
Juha
Show quoted text 10 lines
On Fri, Oct 2, 2015 at 3:32 PM, FreeMan wrote:
> I saw a few seconds ago r49911 & r49912 added help button and onclick event,
> and event has "OpenUrl('http://wiki.lazarus.freepascal.org.......');" this
> codes. I think much better way this link can be resource string. Maybe in
> future need change this address, then have to find all source in. Or this
> wiki pages can be downloadable and can use in local server.
Yes I think it is a good idea.
Alexey Torgashin has made many patches for help button handlers. Maybe
Alexey can switch to resource string from now on.
Do you mean a variable or a resourcestring?
Mattias
Mattias Gaertner wroteDo you mean a variable or a resourcestring?
Oops right, the strings don't need translation to other languages. They should be const strings collected somewhere for easy update. Or what do you think?
Juha
Show quoted text 7 lines
On Fri, Oct 2, 2015 at 5:02 PM, Mattias Gaertner
wrote:
> Do you mean a variable or a resourcestring?
Oops right, the strings don't need translation to other languages.
They should be const strings collected somewhere for easy update.
Or what do you think?
Yes, a variable somewhere in IDEintf.
const
LazarusWikiURL: string = 'http://wiki.lazarus.freepascal.org/';Mattias
