Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Pascal
Expertise: Beginner
Mar 28, 1997

Help for a Delphi 2 Beginner

Question:
I'm trying to teach myself Delphi 2 and have no programming experience. I'm stuck on a simple problem. How do you bring up the About box from the About menu item? When I click on About in the menu, nothing happens.

Answer:
You have to build the About box form. You see, creating an About menu item doesn't really do anything. It just adds that TMenuItem instance to the TMenu.

I could answer this question and show you all the code that you need to accomplish your task. But I won't (don't get all flustered on me — there's a good reason for this).

When I'm asked a question like this, it means the person asking is not well-versed in the fundamentals of the language. Having the fundamentals down will help you immensely, and the best way to learn them, save attending a $2,000 seminar, is to purchase a book. The one I recommend for novice programmers is the "Delphi 2 Programming Explorer" by Jeff Duntemann et al. This is a book that not only shows the novice programmer how to do many of the neat things in Delphi, but it also deals with programming concepts, philosophies and fundamentals.

Another book that you should consider is "Delphi for Dummies" by Neil Rubenking. Though not as philosophical as "Explorer," it really deals with novice programming techniques.

Why am I telling you to go this route? Primarily because you'll learn the environment so much better than if I just told you the answers. The analogy I picture is someone who's out in the desert in need of food and water and comes upon a man feasting under the shade of tent flap. Instead of giving him food, the man gives him a bag of diamonds. Quite valuable yes, but with respect to providing sustenance, they're worthless. I guess what I'm trying to say is that I could give you the answers, but I'd be throwing concepts at you that will essentially bowl you over, or you'd spend more time looking up all the ancillary information I'd be giving you than solving your problem.

So I hope you're not put off by this...

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date