List Info

Thread: Re: Problem with extra Command Button




Re: Problem with extra Command Button
country flaguser name
Canada
2008-04-15 17:52:05

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">clubshodge1934.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!
&gt;
> When I program from one page to another, these work:
&gt; 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!
>
&gt; How, other than starting al over again, can I get an existing program to
> recognise the new command button Click event?
&gt;
> Michael
>
>
>
&gt; ------------------------------------
&gt;
>
> '// =======================================================
&gt; Rules : http://ReliableAnswers.com/List/Rules.asp
> Home : http://groups.yahoo.com/group/vbHelp/
> =======================================================
&gt; Post : vbHelp%40yahoogroups.com">vbHelpyahoogroups.com
&gt; Join : vbHelp-subscribe%40yahoogroups.com">vbHelp-subscribeyahoogroups.com
> Leave : vbHelp-unsubscribe%40yahoogroups.com">vbHelp-unsubscribeyahoogroups.com
> '// =======================================================
&gt; Yahoo! Groups Links
&gt;
>
>
>;

--
Don Roberts - don%40roberts.net">donroberts.net
http://www.myspace.com/donroberts

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )