| Subject |
Re: Menus Again |
| From |
Akshat Kapoor <akshat.kapoor@kapoorsons.in> |
| Date |
Thu, 6 Aug 2020 08:39:39 +0530 |
| Newsgroups |
dbase.getting-started |
Good Morning Tony,
I do not know the contents of your form but have you ever tried using
do MbcDisplay.wfm with true
To implement Andy's suggestion
Change
> this.PUSHRAWSADJ = new PUSHBUTTON(this)
> with (this.PUSHRAWSADJ)
onClick = class::PUSHRAWSADJ_ONCLICK
to
onClick = {;msgbox(set("directory")); do MbcDisplay.wfm}
>
> function PUSHRAWSADJ_onClick() // = {;msgbox(set("directory")); do MbcDisplay.wfm}
> do allproadjust.wfm
> form.close()
> return
Andy's Code is commented out here and will never be executed.
If you think that a code is not being executed then insert some msgbox()
like the following.
function PUSHRAWSADJ_onClick()
msgbox(set("directory"))
do MbcDisplay.wfm
msgbox("Returned after execution")
form.close()
return
You can change the message in the message box as per your need.
This will tell if the onclick event is being executed or not.
And if after the two msgbox() even the form is not executing then insert
another box in that form
msgbox("entered form ABCD")
** END HEADER -- do not remove this line
//
// Generated on 06/08/2020
//
This will help you in getting a fix on upto which line the code is
executing.
Lets say that we get the msgbox displaying the directory and returned
after execution then we have to look at the form mentioned in between
these 2 msgbox()
If no msgbox() is displayed then the onclick() event is not firing for
some reason.
If we see msgbox() entered form ABCD then the code has reached that form
but the form is not displaying anything then the menu form is okay we
have to look at this form.
Since the msgbox is placed above the END HEADER line it will not be
disturbed by the designer but will execute first.
And if there is still a problem then I am ready to assisst you using
teamviewer/anydesk but we will be needing some way to talk to each other
also.
Just confirm in your reply and I will contact you on your email. The
email mentioned here is no longer active.
Regards
Akshat
|
|