Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

OnCreate and/or FormCreate?

Ok, this is what I want to do:
When my program starts it shows the time and date.
I can do this with button (when I press button it
works ok), but I don't know how to use oncreate/formcreate!
I'm from Finland, so maybe I don't "quite" understand
what I have to do. Please give me some examples!

Thank You!
0
tonitop
Asked:
tonitop
1 Solution
 
chrbCommented:
Hi!

You can use the object inspector to assign a event to the oncreate, if you dubble click at the form you will get a oncreate procedure for the form. Just write your code there and it shuld works :)

Did you understad it or should I take it once more?

Chr
0
 
tonitopAuthor Commented:
I got it. Thanx.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now