Paul McNett wrote:
> Carl Karsten wrote:
>> Carl Karsten wrote:
>>> I have two ui issues with my grid.  not too concerned, but if it is an easy 
>>> fix, 
>>> good.  if I should trac it, i will.  if it is a wx thing, ill drop it.
>>>
>>> 1. it takes 2 clicks to flip a check box, one to get focus to it, the 2nd 
>>> to 
>>> actually flip the check.
>>>
>>> 2. using the arrow keys to move up and down the column of checkboxes takes 
>>> 2 
>>> arrows to move one cell.
>>>
>>> The DaboDemo grid also has a column of checkboxes.  I see #1 in it, but not 
>>> #2. 
>>>      my grid was build from a .cdxml - that seems like a good place to 
>>> start 
>>> looking.
>>>
>> 3.  uloop3.py + py2exe = uloop3.exe
>> running uloop3.py and uloop3.exe on the same box give different results:
>>
>> uloop3.py I get the column of check boxes as described above.  I can see all 
>> the 
>> check boxes.  uloop3.exe does not display the check boxes.  when the grid 
>> cell 
>> gets focus, then the check box appears.  given that you can only see one 
>> checkbox at a time (the one that has focus) I need to fix this.
>>
>> I tried to make a exe out of dabodemo, but failed.  I'll start on that in 
>> the 
>> morning.
> 
> Sounds like the checkbox grid renderer (either dabo's or wx's) isn't 
> getting bundled with the exe. Dabo's is in 
> dabo/ui/uiwx/gridRenderers.py. Try moving the import in dGrid.py from 
> line 455 up to the top, and see if that makes a difference, although you 
> should have received a runtime ImportError.
> 

Big difference... in the wrong direction :)

Even if I put it on line 26, after:

from dabo.ui import makeDynamicProperty

I get this when I run my app 'natively' (not exed)

Traceback (most recent call last):
   File "p:\dabodev\dabomodule\dabo\ui\__init__.py", line 44, in loadUI
     exec("from %s import *" % mods[typ], globals())
   File "<string>", line 1, in <module>
   File "p:\dabodev\dabomodule\dabo\ui\uiwx\__init__.py", line 98, in <module>
     from dGrid import dGrid
   File "p:\dabodev\dabomodule\dabo\ui\uiwx\dGrid.py", line 26, in <module>
     import gridRenderers
   File "p:\dabodev\dabomodule\dabo\ui\uiwx\gridRenderers.py", line 6, in 
<module>
     checkedBitmap = dIcons.getIconBitmap("boolRendererChecked")
   File "p:\dabodev\dabomodule\dabo\ui\uiwx\dIcons.py", line 16, in 
getIconBitmap
     return dabo.ui.pathToBmp(fileName)
AttributeError: 'module' object has no attribute 'pathToBmp'
Traceback (most recent call last):
   File "P:\apps\uloop\uloop3.py", line 121, in <module>
     frm = dabo.ui.createForm('uloop.cdxml')
AttributeError: 'module' object has no attribute 'createForm'

Carl K


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/%(messageid)s

Reply via email to