General information
Category:
Forms & Form designer
Title:
White box with many Xs in it
I use the grid's "BeforeRowChange" to manipulate the database the grid is using. It works just fine, but when I enter data in the 2nd column and tab to the 3rd column, this strange white box appears near the upper right-hand corner of the form about an inch long with a few blank spaces to the left of the box and then filled with "XXXXXXX" to the right end of the box. There are no lines, like a text box, just space enough to display the "XXX's". I'm using VFP 6.0 and everything has been working great until this. If I continue and close the form and open it again, it is gone until I enter the 2nd column and enter a number. Interesting, if I go the 3rd column and enter text and then go the 2nd column and enter text, the white box does not appear. Only when I enter the grid for the first time and go from column1 to column2, enter text and go to column3. I think it must be a bug. Has anybody seen this problem? Is there a fix?
Code used in BeforeRowChange:
IF this.activecolumn = 2
If this.value > 0
replace epicbg.bcp with 100 * (this.value / m.icn)
this.column3.text1.refresh
Endif
ENDIF
Colombo.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only