[Gambas-user] Close a form
Stefano Palmeri
rospolosco at ...152...
Sun Jan 27 16:14:14 CET 2008
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
More information about the User
mailing list