On Jan 18, 2007, at 7:35 AM, Emile SCHWARZ wrote:

Hi all,

Application design rather REALbasic usage (quoi que...)


I have a multimedia application where I have a selector that is created dynamically. I rely on the Window Activate Event to re- build the selector contents (actually a ListBox).

I just saw a simple code miss (two lines were missing) and I added them. Now while I was testing that (moving a multimedia container folder from the "root" folder to a different one), I realized that, without quitting the application, I can also move a folder away - and its entry will still be in the selector - and I have a possible flaw; maybe a bug | needs more tests - .

So the question is:

how can I be sure the user does not tricks my application ?
[moves a folder on my back?]

AMAP: As Much As Possible!

Make your program foolproof, and the universe will make a better fool.

Seriously though, it's really Defensive Programing 101 -- anything that the user can change, someone will. Expect it and have a plan to handle the situation.

--
Glenn L. Austin <><
Computer Wizard and Race Car Driver
<[EMAIL PROTECTED]>
<http://www.austin-home.com/glenn/>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to