
07-19-2008, 07:47 PM
|
master of infinite loops
|
 |
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
|
|
Yes, it does look grayed out. However, with those GUI controls I mentioned, the user can still select an entry.
For example, I have a right-click menu (context menu) with 4 entries. I run a check to see if a user's account is in an array. If it's not, 2 of the entries are disabled. However, the user can still select a disabled entry, and the action will still go through. To prevent that, I have to run another check through the array; if the user isn't in there, I simply "return;" the action. |
|
|