小编Ben*_*ley的帖子

在 delphi 中更改文本颜色(控制台应用程序)

我知道我问的问题似乎与其他问题相似,但似乎并不适用。

我在用 delphi 10.3

我想在控制台应用程序中连续写两个文本但是我希望它们分开颜色

writeln('yes just give me a minute, i need to talk to the manager'); {i want this in the default color}
writeln('Oi Dave we got another thick one shall i just pass him through as self employed'); {i want this to be in red}
writeln('Dont worry u dont have to complete this one') {and this one back to the default color}
Run Code Online (Sandbox Code Playgroud)

delphi delphi-10.3-rio

6
推荐指数
1
解决办法
1503
查看次数

标签 统计

delphi ×1

delphi-10.3-rio ×1