If this is in Windows Vista, you might see this behavior. If you drag the
form partly out of site then back into the top level form, does the border
corrupt?

-----Original Message-----
From: Iames Pizzoli
Sent: Tuesday, August 04, 2009 5:32 AM

Hi all,

        I hope someone can help me, 'cause this is driving me nuts!

I have this grid, in AfterRowColChange event method the code is:

---
LPARAMETERS nColIndex

SET STEP ON 

LOCAL lcTableItemExpression, lcTableItem

lcTableItemExpression = Thisform.icTableItemExpression

IF VARTYPE( lcTableItemExpression) = "C" AND NOT EMPTY(
lcTableItemExpression )
  lcTableItem = EVALUATE( lcTableItemExpression )
  
  lcTableItem = IIF( ISNULL( m.lcTableItem ), SPACE(0), ALLTRIM( lcTableItem
) )
ENDIF        

Thisform.Caption = lcTableItem      <---

*Thisform.Refresh()

DODEFAULT( nColIndex )
---

I can see in the debugger what lcTableItem becomes, and it correctly matches
the value in the new row I'm, after the move from the previous row. Now, at
the '<---' line I should see the form caption change accordingly, right?
Well, it doesn't!!! It stays the same. I tried, out of despair, a
form.Refresh(), as you can see, but no change. I can't see why it shouldn't
work as it is. Any idea?

TIA

Iames

 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000001ca1507$a263e310$e72ba9...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to