Best Practices Issue
- Posted by "C. K. Lester" <cklester at yahoo.com> Feb 07, 2003
- 457 views
Okay, time for everybody to express their opinion... In what circumstances, if any, might you allow controls to take the place of variables? In what circumstances, if any, might you not? Simple Example: I have a window with a single edit text control. A user types '3' into it. There are two ways to deal with this value: 1) Assign it to a variable and use it that way, or 2) use it directly from the control (no variable required). So, what do you do and why?