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 Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What would cause the tabs (pages) to be hidden within a VFP screen form?

Status
Not open for further replies.

montypython1

Technical User
Jan 12, 2005
187
US
Greetings,

Within a VFP screen form, what would cause the tabs (pages) to be hidden? I have hundreds of installations of this specific program, and until now, all are working properly. But on just one computer (which was recently wiped clean and rebuilt), the form does not show the tabs (pages) at the top of the screen (see attached link for a picture).

Attached is a PDF showing both the problem screen format (top image), and also the correct screen format (bottom image).

I tried moving the tabs to the left and the right side of the screen, which worked on my test systems but still did not show up on this one problem computer. My assumption is that there is a missing file within the Microsoft Windows operating system, but that is just a guess.

Any ideas?

Thanks,
Dave
 
 https://files.engineering.com/getfile.aspx?folder=c94a23c9-9d61-4606-990a-16dbed409c4c&file=Missing_'Tabs'_(Pages)_within_a_VFP_screen_form.pdf
There is a property in the pageframe .Tabs which can be set to .T. or .F.
If it's set to False, there will be no tabs in the pageframe.


Best Regards,
Scott
MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS

"Everything should be made as simple as possible, and no simpler."[hammer]
 
Hi Scott,

Good suggestion, but that is not the problem. The Pageframe property "Tabs" is indeed set to .T. (please see attached link on page 2).

ALL of my other installations of this particular program are displaying the Tabs properly. Just this one computer refuses to display the Tabs. I tried changing the screen resolution and some of the other MS Windows Control Panel Display settings, but no luck.

Is it possible that it is a Microsoft Windows issue? Does VFP utilize any MS Windows files to display these tabs?
Any ideas?

Thanks,
Dave
 
 https://files.engineering.com/getfile.aspx?folder=9eaf6028-9eb3-4ff9-91de-9b8d530a4922&file=Missing_'Tabs'_(Pages)_within_a_VFP_screen_form.pdf
One thing that influences tabs is themes and the system scaling factor ("change the size of text, apps and other items"). You must keep this at the recommended 100%

PS: I am sure there was an issue with that in XP, where themed tabs had a little orange ribbon on them. I just tried and set the scaling factor to 150% and this works out okay on both themed and unthemed pageframes.

Your screenshot surely looks exactly like tabs is set to .F.

Tabs being hidden by a container (the blue border) would be another reason, but quite unlikely, as the blue border surely is just the form background color showing and tabs are in front.

Bye, Olaf.

Olaf Doschke Software Engineering
 
Hi Dave,
One other idea... is there anything particular about this user? Have you tried logging in and running as a different user on that machine? (In particular if you have security in the app. Are they set to some restrictions? Also, are you able to run it in VFP and use the debugging functions? Test the state of .Tabs value, and if there is something else programatically that's changing it from .T. to .F.


Best Regards,
Scott
MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS

"Everything should be made as simple as possible, and no simpler."[hammer]
 
Thank you Scott, Olaf, and Tore,

Great suggestions.
Based on your input, here is what I found/done:

Tore: I am not sure how to check to see if the Video driver is bad. How would I do that? I would assume a bad video driver would also affect other programs.

Olaf: (1) Themes is definitely set to .F. (see page 2 of my previous attachment); (2) I checked and the Display settings within that computer are indeed set to 100%. However, you gave me an idea that I will try, since I utilize an "auto-resize" program called "mwresize" that might be causing a problem. I will let you know once I test this on the problem PC (although all of my other installations using the exact same program do not have this issue, but I will try anything).

Scott: (1) Good idea about logging in as a different user ... I will try this and let you know. (2) I was not aware that I could access the debug tools within a distributed application. How do I do that?

Thank you all for your suggestions.
I will post my findings in case this ever comes up with anyone else.

Dave
 
Dave,
You'd need to have a copy of VFP installed on that machine, and then run the .EXE (or .APP) through through VFP as you would in developer mode. But the application will allow you then to diagnose it. You could then uninstall VFP after if you don't want it remaining on that machine.
The other things to think about:
What is different about this machine from other machines?
Tore's point about video drivers is a long shot, but still possible, and may not cause any other symptoms in other applications.
My other question is, was this working before? Did you install a new version of the application and it stopped working, or was it working fine and then a problem? Or is it a new PC and it hasn't worked since you first started running the application there?


Best Regards,
Scott
MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS

"Everything should be made as simple as possible, and no simpler."[hammer]
 
MontyPython,

Since this error only occurs on one pc and not on all the others, please check:
1) OS()
2) Winversion
Koen
 
Windows+Break/Pause -> Device Manager -> Display Adapters -> Your Adapter. Right-click -> Update Driver.
 
Thank you all for your input!

Scott ... Good question about what is different about this PC. It was recently rebuilt and had Windows 10 installed, but nothing else is unique other than that. This is a brand new installation of my program on that particular PC (therefore it never was installed before on this computer).

Koer ... Windows 10 but I am not able to access it until Monday to see the Winversion.

Tore ... Thanks for the instructions on loading the Video driver. I will try it on Monday.

Thank you all for your ideas and assistance. Have a great weekend.

Dave
 
Hi Dave,
For my curiosity, what is the make and model of the PC? (Is it a custom built white-box, or is it some kind of brand machine like Dell or HP?)
Just curious.


Best Regards,
Scott
MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS

"Everything should be made as simple as possible, and no simpler."[hammer]
 
Hi Scott,

The computer having the problem is an HP EliteDesk 800 G1 SFF (according to the System Info screen).
It was recently rebuilt and has MS Windows 10 Pro with 8GB of memory.

Thanks,
Dave
 
Koen ... my apologies for the delay in responding.

Her computer is currently turned off ... I will check in the morning and reply.

Thank you for the follow-up.

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top