Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: development mode

$
0
0
Re: development mode
FoxInCloud
Re: development mode
02/20/2012
04:30:38 AM
3FR09O1W1 Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None

To which method does this code belong?
What is the value of m.lcVFPHandlerAddr?

Thank you,

It happens just after the code, like this:

First the code here fires:

IF NOT thisform.wlHTMLgen lnLen = ALEN(aflag_name, 1) FOR EACH oItem IN this.Objects IF UPPER(LEFT(oItem.name, 7)) = "LBLFLAG" AND UPPER(oitem.baseclass) = "LABEL" lnVal = VAL(STRTRAN(UPPER(oItem.name),'LBLFLAG', '')) IF lnVal <= lnLen oItem.caption = aflag_name[lnVal, 1] ELSE oItem.caption = "(not in use)" ENDIF ENDIF ENDFOR thisform.Refresh() ENDIF Then execution continues and this line makes the form visible in the IDE the code is in the activate of one page on the pageframe. I suspended and did not find that variable. < <>> lResult = this.oAppHost.UserAction(m.this, m.toForm, m.lcVFPHandlerAddr, m.llPropAssign, @m.l

If I have a form with a pageframe, and I have code in the activate of one of the pages, when runnng in the IDE the form opens as if it were in development mode, even though it is in production mode. The form does not appear in the IDE though until that activate code fires the first time.

There may be a setFocus() somewhere in your .Activate() code.

FoxInCloud normally has a protection against such occurrence, but may have a flaw somewhere around there.

Could you set a breakpoint in your .Activate() code and identify which instruction triggers form to become visible?

Thank you


Viewing all articles
Browse latest Browse all 10393

Trending Articles