Subject Re: Form2PopupMenu
From Andy Taylor <andy.taylor.1959@outlook.com>
Date Sun, 4 May 2025 16:45:38 +0100
Newsgroups dbase.getting-started

Hi Ed,

Well I have never used the method menu when in the source editor before
because I type it all by hand usually -  however some experimentation I
see that:

New Method
Adds an empty "method" to the form where your cursor is.

Delete method
Does just that.

Verify method: It looks like nothing happens I agree.. but that is
because your code probably already looks ok. Try using it on this...
Function
    Not a command in dBASE
    return
So it might be useful to pick up spelling errors before you run the form...

Thanks for pointing it out.
Andy


On 04/05/2025 14:40, edward wrote:
> Greetings,
>
> Tom, you rang my bell.
>
> I know nothing about using the method-tool.
>
> The Inspector’s Methods page displays the current object’s built-in
> methods, that is, the methods pre-defined for the component. You can
> call these methods in methods you create with the Source editor. Methods
> you create in the Source editor can be inspected on the Methods page.
>
> To delete a method in code, you must be in the Source editor. Then, with
> the cursor in the method you want to delete, choose Method|Delete Method.
>
> I open a wfm form go to function select verify method from the icon at
> the top and nothing happens.
>
> How do I activate the selection?
>
> ed