Ed Leafe wrote:

> On Feb 1, 2008, at 3:50 PM, Adrian Klaver wrote:
> 
>> self.SaveBtn.DynamicBackColor = saveColor
>> where self.saveColor returns u'red'
> 
> 
> self.SaveBtn.DynamicBackColor = self.saveColor
> 
> You need the 'self' reference.

...only if saveColor is part of the class. I had assumed it was a 
standalone function. Wouldn't there have been a NameError upon him 
trying to set the Dynamic function?

Paul

-- 
http://paulmcnett.com


_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to