Użytkownik Jeff Johnson napisał:
> 91). The sizers make for a very professional form, too. I would like
> to know why some of you code your own forms by hand.
>
Because there are still plenty of bugs in it, e.g.:
Traceback (most recent call last):
File "C:\Python25\lib\site-packages\dabo\ui\uiwx\dFormMixin.py", line
157, in __onWxClose
self.raiseEvent(dEvents.Close, evt)
File "C:\Python25\lib\site-packages\dabo\ui\uiwx\dPemMixin.py", line
959, in raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "C:\Python25\lib\site-packages\dabo\lib\eventMixin.py", line 93,
in raiseEvent
bindingFunction(event)
File "C:\Python25\lib\site-packages\dabo\ui\uiwx\dFormMixin.py", line
220, in __onClose
if self._beforeClose(evt) == False:
File "C:\Python25\lib\site-packages\dabo\ui\uiwx\dForm.py", line 86,
in _beforeClose
ret = super(BaseForm, self)._beforeClose(evt)
File "C:\Python25\lib\site-packages\dabo\ui\uiwx\dFormMixin.py", line
389, in _beforeClose
ret = self.beforeClose(evt)
File "c:\SVN\dabodev\ide\ClassDesignerFormMixin.py", line 189, in
beforeClose
curr = self._getSavedState()
File "c:\SVN\dabodev\ide\ClassDesignerFormMixin.py", line 119, in
_getSavedState
ret = self.getClassDesignerDict(obj, propsToExclude=("Top", "Left"))
File "c:\SVN\dabodev\ide\ClassDesignerFormMixin.py", line 671, in
getClassDesignerDict
ret = obj.getDesignerDict(classID=seed, propsToExclude=propsToExclude)
File "c:\SVN\dabodev\ide\ClassDesignerComponents.py", line 49, in
getDesignerDict
if os.path.exists(clsPath):
File "C:\Python25\lib\ntpath.py", line 255, in exists
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Most important reason is that CD doesn't support inheritance.
Of course I can create custom controls but it is still simple
copy and paste of code.
For small few form only application it's perfect tool.
But for larger, with many controls it fails.
--
Regards
Jacek Kałucki
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]