Closed Thread
Results 1 to 8 of 8

Thread: GUI in Pascal

  1. #1
    Davide's Avatar
    Davide is offline Programming God
    Join Date
    Dec 2009
    Location
    Manchester, UK
    Posts
    507
    Blog Entries
    8
    Rep Power
    11

    GUI in Pascal

    I am not a big pascal lover, but i learn it at school and i would like to know:
    -how can i make a user interface in pascal?

    For example, a window, a label, and a text box. I am using the Free Pascal Compiler and the Free Pascal IDE.

    Thank you!
    Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,489
    Blog Entries
    75
    Rep Power
    143

    Re: GUI in Pascal

    The easiest way would be to use Lazarus. It uses the FPC, but is meant for GUI development.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    Davide's Avatar
    Davide is offline Programming God
    Join Date
    Dec 2009
    Location
    Manchester, UK
    Posts
    507
    Blog Entries
    8
    Rep Power
    11

    Re: GUI in Pascal

    Quote Originally Posted by WingedPanther View Post
    The easiest way would be to use Lazarus. It uses the FPC, but is meant for GUI development.
    I tried Lazarus and disliked it for 2 reasons:
    1. Install path must not contain spaces (oh, come ON!)
    2. It's interface is made of up of many separate windows. I own a laptop, therefor i have a resolution of 1280*800. Imagine how hard it is to use it.

    Some native Pascal code would be appreciate it, or a good IDE (no offence Panther, i can't use Lazarus)
    Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics

  5. #4
    Join Date
    Jul 2006
    Posts
    16,489
    Blog Entries
    75
    Rep Power
    143

    Re: GUI in Pascal

    I have a laptop with similar resolution.. no issues.

    That said, I'm not aware of any other alternatives, short of hooking into the Windows API.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #5
    oldhendra's Avatar
    oldhendra is offline Learning Programmer
    Join Date
    Nov 2009
    Location
    jakarta, indonesia
    Posts
    30
    Rep Power
    0

    Re: GUI in Pascal

    Hi,
    I am new to FPC too.

    If your target platform is windows,
    then you might find a few demos in \FPC\2.2.4\demo\win32 directory,
    which show how to create simple window, messagebox, etc.

    It was automatically installed
    when I installed my fpc2.2.4.

    Regards,

  7. #6
    Davide's Avatar
    Davide is offline Programming God
    Join Date
    Dec 2009
    Location
    Manchester, UK
    Posts
    507
    Blog Entries
    8
    Rep Power
    11

    Re: GUI in Pascal

    Quote Originally Posted by oldhendra View Post
    Hi,
    I am new to FPC too.

    If your target platform is windows,
    then you might find a few demos in \FPC\2.2.4\demo\win32 directory,
    which show how to create simple window, messagebox, etc.

    It was automatically installed
    when I installed my fpc2.2.4.

    Regards,
    Well, this is one smart lad.
    Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics

  8. #7
    Lillian is offline Newbie
    Join Date
    Jan 2010
    Posts
    8
    Rep Power
    0

    Re: GUI in Pascal

    hi, I Have a small doubt...What is Pascal code....? I didn't know this one...plz Guide me....

  9. #8
    Davide's Avatar
    Davide is offline Programming God
    Join Date
    Dec 2009
    Location
    Manchester, UK
    Posts
    507
    Blog Entries
    8
    Rep Power
    11

    Re: GUI in Pascal

    Quote Originally Posted by Lillian View Post
    hi, I Have a small doubt...What is Pascal code....? I didn't know this one...plz Guide me....
    Small tip: Ask Google for small questions from now on, no offence, it's just an advice. You get your answer faster too.

    Check out this:
    Let me google that for you
    And this too:
    http://en.wikipedia.org/wiki/Pascal_...mming_language)
    Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Pascal
    By Hunter100 in forum Pascal and Delphi
    Replies: 13
    Last Post: 02-16-2010, 01:21 PM
  2. From C to Pascal
    By Magmas in forum Pascal and Delphi
    Replies: 1
    Last Post: 08-25-2009, 01:33 PM
  3. Help! Pascal
    By jen91 in forum Pascal and Delphi
    Replies: 1
    Last Post: 02-05-2009, 04:56 PM
  4. Dev Pascal Help
    By Pyreforge in forum Pascal and Delphi
    Replies: 3
    Last Post: 11-16-2008, 07:27 AM
  5. Dev pascal help
    By ragingfear in forum General Programming
    Replies: 3
    Last Post: 11-21-2007, 01:23 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts