In VFP 3.0:
When i enter a form as soon as my grid gets the focus the form is moved up a
little because myform.top changes from -2 to 0. Is there a way to prevent this?
Marco.
In VFP 3.0:
When i enter a form as soon as my grid gets the focus the form is moved up a
little because myform.top changes from -2 to 0. Is there a way to prevent this?
Marco.
Try entering this code in the Init() of the form:
This.AutoCenter = .T.
--
< JVP >
FoxTalk Magazine
http://www.foxgang.net/jvp
1. Requeried DDListBox destroys parent form when it gets focus
VFP6, SP3, Win9x
After setting a filter on the underlying file, and calling the list
box's requery event, all is ok until the next time the list box gets
focus. Then something happens that the parent form's destroy event is
called. (The event logger shows this.) Then the next instruction is
the read events line on the .prg that calls this form. (Seen in
debug.)
The underlying file has less than 200 records & is just a plain free
table. The rowsource type is 6 (fields) and the rowsource is
myfile.cField.
From a form method I do something like:
with this .cboOfMine
.rowsourcetype = 0
select myfile
set filer to cField = cAnother
.rowsourcetype = 6 &&fields
.requery()
endwith
The error message is: THIS cannot be used except in a method.
Please let me know if you have any ideas what I'm doing wrong.
Best wishes,
Charley
2. mm.mysql: ResultSet not updatable despite all efforts
3. Keeping focus on top level form and grid
5. Form shifts when Grid receives focus
6. Trouble accessing sqlplus using perl on NT
7. Getting reports parameter forms to work with web enabled forms
8. Oracle + VB + MTS "disatrous failure"?
9. Getting a value form a form
10. Getting a computer form from an existing paper form
11. Getting rid of the IDENTITY property on a column withou getting rid of the column
12. Urgent: system is getting hanged while getting metadata from oracle using jdbc
13. Getting image into field (SQL 7) and getting it back out