07-19-2008, 08:10 PM
|
That one guy...
|
|
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
|
|
Quote:
Originally Posted by LoneAngelIbesu
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.
|
You should be running that check regardless.. Don't rely on gui control variables. |
__________________
Do it with a DON!
|
|
|