The problem is that there's no automated way to document these constants if they aren't declared in LFC source.

One workaround would be to simply include descriptions of these constants in the LzCanvas class description. They wouldn't appear under 'Static Properties', but they would at least appear.

Given where we are in the cycle, I think this a reasonable workaround. Please file a second bug to design a more correct fix, though, and we'll schedule that bug for after 4.0.

jim

On Mar 6, 2007, at 10:54 AM, Max Carlson wrote:

Canvas.runtime is set bu the compiler - I believe it's set to the lzr string. There are a few other constants set. The easiest way to take a gander is to look at the top of an lzt=oubject&lzr=dhtml request:


canvas=LzCanvas.make({__LZproxied:"true",anm_multipler:1,bgcolor: 13619151,embedfonts:true,fontname:"Verdana,Vera,sans- serif",fontsize:11,fontstyle:"plain",height: 600,isopen:false,lpsbuild:"4075 /Users/maxcarlson/openlaszlo/ legals",lpsbuilddate:"2007-03-05T15:33:42-0800",lpsrelease:"Latest",lp sversion:"4.0.x",proxied:true,runtime:"dhtml",setOpen:function($1){
if($1){

You can see the canvas attributes being set there.

Phillip George Apley wrote:
Any hints on what to document for canvas.runtime ? I haven't actually looked at it yet.

--
Regards,
Max Carlson
OpenLaszlo.org

Reply via email to