General information
Category:
The Mere Mortals Framework
Title:
CStateZipCountry Control
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only