You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Zaflis is it possible to build a "CRT" like experience using nxpascal? * I am working on a project that requires me to mimic most if not all CRT calls in a layer on the screen. While layering png objects above -- I love the demos, but, before I jump in head first, I wanted to know if the component can achieve simple concepts like:
ClrScr;
TextColor(Yellow);
TextBackground(Blue);
GotoXy(2,15);
Write('Hello World');
Ability to Scroll, etc. ... the project I am working on is to replace a proprietary WinCRT Terminal that used graphics to draw maps, and scenes on the screen - while keeping the Terminal Text rendering like an old DOS window.
Thanks!
Ozz
The text was updated successfully, but these errors were encountered:
There isn't a ready "rich edit" kind object that would deal with all that, but yes you can if you do it manually. The demos should explain how to write text and how to change color, and that's all it needs.
Alternatively there is a UI class which comes with a TMemo type of component. By default it can only draw text in 1 same color but with some custom changes somehow it might be able to be altered. The UI is hugely customizable though, you can use semi-transparent windows you can drag around on screen etc.
edit: Oops, no TMemo implemented. TList is best it can do right now.
@Zaflis is it possible to build a "CRT" like experience using nxpascal? * I am working on a project that requires me to mimic most if not all CRT calls in a layer on the screen. While layering png objects above -- I love the demos, but, before I jump in head first, I wanted to know if the component can achieve simple concepts like:
ClrScr;
TextColor(Yellow);
TextBackground(Blue);
GotoXy(2,15);
Write('Hello World');
Ability to Scroll, etc. ... the project I am working on is to replace a proprietary WinCRT Terminal that used graphics to draw maps, and scenes on the screen - while keeping the Terminal Text rendering like an old DOS window.
Thanks!
Ozz
The text was updated successfully, but these errors were encountered: