When you double click on the button in design view, where does it go to?
On Tue, Apr 15, 2008 at 10:02 AM, Michael Hodge <
clubs%40hodge1934.wanadoo.co.uk">clubs
hodge1934.wanadoo.co.uk> wrote:
> I am using VB6.
>
> The main page had 8 command button on it; say, cmdButton1, cmdButton2,
> etc.
> Everything was - and is - working fine. Most of the command buttons open
> either another Form or a selection of objects on one multi-purpose Form. I
> have improved the program by adding cmdButton9 to do something extra - and
> that, too, is working ... up to a point!
>
> When I program from one page to another, these work:
> frmMain.cmdButton1.exe_Click, frmMain.cmdButton2.exe_Click, etc, up to
> frmMain.cmdButton8.exe_Click. But frmMain.cmdButton9.exe_Click (the new
> command button) is not listed. This seems to be an invariable problem when
> adding a command button to an existing program.
>
> frmMain.cmdButton9.exe is listed, but, by itself, it doesn't do anything!
>
> How, other than starting al over again, can I get an existing program to
> recognise the new command button Click event?
>
> Michael
>
>
>
> ------------------------------------
>
>
> '// =======================================================
> Rules : http://ReliableAnswers.com/List/Rules.asp
> Home : http://groups.yahoo.com/group/vbHelp/
> =======================================================
> Post : vbHelp%40yahoogroups.com">vbHelp
yahoogroups.com
> Join : vbHelp-subscribe%40yahoogroups.com">vbHelp-subscribe
yahoogroups.com
> Leave : vbHelp-unsubscribe%40yahoogroups.com">vbHelp-unsubscribe
yahoogroups.com
> '// =======================================================
> Yahoo! Groups Links
>
>
>
>
--
Don Roberts - don%40roberts.net">don
roberts.net
http://www.myspace.com/donroberts
[Non-text portions of this message have been removed]
.