Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Display Issues

Status
Not open for further replies.

megmogg

Programmer
Jul 14, 2005
76
GB

Hi all

I have been experiencing display issues, mostly around pageframes.

When openning a form, I sometimes get fields or combos within pageframes missing or repeated twice. Doing a refresh on a form somethimes solves it.

Dont know why it started and have not seen it before.

Searched threads and the web, but nothing.

Tried this on 3 different development machines (XP and Windows 2000) and in the runtime environment (windows 2003 server).

Anyone else had these issues before?

I am running VFP8 and also tried in on VFP9 with the same error.

Thanks

 
What do you mean by 'repeated twice' ie are you seeing 2 of the same combobox or its value repeated?
What is the rowsource & controlsource of your combo's?
What is the controlsource for your textbox's?

I have found many problems can result in learning to develop applications by the trial and error method. Not to say you did this but I have been through this personally. There are often multiple ways to accomplish the same task. Sometimes the way found is not the best or can cause intermittant errors like you are seeing. Anyway the first thing would be to detail how you are initializing and refreshing the controlsources and/or rowsources of the controls. This may help illuminate the scenario of your development practices.

Regards,

Rob
 

Thanks for the replies.

This has only started happening recently, but nothing has changed in the way I code etc.

This issue just started around pageframes but now sometimes is the form.

What I am seeing is:

1. parts of the form missing, mostly top left of the form.
When I resize the form, it re-appears.

2. The white portion of a text box repeated it a different
place when on a pageframe.
A form resize does not remove it.

3. The right part of a combo box missing.


The way I develop the forms are:

1. Within the design environment
2. form is populated on the INIT
3. combos are populated on the INIT.

As I say, never had a problem until recently and it does not happen every time, only sometimes.

Thanks
 


...just to add, the white portion of a text box that is repeated does not allow data entry, it is just a flat white image.


 
Just for kicks, try turning Themes off and see whether the problem goes away.

Tamar
 

Thanks for the advice, good idea, but unfortunately didn't work.

 
I assume this is not a holdover from some Fox 2x code, if it is then I can understand the problem. If not, I would look at the video driver, try downloading the latest driver from the manufacturer.

I had the same thing happen before, but I was trying to run old code inside a new form and that did not work.


Don Higgins
 


Thanks for the reply crewchiefpro6

No, this is not old code, it was written in VFP7 then ported to VFP8 and soon to move to VFP9.

Regarding the video driver, I have tested this on over 3 servers on Terminal Services and 3 PC's with different OS's.
All the same.

 


Thanks for the reply.

Sorry, cannot upload because of confidentiality as it is for my client. I tried recreating the form to no avail.




 
I had this problem but the only thing I can think of is I reloaded my computer from scratch and have service pack 1 for Foxpro 9. (Verify both the development system and workstation have service pack.)

Regards,

Rob
 
Megmogg ... yes ... I have experienced this before ... even back to VFP6 and 7. (I'm only posting this so you don't think you are going crazy.) However, I can't remember what I did to make it go away. I do remember it was NOT related to any incorrect coding. I seem to remember the form being shifted up a character height and repositioned and repainted in place without refreshing due to a character being displayed on the form due to a SET CONSOLE ON or something like that...
 

robsuttonjr

I am going to upgrade to VFP9 either today or Monday, so will try that.


Thanks for the post vfp7guy

It is reassuring that someone else has had this problem.

Yes, it does appear as though it has been shifted up a line or so. Thats the repeat of a text box I get.
I do get the other one where part of the form is also missing/transparent.

I'll have a look around your sugesstion regarding console, etc.

Thanks

 
This may be of value:
I've had the problem with loaded pageframes and grids.

When using child-table references (possibly with *grand-child* alias) in grid-column DYNAMICfontcolor (or such); refreshes were skippy and/or failing off other object-captions. ...regardless of machine or XP service pack

The workaround was to limit/stop referring to child-table fields.

"go (recno())" helped in some cases.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top