-
Use an opendialog control.
I write it in a button.
procedure : tobject);
varstrlist: tstringlist;Array of strings.
i: integer;
beginif then
i:= 0;
strlist:= ;
while i < do to the array.
i:= i + 1;
end;end;
-
It's better for beginners to practice on their own, right?
-
If the length of the string A b does not exceed the width of richedit, you can output them in one line as long as you add them separately.
For color, you can select a line and then modify the properties of the selected text.
procedure : tobject);
var{}i,m,k:integer;
a,b:string;
begina:='cxzcxcxcx';
b:='cvbcbvcxbvcb';;;
m:=1;Modify the properties of line 2.
k:=0;for i:=0 to m-1 do
k:=k+length(;The length of the end of line character is 2:=k;
length(;
clred;The color of hope.
end;
-
Line break: a + 13 + b
Color: To give you an idea, richedit can only change the color of the selected string, focusing on the use of sellength, selstart, and selattributes.
-
It is not possible that RTF and Word are not fully compatible, they are two different rich text.
Saving Word as Guess RTF will lose a lot of formatting.
-
:=clred;
It is to turn the selected part of richedit into red, if it is a chat tool, you can write it like this when receiving a message: =length(;
the messages you receive;
length(the message you received);
clred;
-
sendmessage with a return value, look at msdn, about em scroll, the low bit of its return value word is the number of scrolls, as you mentioned, once sendmessage, scroll once, to the bottom it returns scrolling 0 times, the program ** example is as follows:
varn : integer;
n := sendmessage...
if n and $ffff = 0 thenshowmessage( 'In the end' );
or if longrec(n).words[0] = 0 then
showmessage...
The tragedy of the commons means that people overuse public resources, which leads to the depletion of resources. >>>More
Examples of white lies are as follows:
White Lie Example One: >>>More
Go to the Internet to check, if you can't find it, make it up yourself!
For you, being the son of your grandmother's brother's son is a kind of relationship (right?). Actually, you have to push the name down from the top >>>More