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

Properties Changed When Copied

Status
Not open for further replies.

Shanachie

Programmer
Jun 18, 2000
92
US
Oddball problem: I develop the app at my office and periodically copy the source files to a Zip disk and take them to my client's place. I copy them to a machine there and compile an executable for their use. One form has a pageframe with 8 tabs. Every time I move from office to client or back, the background color on the first three tabs is changed! This only happens on this one form and alway to the same three tabs. It's not hard to fix but it shouldn't need fixing. Besides, what else might be changed that I haven't noticed?

What's up with that? Ideas?

TIA,
Shanachie
 
If you have subclassed your pageframe class, you may have a different class being used on your customer's system. Are they using a different "theme" setting on thier system? Are you using VFP 8.0?

Rick
 
Nope, not subclassed. Besides, the background color changes when I move it from my office to the client's and also when I move it from the client's back to my office. (Sometimes when I bring it to the client, they want minor tweaks done. I do them immediately and bring the changed source code back to my office.) It doesn't matter which way I go, the color of those three tabs (and only those) gets changed.

Shanachie
 
Shanachie,

I would guess that the ColorSource property for those 3 tabs is set to 4 - Windows Colors (Default). Change it to 0 - Object's Color Properties that it will fix the problem. The reason I say this is that the tabs are changing based on the machine they are run on not based on a change in your application. So, I am guessing that the client's pc has different color settings and given that only 3 of the tabs are changing you could look at the other tabs and see if the ColorSource is different. If this doesn't fix it then I would do a property by property check from the tabs that work as expected versus the tabs that are changing and note any differences.

Slighthaze = NULL

[ul][li]FAQ184-2483
An excellent guide to getting a fast and accurate response to your questions in this forum.[/li][/ul]
 
Anyone who's interested: this has turned out to be a problem related to changing the background colors from the default. The pages (I called them "tabs" before) that change color are all ones that got changed at some time in the past and are no longer default colors. They are the same color as the default but have been "changed" to that value. The pages that were never changed stay the same at the other site.

Odd.

Shanachie

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top