ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Euro € char in TImageEnVect (iekText)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
pcmueller77 Posted - Jan 06 2021 : 06:31:55
Hello. The is not displayed, but @ and äöüß.
Any ideas?

Code:
procedure TForm1.FormCreate(Sender: TObject);
var
  f: TFont;
begin
  hobj := -1;
  f :=  Form1.Font; //TFont.Create;
  try
    iev1.MouseInteractVt := [miPutMemo];
    iev1.Cursor := 1785;
    iev1.ObjKind[hobj] := iekText;
    iev1.ObjBoxHighlight[hobj] := False;
    iev1.ObjTransparency[hobj] := 255;
    iev1.ObjTextAutoSize[hobj] := true;
    iev1.ObjFontName[hobj] := AnsiString('Arial'); // f.Name);
    iev1.ObjFontStyles[hobj] := f.Style;
    iev1.ObjPenColor[hobj] := f.Color;
    iev1.ObjBrushStyle[hobj] := bsClear;
    iev1.ObjMemoCharsBrushStyle[hobj] := bsClear;
    iev1.ObjMemoBorderStyle[hobj] := psClear;
    iev1.ObjText[hobj] := AnsiString('@€€€@äöüߧ$');
    iev1.ObjName[hobj] := AnsiString(intTostr(1));
    iev1.ObjTextAutoSize [hobj]    :=true;
  finally
    f.Free;
  end;
end;

procedure TForm1.iev1NewObject(Sender: TObject; hobj: Integer);
begin
   iev1.StretchTextRect(hobj);
end;


Thanks a lot
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 12 2021 : 17:55:26
Hi

This code works fine when I test it with 9.3.0. The old version you have may predate our Unicode support.

Nigel
Xequte Software
www.imageen.com
pcmueller77 Posted - Jan 12 2021 : 05:10:25
Hi, we are using imageEn 4.1.2 and XE2, so I think ielkText is not available in this old stuff. or?
Thanks & with best regards, Thomas.
xequte Posted - Jan 06 2021 : 23:14:45
Hi

What version of Delphi are you using?

Also, have you considered using TIETextLayer?

https://www.imageen.com/help/TIETextLayer.html


Nigel
Xequte Software
www.imageen.com