You are not logged in.

  • "KieferThomas" started this thread

Posts: 2

Date of registration: Mar 15th 2010

  • Send private message

1

Monday, March 15th 2010, 6:08pm

How To End a Progrrogram

Hi All,

I am new to Jabaco and I am wondering how to properly END a program when a person clicks on the Quit Button of my application. I know this is a simple process. In VB one simply uses the "Quit" command and the program closes the form and terminates the program.

I have searched the forums but I have not found any answers. Can anyone give me a hand... ?(

Thanks in advance KieferThomas

theuserbl

Intermediate

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

2

Monday, March 15th 2010, 6:16pm

The Java-way:

Jabaco Source

1
2
3
Public Sub Command1_Click()
   System.exit(0)
End Sub

  • "KieferThomas" started this thread

Posts: 2

Date of registration: Mar 15th 2010

  • Send private message

3

Monday, March 15th 2010, 6:20pm

System.exit(0)
userbl... :) THANK YOU ;) I have been working on other areas of my program and also trying to figure this out. I should have tried this when I was toying with things. Sometime it is so obvious you can't see it...

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

4

Monday, March 15th 2010, 10:22pm

See also here

Cheers

A1880

Rate this thread
WoltLab Burning Board