[Gambas-user] Close a form
Jeffrey Cobb
maillists.gurulounge at ...626...
Sun Jan 27 17:22:27 CET 2008
Actually, it fixed itself... I don't even know what I did. I just
started writing despite it and it started to close as I added more code.
Go figure.
Thanks much,
Jeff
On Sun, 2008-01-27 at 16:14 +0100, Stefano Palmeri wrote:
> Alle 02:06, domenica 27 gennaio 2008, Jeffrey Cobb ha scritto:
> > Hello... Been a couple years since I used gambas. Thought I'd give it
> > a try again.
> >
> > I'm trying to close a form. Normally in everything else I do in gambas
> > there's no problem. This time however I have a Main MODULE as a starup
> > class rather than a form. And I open my from FROM the module.
> >
> > I've a hidden menu within my form that acts as a context menu and a
> > "close" menuitem. These work fine but when I click the "Close" option
> > my sub to close the form doesn't work. I've looked in the documentation
> > and the mailing list archives but haven't seen anything relevant. My
> > "close" sub below:
> >
> > PUBLIC SUB pnlClose_Click()
> > PRINT ME.Name; " close"
> > ME.Close()
> > END
> >
> > Terribly complex here. I know the sub is being called per my "debug"
> > statement. Any idea what I'm doing wrong?
> >
> > TIA -- Jeff
> >
> >
>
> Could you send a little project that reproduce the problem?
>
> Stefano
>
>
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list