winlike/winedit/hlp-scripting.html
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<link rel="stylesheet" href=winedit.css>
<TITLE>Properties API</TITLE>
<BR>
<P CLASS=DE>
<B>Hint</B>
<BR><BR>
WinLIKE-Windows also can be defined without the visual editor. Code can also be written manually. The following tips should help you.
</P>
<P CLASS=DE>
<B>Declaration</B>
<BR><BR>
All windows that should be used on a WinLIKE-Site have to be defined in the WinLIKE.definewindows function, e.g. <i>mydefs()</i>.
Before you edit that function in an own HTML-page, please do not forget to include the necessary WinLIKE resources and body events!
</P>
<P CLASS=DE>
<B>Properties</B>
<BR><BR>
A window will be created by including the following lines within the mydefs-function:
<BR><BR>
var j=new WinLIKE.window('<I>Title</I>',<I>PosLeft</I>,<I>PosTop</I>,<I>Width</I>,<I>Height</I>,<I>z-Index</I>);
<BR>
j.<I>Attribute</I>=<I>Value</I>;
<BR>
...
<BR>
WinLIKE.addwindow(j);
<BR>
<BR><BR>
The positioning and size details are measured in pixel. The size of a window refers to the window size
without the skin, i.e. just the space that can be filled with content.
<BR><BR>
The specific properties can be inserted between the first and the last line. If these are omitted, default
values taken from the following table will be used. You will find detailed explanations of the different
properties in the properties window of the editor with a click on the grey arrows.
<BR><BR>
An attribute declared with an underline instead of the dot (eg. _Ski or _onEvent) will be used for all windows (see the source of <A HREF="../../12_sample_skins.html" NAME=WLoff_ TARGET=sample>12_sample_skins.html</A>).
</P>
<P CLASS=DE>
<TABLE>
<TR>
<TD CLASS=DE width=10%><B>Attribute</B></TD>
<TD CLASS=DE><B>Meaning</B></TD>
<TD CLASS=DE width=10%><B>Type</B></TD>
<TD CLASS=DE width=10%><B>Default</B></TD>
<TD CLASS=DE width=10%><B>_Default</B></TD>
<TD CLASS=DE width=10%><B>GUI</B></TD>
<TD CLASS=DE width=10%><B>Designtime</B></TD>
<TD CLASS=DE><B>Runtime</B></TD>
</TR>
<TR>
<TD CLASS=DE>Ttl</TD>
<TD CLASS=DE>title of the window</TD>
<TD CLASS=DE>string</TD>
<TD CLASS=DE>null</TD>
<TD CLASS=DE>yes</TD>
<TD CLASS=DE>yes</TD>
<TD CLASS=DE>param</TD>
<TD CLASS=DE>r/w</TD>
</TR>
<TR>
后面还有 333 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
