Recent

Author Topic: Lazarus program with form  (Read 2187 times)

vaggos22

  • Newbie
  • Posts: 5
Lazarus program with form
« on: February 03, 2016, 12:05:24 pm »
Hey i'd like some help with a program on Lazarus since i'm a begginer and my boss where i practise wants me to create a program but i don't know anything about forms. Anyway the instructions are: Its kinda a lottery program every Thursday and Sunday there is a draw where five random numbers are drawing from 1 to 45 and one from 1 to 20 so i just have to make a program where i'll have a form with a button which when i click on it, it will check if my numbers have win, the numbers that i'm supposed to save somewhere  those 6 numbers (5+1). He also wants some dates on the draws.   :(

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: Lazarus program with form
« Reply #1 on: February 03, 2016, 12:42:17 pm »
You should read some tutorials.  Here's the Getting Started one. Also, you have the Free Pascal Wiki with tons of information, examples and tutorials (as the Form Tutorial, that is a good one to start with), and this Pascal Programming book at Wikibooks.
« Last Edit: February 03, 2016, 12:45:00 pm by Ñuño_Martínez »
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Lazarus program with form
« Reply #2 on: February 04, 2016, 09:52:19 am »
A little example is attached.

Bart

  • Hero Member
  • *****
  • Posts: 5356
    • Bart en Mariska's Webstek
Re: Lazarus program with form
« Reply #3 on: February 04, 2016, 03:45:43 pm »
Sounds like a school assignment.

 

TinyPortal © 2005-2018