You can implement the methods in any order. This example begins with open, a public instance method of Chooser that helps define the interface. To implement open, do the following:
open "Public - Create a window that contains a list box of applications and a push button that you select to open an application." self createWindow. self createForm. self createLabel. self createList. self createButton. self setCursorBusy. self displayWindow.
![]() | If syntax error or a similar phrase is displayed, check for a
misspelled word, a missing word, or missing punctuation. (Ensure you
erase the phrase.)
If a debugger window opens, read the message in its top pane. It should indicate how you can correct the method open. Make any needed corrections in the method; then pop up the menu and select Save again. For more information on the debugger, see Debugging code. |