main logo
Subject: Re: [dabo-users] Backgroundcolor of a form
Author: Paul McNett

Posted: 2008/01/31 12:13:49
 
View Entire Thread
New Search


Uwe Grauer wrote:

> Paul McNett wrote:
>> Uwe Grauer wrote:
>>
>>> Now i realize what Dynamic stands for.
>>> And this is hard to find, if you won't know what to search for:
>>> http://wiki.dabodev.com/DaboUiSetAfter
>>>
>>> This is one of the concepts which should be better documented.
>>
>> I've never used setAfter(), personally.
>>
>> Paul
>>
>
> It wasn't about setAfter().
> I searched for documentation about what is a dynamic property.
> setAfter() was the only place i found.

If you go to http://paul.dabodev.com/doc/api/dabodoc and look at the
properties for most any class, you'll see dynamic ones there too. Example:
http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dCheckBox.dCheckBox.html#Properties_DynamicEnabled

This docstring says:
"""
DynamicEnabled

Dynamically determine the value of the Enabled property.

Specify a function and optional arguments that will get called from the
update() method. The return value of the function will get set to the
Enabled property. If DynamicEnabled is set to None (the default),
Enabled will not be dynamically evaluated.
"""

I think we do indeed need more tutorial-oriented documentation regarding
the dynamic properties, but how can the api docs be better written to be
more understandable?

Paul

--
http://paulmcnett.com



 
©2008 Paul McNett
<-- Prior Message New Search Next Message -->