CodePudding user response:
Someone you know know prawns cuesCodePudding user response:
To add some data to RichEdit first:RichEdit1 - & gt; SelAttributes - & gt; Color=clRed;
RichEdit1 - & gt; Lines - & gt; Add (" aaabbbcccddd ");
RichEdit1 - & gt; SelAttributes - & gt; Color=clBlue;
RichEdit1 - & gt; Lines - & gt; Add (" aaabbbcccddd ");
RichEdit1 - & gt; SelAttributes - & gt; Color=clGreen;
RichEdit1 - & gt; Lines - & gt; Add (" aaabbbcccddd ");
Will the contents of the RichEdit mapped to the current form:
TControlCanvas * cc=new TControlCanvas;
Cc - & gt; The Control=RichEdit1;
TRect RCT (0, 0, RichEdit1 - & gt; Width, RichEdit1 - & gt; Height);
Canvas - & gt; CopyRect (RCT, cc, RCT);
Delete the cc.
CodePudding user response:
Thank you my experiment under the lookingCodePudding user response:
Ccrun your code I have 2 days, the output to the content of the blank canvas is outCodePudding user response:
demon elder brother code is correct..How do you write the code.. Post and see...
CodePudding user response:
The