I work now the RequestOptionsForm of a report and I am modifying some propreties of some objects in it. But when I modify the proprety “Enabled” or “Editable” (TRUE or FALSE) of an object, everything works OK but when I want to turn back to the original proprety, the object keep his gray color, and there is no way to get his original color back, white in most cases… Is there some kind of trick to not lose my orginal color? Thx!
Hi, If you want to maintain the original colour then don’t set the property(Editable/Enable as FALSE always keep TRUE) and toggle the property throgh the code to make it editable/enable.
quote:
Originally posted by The_Taco
I work now the RequestOptionsForm of a report and I am modifying some propreties of some objects in it. But when I modify the proprety “Enabled” or “Editable” (TRUE or FALSE) of an object, everything works OK but when I want to turn back to the original proprety, the object keep his gray color, and there is no way to get his original color back, white in most cases… Is there some kind of trick to not lose my orginal color? Thx!
Erase the value in BackColor property so that it will set back to its default. [8D] Anna