Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CStateZipCountry Control
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
CStateZipCountry Control
Miscellaneous
Thread ID:
00321439
Message ID:
00321439
Views:
45
Mr. McNeish,
I am hoping that you read this forum on Sundays, so here it goes (nothing big):


I changed the StateZipCountry control because the form on which it was located would always ask if I wanted
to save my changes, even if I hadn't made any. I traced this down and found out that in the SetCountryAndZip
method of the control, there was a line such as:
This.cblCountry.TextBox.Value = v_States.cCountry

I then preceded to replace the above line with:
IF This.cblCountry.TextBox.Value != v_States.cCountry
This.cblCountry.TextBox.Value = v_States.cCountry

ENDIF
which made the problem go away. Perhaps there is something I don't know as far as how to make this work, but
it got the job done for what I was after. Perhaps you could make this change in future releases of the FW for
everyone?


Sincerely,
Justin Spies
Next
Reply
Map
View

Click here to load this message in the networking platform