Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Please help in TPW 1.5

gzcomeongzcomeon Posts: 3Member
Hi There

I'm using Turbo Pascal for Windows 1.5, and using WinCrt in my program.
1. How can I use color text or color background? I try to use
Textcolor(1); Textbackground(4);, but it doesn't work.

2. How can I make my window maximum in program?

Thank you!!


Comments

  • markblue777markblue777 Posts: 184Member
    : Hi There
    :
    : I'm using Turbo Pascal for Windows 1.5, and using WinCrt in my program.
    : 1. How can I use color text or color background? I try to use
    : Textcolor(1); Textbackground(4);, but it doesn't work.
    :
    : 2. How can I make my window maximum in program?
    :
    : Thank you!!
    :
    :
    Hi for text colour and text background use this
    TEXTCOLOR(then the colour you want)
    TEXTBACKGROUNDCOLOR( then the colour y want here
    but i dont no how to do the window maximize button.

    from
    mark
  • Xaser-3Xaser-3 Posts: 9Member
    : Hi There
    :
    : I'm using Turbo Pascal for Windows 1.5, and using WinCrt in my program.
    : 1. How can I use color text or color background? I try to use
    : Textcolor(1); Textbackground(4);, but it doesn't work.
    :
    : 2. How can I make my window maximum in program?
    :
    : Thank you!!
    :
    :
    :

    For Maximum window Press Alt+Enter on your keyboard. And for textcolour use this: textcolour(color); { colour is the colour you choose} textbackground(color);

    From Xaser-3



Sign In or Register to comment.