Forum > Editor

How to make a simple Link ?

<< < (2/3) > >>

Lightning:
Also don't use Application.Handle, that handle is invalid, bug ...

Hansaplast:
Is there a universal way on to how to make a click able link suitable for all platforms?
Using Windows specific units comes with complications for Linux etc?? (or not?)

antonio:

--- Quote from: "Hansaplast" ---Using Windows specific units comes with complications for Linux
--- End quote ---


Not necessarily.

Anyway, you can put IFDEF directive in your code.


--- Code: ---
{$IFDEF WINDOWS}
// Windows specific part
{$ENDIF}

--- End code ---

Hansaplast:
IFDEF is a good approach,... if I would know;

a) which platform identifications I'd use in the IFDEF (win32, linux,... but not sure about Mac OSX and such?)
b) what to call for on the other platforms (which I do not - yet)

:)

antonio:
I edited my post after you posted yours. See it again.

For a complete example, see eg. SynEdit source.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version