[Dynapi-Dev] Index out of bound in htmltextbox getItem

2003-09-04 Thread mlist
What is the correct thing to do here? The simple thing would be to return null if o[index] is not a valid option. Test choices: if index < 0 || index >= o.length o[index] === undefined Error: o[index] has no properties Source File: dynapi3x/src/gui/htmllistbox.js Line: 99 96 p.getItem = func

[Dynapi-Dev] Blackboard Mode

2003-09-05 Thread mlist
Can someone explain this in a bit more detail, I want to add it to the documentation. As near as I can till, it somewhat allows you to add multiple html items to a layer. It doesn't seem to work well if you add multiple layers to a layer. One of the things I am missing right now is a container

Re: [Dynapi-Dev] Index out of bound in htmltextbox getItem

2003-09-05 Thread mlist
I guess this is part of a larger design question. Should the Dynapi code check for invalid arguments to calls? Having the no property error error appear is functionally a thrown error. > Not sure if I understand. Is this a request to change something? I'm not > too familiar with this portio

Re: [Dynapi-Dev] Blackboard Mode - layout managers

2003-09-05 Thread mlist
http://www.softbear.com/people/cory/articles/webtech.htm Java Layout Managers Java provides five layout managers in the Abstract Window Toolkit (AWT), a package in the standard Java library: BorderLayout; CardLayout; FlowLayout; GridLayout; and GridBagLayout. BorderLayout divides a window into

[Dynapi-Dev] Problems with Frame, GroupManager & setAutoSize

2003-09-10 Thread mlist
I have an app that stores a Template in a Frame, and has the whole thing in a GroupManager with a bunch of other objects. The text of the template is selectable. With the latest CVS code, I have an infinite recusion problem when I set the size of the template.. The template is resized, then the

[Dynapi-Dev] Unload problem with latest CVS code

2003-09-10 Thread mlist
#0: function anonymous() in line 57 #1: function anonymous() in line 145 #2: function anonymous() in line 102 #3: function