Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5095934
By: raelb
Hi,
I'm mainly using tntcontrols in a unicode enabled application. However, I am
also using a few std vcl controls, which I'd like to display unicode using utf8vcl.
However, I immediately get an error when trying to use tntcontrols and utf8vcl
together (just drop a TTntButton on the utf8vcl demo application.)
from TntControls.pas:
procedure SubClassUnicodeControl(Control: TWinControl; Params_Caption: PAnsiChar;
IDEWindow: Boolean = False);
var
WinControlTrap: TWinControlTrap;
begin
if not IsWindowUnicode(Control.Handle) then
raise ETntInternalError.Create('Internal Error: SubClassUnicodeControl.Control
is not Unicode.');
I was also advised:"The authors of this code should make sure to not try to
subclass controls that are already unicode classes."
Is it possible to adjust utf8vcl to work with tntcontrols? This would really
be great.
For a unicode application it makes sense to me, to mainly use tntcontrols (edit
controls, design time support for unicode...), and then use utf8vcl to cover
the remaining components.
TntControls is available for download at
: http://www.yunqa.de/delphi/doku.php/products/tntunicodecontrols/index?first=5&
DokuWiki=1
Rael
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=671785
|