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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 imageenvect1.objmemo
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jcodez

4 Posts

Posted - Nov 18 2011 :  05:32:09  Show Profile  Reply
Is there a way to set the backcolor of the objmemo? It appears to be transparent when writing and at times it is difficult to see the text. Thanks

fab

1310 Posts

Posted - Nov 19 2011 :  23:52:31  Show Profile  Reply
You should set ObjBrushStyle[] and ObjMemoCharsBrushStyle[] property.

For example:

  ImageEnVect1.ObjBrushStyle[-1] := bsSolid;
  ImageEnVect1.ObjMemoCharsBrushStyle[-1] := bsSolid;
  ImageEnVect1.ObjBrushColor[-1] := clYellow;
  ImageEnVect1.ObjFontName[-1] := 'Arial';
  ImageEnVect1.ObjFontHeight[-1] := 18;
  ImageEnVect1.ObjText[-1] := 'Hello World!';
  Imageenvect1.ObjKind[-1] := iekMEMO;
  ImageEnVect1.AddNewObject(iekMEMO, Rect(0,0,200,80), clBlack);
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: