PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

  • Image associated with a report control or block
  • Image scanned in a report
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Image is used to find out and modify the background image associated with an element.
WEBDEV - Server code In a report, ..Image is used to find out and modify the background image associated with a control or with a block.
WEBDEV - Server codeWEBDEV - Browser codePHP In a page, ..Image is used to find out and modify the image associated with:
  • an Image control,
  • a Web Camera control (server code only),
  • a fixed-image button (browser code only),
  • a Thumbnail control,
  • a Calendar control (background image).
  • Versions 18 and later
    a Social Network control (whose image is customized).
    New in version 18
    a Social Network control (whose image is customized).
    a Social Network control (whose image is customized).
  • Versions 20 and later
    the markers of a Map control.
    New in version 20
    the markers of a Map control.
    the markers of a Map control.
The modification is available for the "Automatic" or "Dynamic" controls only ("Details" tab of control description). The modification is available for the "Automatic" or "Dynamic" controls only ("GUI" tab of control description).
Note: These images are defined in the editor in the description of the control, window or page ("General" or "Details" tab).
Example
WEBDEV - Server codeWEBDEV - Browser codeAjax
// Modify the background image of "CustomerName" control
CustomerName..Image ="C:\MyImages\Image.BMP"
Syntax
WEBDEV - Server codeAjax

Finding out the background image associated with a report element Hide the details

<Result> = <Element name>..Image
<Result>: Character string
Name and full path of the background image associated with the specified object.
<Element name>: Character string (with or without quotes)
Name of the element (control or block) to use.
WEBDEV - Server codeAjax

Modifying the background image associated with a report element Hide the details

<Element name>..Image = <New image>
<Element name>: Character string (with or without quotes)
Name of the element (control or block) to use.
<New image>: Character string (with quotes)
Name and full path of the new background image associated with the specified object. A UNC path can be used.
WEBDEV - Server codeWEBDEV - Browser codePHPAjax

Finding out the image associated with a page control Hide the details

<Current image> = <Element name>..Image
<Current image>: Character string
Name and path of the image.
  • In server code, the full image path is specified.
  • In browser code, the path of the image is specified in relation to the _WEB directory of the site (for example, http://localhost/REWALI7_WEB/AXP01020_4E97E1FF_FR.gif).
<Element name>: Character string (without quotes)
Name of element to use.
WEBDEV - Server codeWEBDEV - Browser codePHPAjax

Modifying the image associated with a page control Hide the details

<Control name>..Image = <New image>
<Control name>: Character string (without quotes)
Name of control to use.
<New image>: Character string
Name and path (full, relative or UNC) of the new image:
  • Static image: Modification without effect
  • Dynamic image: path such as "image2.gif" (with "image2.gif" in the "_WEB\" sub-directory of the project)
  • Generated image: full path such as "c:\my image\image2.gif"
Remarks
WEBDEV - Server code

Image associated with a report control or block

  • The image associated with an Image control can be known and/or modified in the report editor, in the "General" tab of the control description.
  • The background image of a control or block can be known and/or modified in the report editor, in the "Style" tab of the description window of block or control. All you have to do is select the "Background image" element.
WEBDEV - Server code

Image scanned in a report

..Image cannot be used to modify the scanned image of a report. Indeed, the scanned image of a report is used to:
  • easily position the different controls in the report,
  • view the result in the print preview.

Limits

WEBDEV - Server code In a report, ..Image cannot be used on:
  • a report.
  • a bar code.
  • a Check Box control.
  • a chart.
Authorized image formats:
  • WEBDEV - Server code The following image formats can be displayed: all the formats described in fGraphicFilter.
WEBDEV - Server code ..Image can only be used on:
  • an Image control or a clickable image.
  • a Web Camera control.
  • a Calendar control.
  • Versions 18 and later
    a Social Network control (whose image is customized).
    New in version 18
    a Social Network control (whose image is customized).
    a Social Network control (whose image is customized).
  • Versions 20 and later
    a Map control marker.
    New in version 20
    a Map control marker.
    a Map control marker.
WEBDEV - Browser code ..Image can only be used on:
  • a fixed-image button.
  • an Image control or a clickable image.
  • Versions 20 and later
    a Map control marker.
    New in version 20
    a Map control marker.
    a Map control marker.
Minimum version required
  • Version 9
This page is also available for…
Comments
Video Imagen colocar fundo da Janela
https://youtu.be/9_jI_DheUq8
amarildo
26 Oct. 2018
Put an image in the background of the window
Na dica de hoje..
vou ensinar como fazer como
colocar uma imagem no background da janela
colocar uma imagen ,aumentar a imagem,
e o que desapareceu, fazer aparecer novamene
tirar minimizar e maximar da janela

In today's tip ..
I'll teach you how to do it.
Put an image in the background of the window
Put an image, increase the image,
And what disappeared, to make appear again
Take minimize and maximize window

https://forum.pcsoft.fr/pt-BR/pcsoft.br.windev/2265-aula-1113-windev-imagen-003-colocar-imagen-fundo/read.awp

// Blog com video e exemplo

http://windevdesenvolvimento.blogspot.com.br/2017/04/aula-1113-windev-imagen-003-colocar.html

https://www.youtube.com/watch?v=YyYN_KNf6_k
De matos
07 Apr. 2017