Hi,

On 2/25/2015 17:46, Werner wrote:
Hi,

Trying to get that to work on both Classic and Phoenix.

Now Phoenix doesn't like it when we don't call either CreateGrid or SetTable and even Classic doesn't like it at some point.

We run into this as the generic '_constructed' method in dPemMixin doesn't account for the Grid being fully constructed, so has an associated Table/Grid.

My question, what is PropertyGrid using? Should it at some point do a SetTable or a CreateGrid - just can not see it in the code if it does either.
Got there.

I basically added a method '_constructed' to the grid which checks that 'self' returns True and that there is a table for Phoenix, for classic I revert to the standard '_constructed' method.

The SetTable call also has to pass 'True' to take ownership in the '_getTable' method.

BTW, why is the SetTable call in '_setTable' already using 'True'?

Werner

Werner



[excessive quoting removed by server]

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

Reply via email to