PC SOFT

WINDEV的在线文档

  • Image control: Available parameters and their values
  • Static control: Available parameters and their values
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Reads the value of one of the animation parameters defined for an Image control or for a Static control.

例子
WinDev用户代码(MCU)
如果动画读取参数IMG_Image1"Loop")=,那么
动画改变参数IMG_Image1"Loop"
结束

WinDev用户代码(MCU)
如果动画读取参数STC_CustomerNameSta"Color")=透明,那么
动画改变参数STC_CustomerNameSta"Color"浅黄色
结束

语法
WinDev用户代码(MCU)

Reading the animation parameters of an image 隐藏详细信息

<Result> = 动画读取参数(<Name of Image Control> , <Name of Parameter>)
<Result>: Type of the expected parameter
Value of the sought parameter.
<Name of Image Control>: Character string (with or without quotes)
Name of the Image control to use.
<Name of Parameter>: Constant or character string (with quotes)
Name of the parameter to read.
动画参数.往返 (or "Two-Ways")Read the image drawings from the first drawing to the last one, then from the last drawing to the first one continuously (this parameter is set to False by default)
动画参数.循环 (or "Loop")Read the image drawings from the first drawing to the last one continuously (this parameter is set to True by default)
动画参数.持续时间 (or "Duration")Time for displaying each animation drawing in milliseconds (300 ms by default)
动画参数.反向读取 (or "Reverse")Read the image drawings from the last drawing (bottom right) to the first drawing (top left) (this parameter is set to False by default)
动画参数.水平图片数量 (or "NumberOfImagesX")Number of drawings found in the width of the image file. Depending on the specified number, the image will be automatically divided into as many drawings as necessary (1 by default).
"Image to animate" animation only.

动画参数.垂直图片数量 (or "NumberOfImagesY")Number of drawings found in the height of the image file. Depending on the specified number, the image will be automatically divided into as many drawings as necessary (1 by default).
"Image to animate" animation only.

动画参数.步骤数量 (or "NumberOfSteps")10 by default
"Scrolling" animation only.

动画参数.滚动方向 (or "Direction")Scroll direction.
"Scrolling" animation only.
These parameters can be combined.
1 (by default): from left to right
2: from right to left
4: from bottom to top
8: from top to bottom

Example of combination:
3 (2+1): left right: progressive enlargement from the center
5 (4+1) from bottom to top and from right to left

WinDev用户代码(MCU)

Reading the animation parameters of a static control 隐藏详细信息

<Result> = 动画读取参数(<Name of Static Control> , <Name of Parameter>)
<Result>: Type of the expected parameter
Value of the sought parameter.
<Name of Static Control>: Character string (with or without quotes)
Name of the static control to use.
<Name of Parameter>: Constant or character string (with quotes)
Name of the parameter to read.
动画参数.持续时间 (or "Duration")Time for displaying each animation element in milliseconds (300 ms by default)
动画参数.颜色 (or "Color")Flashing color. This parameter can correspond to a color constant. This color corresponds to 透明 by default.
"Flashing" animation only.
动画参数.像素数量 (or "NumberOfPixels")Number of pixels for each scrolling step.
"Scrolling" animation only.
动画参数.滚动方向 (or "Direction")Scroll direction.
"Scrolling" animation only.
These parameters cannot be combined.
1 (by default): from left to right
2: from right to left
4: from bottom to top
8: from top to bottom

注意
WinDev用户代码(MCU)

Image control: Available parameters and their values

Two types of animations are available for the Image control:
  • Image to animate (animation performed by WinDev/WinDev Mobile)
  • WinDev用户代码(MCU) Scrolling
Parameters common to the different animations
LoopRead the image drawings from the first drawing to the last one continuously (this parameter is set to True by default)
ReverseRead the image drawings from the last drawing (bottom right) to the first drawing (top left) (this parameter is set to False by default)
TwoWaysRead the image drawings from the first drawing to the last one, then from the last drawing to the first one continuously (this parameter is set to False by default)
DurationTime for displaying each animation drawing in milliseconds (300 ms by default)
Parameter specific to the "Image to animate"
NumberOfImagesXNumber of drawings found in the width of the image file. Depending on the specified number, the image will be automatically divided into as many drawings as necessary (1 by default).

NumberOfImagesYNumber of drawings found in the height of the image file. Depending on the specified number, the image will be automatically divided into as many drawings as necessary (1 by default).

Parameter specific to "Scrolling"
DirectionScroll direction. These parameters can be combined.
1 (by default): from left to right
2: from right to left
4: from bottom to top
8: from top to bottom

Example of combination:
3 (2+1): left right: progressive enlargement from the center
5 (4+1) from bottom to top and from right to left

NumberOfSteps10 by default

WinDev用户代码(MCU)

Static control: Available parameters and their values

Two types of animations are available for the static control:
  • Blinking
  • Scrolling
Parameters common to the different animations.
DurationTime for displaying each animation drawing in milliseconds (300 ms by default).
Parameter specific to "Blinking"
ColorFlashing color. This parameter can correspond to a color constant.
This color corresponds to 透明 by default.
Parameter specific to "Scrolling"
NumberOfPixelsNumber of pixels for each scrolling step.
DirectionScroll direction. These parameters cannot be combined.
1 (by default): from left to right
2: from right to left
4: from bottom to top
8: from top to bottom.

组件
WinDev wd200obj.dll