10-15-2010 12:13 PM
My first attempt at an XControl is attached. I'm looking for feedback on things I may have overlooked and areas where the code could be improved. I'm also not completely satisfied with the control's appearance so any suggestions in that area would be good. The version is 8.2.
Solved! Go to Solution.
10-18-2010 04:45 PM
Hi gchristi1,
It looks pretty good so far! The only big thing that I saw was the code outside the event structure that sets certain values and appearances. I would try to put this in certain cases of the event structure or within a case structure outside the event structure. That way you don't call this multiple times unnecessarily.
10-19-2010 08:05 PM
Thank you. Intuitively, the code outside the event structure didn't look right.
The thermometer example is pretty good, but outside of that, it's kind of hard to find XControl example that I can relate to.