RUN PASCAL APPLICATION FULLSCREEN?

I have made a program that works exactly how I want it to when it is run under Turbo Pascal 7.0 but when I compile it and it creates the application thing and I run this, everything is in the wrong place and it looks wrong. What I would really like to happen is for the application to run full screen so it looks the same as in Turbo Pascal 7.0. I presume I need some kind of code for this. If anyone could help, I would be greatful. BTW: I am running Windows XP if this matters.

Thanks

Stewart
LVL 1
kinobestew123Asked:
Who is Participating?
 
deadlock_Commented:
The only thing I can think of to do this is to switch to graphics mode in and then back to text mode. I know windows usually switches to full screen if you switch to graphics mode and I think it would stay full screen if you then switch back... But its just an idea :)

Hope it helps
//Jens
0
 
dKasipovicCommented:
You can create a shortcut to your .exe file and set it's properties to run in full screen, and then just distribute that shortcut (set it's path to yourprogram.exe not C:\...\yourprogram.exe) with your program. You can also include an icon and have a stylish program :)
Hope I helped a bit...
0
 
kinobestew123Author Commented:
Wow, I was very dubious about this working as I had tried setting the settings in the main program to run full screen and it hadn't worked. So when i tried doing this to the shortcut, i was amazed to find it actually worked. I would really like to see if anyone else knows of any way of doing this using just the main application thing. I will leave this post on for another few days and if anyone knows of a way of doing it then you will get a share of the points.

dKasipovic, you will be getting a share of the points, or maybe all of them if nobody else suggests anything.

Thanks

Stewart
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
kinobestew123Author Commented:
Could you give me the code to do this? I dont really know how to do that. Thanks
0
 
deadlock_Commented:
hm... actually it was a long time I coded pascal, so I can only give you the hint
Sorry

//Jens
0
 
kinobestew123Author Commented:
OK, i've split the points 105:20 now, I'm sure your suggestion would work deadlock, hence the 20 points. I know dKasipovic's solution works which is why i gave him most points.

I am unsure as to why it gave deadlock the accepted answer and dKasipovic the assisted, this should be the other way round. Anyway, thank's a lot.

Stewart
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.