Wrox Programmer Forums
|
BOOK: Beginning Microsoft Visual Basic 2010
This is the forum to discuss the Wrox book Beginning Visual Basic 2010 by Thearon Willis, Bryan Newsome; ISBN: 9780470502228
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Basic 2010 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 19th, 2010, 11:41 AM
Registered User
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Typo or not a typo?

On Page 41 under the section "How it works" the sentence is: After clicking the button, the program calls the btnAdd_Click event handler and the program execution starts at the top and works its way down, one line at a time, to the bottom...

Is it supposed to be btnAdd.Click or btnAdd_Click ? I should probably continue reading (and I will) but It's killing me to know right now
 
Old May 19th, 2010, 09:28 PM
Authorized User
 
Join Date: May 2010
Posts: 70
Thanks: 4
Thanked 6 Times in 6 Posts
Send a message via Yahoo to GeneBuchite
Default Hope this is a little clearer than mud

It is not a Typo. BtnAdd_Click() Refers to the Subroutiene Called by cllicking the "Add" Button AKA btnAdd.
When you double-Click the "Add" Button in the Desigh View. you will be directed to the Code Window. The Sub btnAdd_Click() Will Be built for you . then you need to add your useful code to it.

if you come from VB6, LIke I did you you might be interested to know that in order to call the code btnAdd_Click() From Another button, the sytax has changed to Me.btnAdd.PerformClick()





Similar Threads
Thread Thread Starter Forum Replies Last Post
Typo? russray BOOK: Professional Android 2 Application Development 1 March 7th, 2010 10:26 AM
Typo arif ahmed BOOK Beginning Linux Programming, 3rd Edition 1 August 25th, 2006 10:26 AM
Chapter 4 typo mixtli BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 3 June 7th, 2003 06:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.