SlideShare a Scribd company logo
Graphical RPG Framework for IBM i 
SilverDev Tutorial 
How to Insert a Picture on IBM i Applications?
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 2/ 20 
Steps: 
1. Build a new program .................................................................................................................. 3 
1. Insert a Static Picture ................................................................................................................. 6 
2. Compilation ................................................................................................................................ 8 
3. 1st deployment ........................................................................................................................... 9 
4. Insert Pictures Dynamically ...................................................................................................... 11 
5. Load from IFS: sdSetImg function ............................................................................................ 13 
6. Load from a PC: sdLoadFromFile function ............................................................................... 15 
7. Image or file transfer functions on SilverDev ........................................................................... 19
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 3/ 20 
1. Build a new program 
Launch SilverDev Designer and select a context from the menu Tools > Context.
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 4/ 20 
Use the « + » icon to create your new program, in the Context tab
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 5/ 20 
Your program appears on the Context tab list 
Double-click it to open it
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 6/ 20 
1. Insert a Static Picture 
On the Components tab, 
click the icon of the CImage component 
Then, on your form (press F10 to open it), click where you want to place the picture
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 7/ 20 
On the Inspector tab, use the TPicture property 
to select your image: 
Click on « … » to open the dialog box 
And click on « Load » to select a picture stored on your PC
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 8/ 20 
2. Compilation 
Save and compile your form 
Then, on the Compiling menu, 
generate the program.
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 9/ 20 
3. 1st deployment 
Launch MyDesk and right click where you want to make your application available. Then, choose « New application » 
Fill the dialog box with the application title, the file name and the call command. 
On the next screen, select the app authorizations.
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 10/ 20 
Your application is ready. The picture is stored on the compiled screen, on the IBM i.
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 11/ 20 
4. Insert Pictures Dynamically 
Build a new screen 
And place on it a CImage compotent, 
and a CButton component for the user to load the picture
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 12/ 20 
Change its name with the 
Property Caption. 
Then, on the Events tab, select and double-click the OnClick event. 
The source file is already filled in:
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 13/ 20 
5. Load from IFS: sdSetImg function 
Use the sdSetImg SilverDev function to load a picture from the IFS. 
Tip: Use auto-completion (ctrl+space) to get the syntax. 
Declare your picture:
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 14/ 20 
Compile and make it available for the users. 
Tips: 
Resize the picture with Stretch and Proportional Properties, 
Adapt it to the screen with the Align property
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 15/ 20 
6. Load from a PC: sdLoadFromFile function 
Add a new CButton, associated to an OnClick Event, to load another picture from a PC or a Network 
Source 
Result
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 16/ 20 
To load the picture, use sdLoadFromFile SilverDev function 
Here’s the completed code:
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 17/ 20 
The complete source code:
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 18/ 20 
Save and compile the form, generate your program and just launch it on MyDesk. 
It updated automatically to display your new picture:
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 19/ 20 
7. Image or file transfer functions on SilverDev
SilverDev – Tutorial – Insert a Picture 
Experia Europe – All Rights Reserved -- 20/ 20 
More information on www.silverdev.com 
EXPERIA Europe 
4, rue L.Beridot 
Les jardins d'Epione 
38500 VOIRON - FRANCE 
www.experia.com 
info@experia.com

More Related Content

Viewers also liked

Matchtech Group Plc Group Overview
Matchtech Group Plc Group OverviewMatchtech Group Plc Group Overview
Matchtech Group Plc Group Overview
Gary Young
 
Elemense Overview
Elemense OverviewElemense Overview
Elemense Overview
Gary Young
 
Certification Ccs
Certification   CcsCertification   Ccs
Certification Ccs
hengtong
 
Certification Gl
Certification   GlCertification   Gl
Certification Glhengtong
 
Certification Dnv
Certification   DnvCertification   Dnv
Certification Dnv
hengtong
 
Certification Bv
Certification   BvCertification   Bv
Certification Bvhengtong
 
Certification Lr
Certification   LrCertification   Lr
Certification Lr
hengtong
 
Hengtong Presentation India Market 29.11
Hengtong Presentation   India Market 29.11Hengtong Presentation   India Market 29.11
Hengtong Presentation India Market 29.11
hengtong
 

Viewers also liked (8)

Matchtech Group Plc Group Overview
Matchtech Group Plc Group OverviewMatchtech Group Plc Group Overview
Matchtech Group Plc Group Overview
 
Elemense Overview
Elemense OverviewElemense Overview
Elemense Overview
 
Certification Ccs
Certification   CcsCertification   Ccs
Certification Ccs
 
Certification Gl
Certification   GlCertification   Gl
Certification Gl
 
Certification Dnv
Certification   DnvCertification   Dnv
Certification Dnv
 
Certification Bv
Certification   BvCertification   Bv
Certification Bv
 
Certification Lr
Certification   LrCertification   Lr
Certification Lr
 
Hengtong Presentation India Market 29.11
Hengtong Presentation   India Market 29.11Hengtong Presentation   India Market 29.11
Hengtong Presentation India Market 29.11
 

Similar to [Tutorial] Insert a Picture in IBM i Applications with SilverDev

User guide
User guideUser guide
User guide
waltz_pia
 
APPIUM
APPIUMAPPIUM
Build an AR app v2.0
Build an AR app v2.0Build an AR app v2.0
Build an AR app v2.0
Kumar Ahir
 
CHDK installation guide
CHDK installation guideCHDK installation guide
CHDK installation guide
M1kee
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
magicshui
 
images_of_windows_xp_for_system_deployment_using_windows_pe
images_of_windows_xp_for_system_deployment_using_windows_peimages_of_windows_xp_for_system_deployment_using_windows_pe
images_of_windows_xp_for_system_deployment_using_windows_pe
iartem
 
Android Programing Course Material Labs
Android Programing Course Material LabsAndroid Programing Course Material Labs
Android Programing Course Material Labs
Shady Selim
 
(Manual) auto cad 2000 visual lisp tutorial (autocad)
(Manual) auto cad 2000 visual lisp tutorial (autocad)(Manual) auto cad 2000 visual lisp tutorial (autocad)
(Manual) auto cad 2000 visual lisp tutorial (autocad)
Ketut Swandana
 
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
Andrey Karpov
 
Bpc 10.0 NW Mass User Management tool
Bpc 10.0 NW Mass User Management toolBpc 10.0 NW Mass User Management tool
Bpc 10.0 NW Mass User Management tool
Shanmugam Veerichetty
 
Microcontroladores: Uso de placas Arduino en Atmel Studio
Microcontroladores: Uso de placas Arduino en Atmel StudioMicrocontroladores: Uso de placas Arduino en Atmel Studio
Microcontroladores: Uso de placas Arduino en Atmel Studio
SANTIAGO PABLO ALBERTO
 
How to implement camera recording for USB webcam or IP camera in C#.NET
How to implement camera recording for USB webcam or IP camera in C#.NETHow to implement camera recording for USB webcam or IP camera in C#.NET
How to implement camera recording for USB webcam or IP camera in C#.NET
Ozeki Informatics Ltd.
 
Trimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NETTrimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NET
Mihir G.
 
Smiley033
Smiley033Smiley033
Om Pawar MP AJP.docx
Om Pawar MP AJP.docxOm Pawar MP AJP.docx
Om Pawar MP AJP.docx
Ompawar61
 
3.2 ws WMS.pdf
3.2 ws WMS.pdf3.2 ws WMS.pdf
3.2 ws WMS.pdf
AbhishekGorshi
 
Raspberry pi performace and program by open cv
Raspberry pi performace and program by open cvRaspberry pi performace and program by open cv
Raspberry pi performace and program by open cv
Kazuhiko Inaba
 
NetWeaver Developer Studio for New-Beas
NetWeaver Developer Studio for New-BeasNetWeaver Developer Studio for New-Beas
NetWeaver Developer Studio for New-Beas
Chander445
 
Getting started with immersive technologies
Getting started with immersive technologiesGetting started with immersive technologies
Getting started with immersive technologies
Uchechukwu Obimma
 
Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]
Sentinel Solutions Ltd
 

Similar to [Tutorial] Insert a Picture in IBM i Applications with SilverDev (20)

User guide
User guideUser guide
User guide
 
APPIUM
APPIUMAPPIUM
APPIUM
 
Build an AR app v2.0
Build an AR app v2.0Build an AR app v2.0
Build an AR app v2.0
 
CHDK installation guide
CHDK installation guideCHDK installation guide
CHDK installation guide
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
images_of_windows_xp_for_system_deployment_using_windows_pe
images_of_windows_xp_for_system_deployment_using_windows_peimages_of_windows_xp_for_system_deployment_using_windows_pe
images_of_windows_xp_for_system_deployment_using_windows_pe
 
Android Programing Course Material Labs
Android Programing Course Material LabsAndroid Programing Course Material Labs
Android Programing Course Material Labs
 
(Manual) auto cad 2000 visual lisp tutorial (autocad)
(Manual) auto cad 2000 visual lisp tutorial (autocad)(Manual) auto cad 2000 visual lisp tutorial (autocad)
(Manual) auto cad 2000 visual lisp tutorial (autocad)
 
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
 
Bpc 10.0 NW Mass User Management tool
Bpc 10.0 NW Mass User Management toolBpc 10.0 NW Mass User Management tool
Bpc 10.0 NW Mass User Management tool
 
Microcontroladores: Uso de placas Arduino en Atmel Studio
Microcontroladores: Uso de placas Arduino en Atmel StudioMicrocontroladores: Uso de placas Arduino en Atmel Studio
Microcontroladores: Uso de placas Arduino en Atmel Studio
 
How to implement camera recording for USB webcam or IP camera in C#.NET
How to implement camera recording for USB webcam or IP camera in C#.NETHow to implement camera recording for USB webcam or IP camera in C#.NET
How to implement camera recording for USB webcam or IP camera in C#.NET
 
Trimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NETTrimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NET
 
Smiley033
Smiley033Smiley033
Smiley033
 
Om Pawar MP AJP.docx
Om Pawar MP AJP.docxOm Pawar MP AJP.docx
Om Pawar MP AJP.docx
 
3.2 ws WMS.pdf
3.2 ws WMS.pdf3.2 ws WMS.pdf
3.2 ws WMS.pdf
 
Raspberry pi performace and program by open cv
Raspberry pi performace and program by open cvRaspberry pi performace and program by open cv
Raspberry pi performace and program by open cv
 
NetWeaver Developer Studio for New-Beas
NetWeaver Developer Studio for New-BeasNetWeaver Developer Studio for New-Beas
NetWeaver Developer Studio for New-Beas
 
Getting started with immersive technologies
Getting started with immersive technologiesGetting started with immersive technologies
Getting started with immersive technologies
 
Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]
 

More from SilverDev by Experia

[Tutoriel] Créez un graph en RPG avec SilverDev
[Tutoriel] Créez un graph en RPG avec SilverDev[Tutoriel] Créez un graph en RPG avec SilverDev
[Tutoriel] Créez un graph en RPG avec SilverDev
SilverDev by Experia
 
[Tutorial] Crear gráficos en RPG con SilverDev
[Tutorial] Crear gráficos en RPG con SilverDev[Tutorial] Crear gráficos en RPG con SilverDev
[Tutorial] Crear gráficos en RPG con SilverDev
SilverDev by Experia
 
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
SilverDev by Experia
 
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
SilverDev by Experia
 
[Tutoriel] SilverDev pour IBM i : Démarrage rapide
[Tutoriel] SilverDev pour IBM i : Démarrage rapide[Tutoriel] SilverDev pour IBM i : Démarrage rapide
[Tutoriel] SilverDev pour IBM i : Démarrage rapide
SilverDev by Experia
 
Comment simplifier et améliorer l'interfaçage IBM i / PC?
Comment simplifier et améliorer l'interfaçage IBM i / PC?Comment simplifier et améliorer l'interfaçage IBM i / PC?
Comment simplifier et améliorer l'interfaçage IBM i / PC?
SilverDev by Experia
 
How to simplify IBM i / PC exchanges with SilverDev?
How to simplify IBM i / PC exchanges with SilverDev?How to simplify IBM i / PC exchanges with SilverDev?
How to simplify IBM i / PC exchanges with SilverDev?
SilverDev by Experia
 
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
SilverDev by Experia
 
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
SilverDev by Experia
 
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDevTemoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
SilverDev by Experia
 
[Tutoriel] Studio de développement RPG SilverDev Designer
[Tutoriel] Studio de développement RPG SilverDev Designer[Tutoriel] Studio de développement RPG SilverDev Designer
[Tutoriel] Studio de développement RPG SilverDev Designer
SilverDev by Experia
 
[Tutoriel] SilverDev Wizard - français
[Tutoriel]  SilverDev Wizard - français[Tutoriel]  SilverDev Wizard - français
[Tutoriel] SilverDev Wizard - français
SilverDev by Experia
 
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM i
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM iExperia annonce la nouvelle version de SilverDev pour AS400 / IBM i
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM i
SilverDev by Experia
 
RPG : Développez des applications graphiques avec Silverdev
RPG : Développez des applications graphiques avec SilverdevRPG : Développez des applications graphiques avec Silverdev
RPG : Développez des applications graphiques avec Silverdev
SilverDev by Experia
 

More from SilverDev by Experia (14)

[Tutoriel] Créez un graph en RPG avec SilverDev
[Tutoriel] Créez un graph en RPG avec SilverDev[Tutoriel] Créez un graph en RPG avec SilverDev
[Tutoriel] Créez un graph en RPG avec SilverDev
 
[Tutorial] Crear gráficos en RPG con SilverDev
[Tutorial] Crear gráficos en RPG con SilverDev[Tutorial] Crear gráficos en RPG con SilverDev
[Tutorial] Crear gráficos en RPG con SilverDev
 
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
 
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
 
[Tutoriel] SilverDev pour IBM i : Démarrage rapide
[Tutoriel] SilverDev pour IBM i : Démarrage rapide[Tutoriel] SilverDev pour IBM i : Démarrage rapide
[Tutoriel] SilverDev pour IBM i : Démarrage rapide
 
Comment simplifier et améliorer l'interfaçage IBM i / PC?
Comment simplifier et améliorer l'interfaçage IBM i / PC?Comment simplifier et améliorer l'interfaçage IBM i / PC?
Comment simplifier et améliorer l'interfaçage IBM i / PC?
 
How to simplify IBM i / PC exchanges with SilverDev?
How to simplify IBM i / PC exchanges with SilverDev?How to simplify IBM i / PC exchanges with SilverDev?
How to simplify IBM i / PC exchanges with SilverDev?
 
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
 
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
 
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDevTemoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
 
[Tutoriel] Studio de développement RPG SilverDev Designer
[Tutoriel] Studio de développement RPG SilverDev Designer[Tutoriel] Studio de développement RPG SilverDev Designer
[Tutoriel] Studio de développement RPG SilverDev Designer
 
[Tutoriel] SilverDev Wizard - français
[Tutoriel]  SilverDev Wizard - français[Tutoriel]  SilverDev Wizard - français
[Tutoriel] SilverDev Wizard - français
 
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM i
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM iExperia annonce la nouvelle version de SilverDev pour AS400 / IBM i
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM i
 
RPG : Développez des applications graphiques avec Silverdev
RPG : Développez des applications graphiques avec SilverdevRPG : Développez des applications graphiques avec Silverdev
RPG : Développez des applications graphiques avec Silverdev
 

Recently uploaded

Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
ervikas4
 
Flutter vs. React Native: A Detailed Comparison for App Development in 2024
Flutter vs. React Native: A Detailed Comparison for App Development in 2024Flutter vs. React Native: A Detailed Comparison for App Development in 2024
Flutter vs. React Native: A Detailed Comparison for App Development in 2024
dhavalvaghelanectarb
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
Zycus
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
kalichargn70th171
 
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
Luigi Fugaro
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
vaishalijagtap12
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid
 
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery FleetStork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Vince Scalabrino
 
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
campbellclarkson
 
Cost-Effective Strategies For iOS App Development
Cost-Effective Strategies For iOS App DevelopmentCost-Effective Strategies For iOS App Development
Cost-Effective Strategies For iOS App Development
Softradix Technologies
 
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
widenerjobeyrl638
 
Going AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applicationsGoing AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applications
Alina Yurenko
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
Software Test Automation - A Comprehensive Guide on Automated Testing.pdf
Software Test Automation - A Comprehensive Guide on Automated Testing.pdfSoftware Test Automation - A Comprehensive Guide on Automated Testing.pdf
Software Test Automation - A Comprehensive Guide on Automated Testing.pdf
kalichargn70th171
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptxOperational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
sandeepmenon62
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio, Inc.
 

Recently uploaded (20)

Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
 
Flutter vs. React Native: A Detailed Comparison for App Development in 2024
Flutter vs. React Native: A Detailed Comparison for App Development in 2024Flutter vs. React Native: A Detailed Comparison for App Development in 2024
Flutter vs. React Native: A Detailed Comparison for App Development in 2024
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
 
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
 
bgiolcb
bgiolcbbgiolcb
bgiolcb
 
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery FleetStork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
 
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
 
Cost-Effective Strategies For iOS App Development
Cost-Effective Strategies For iOS App DevelopmentCost-Effective Strategies For iOS App Development
Cost-Effective Strategies For iOS App Development
 
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
 
Going AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applicationsGoing AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applications
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
Software Test Automation - A Comprehensive Guide on Automated Testing.pdf
Software Test Automation - A Comprehensive Guide on Automated Testing.pdfSoftware Test Automation - A Comprehensive Guide on Automated Testing.pdf
Software Test Automation - A Comprehensive Guide on Automated Testing.pdf
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptxOperational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
 

[Tutorial] Insert a Picture in IBM i Applications with SilverDev

  • 1. Graphical RPG Framework for IBM i SilverDev Tutorial How to Insert a Picture on IBM i Applications?
  • 2. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 2/ 20 Steps: 1. Build a new program .................................................................................................................. 3 1. Insert a Static Picture ................................................................................................................. 6 2. Compilation ................................................................................................................................ 8 3. 1st deployment ........................................................................................................................... 9 4. Insert Pictures Dynamically ...................................................................................................... 11 5. Load from IFS: sdSetImg function ............................................................................................ 13 6. Load from a PC: sdLoadFromFile function ............................................................................... 15 7. Image or file transfer functions on SilverDev ........................................................................... 19
  • 3. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 3/ 20 1. Build a new program Launch SilverDev Designer and select a context from the menu Tools > Context.
  • 4. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 4/ 20 Use the « + » icon to create your new program, in the Context tab
  • 5. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 5/ 20 Your program appears on the Context tab list Double-click it to open it
  • 6. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 6/ 20 1. Insert a Static Picture On the Components tab, click the icon of the CImage component Then, on your form (press F10 to open it), click where you want to place the picture
  • 7. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 7/ 20 On the Inspector tab, use the TPicture property to select your image: Click on « … » to open the dialog box And click on « Load » to select a picture stored on your PC
  • 8. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 8/ 20 2. Compilation Save and compile your form Then, on the Compiling menu, generate the program.
  • 9. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 9/ 20 3. 1st deployment Launch MyDesk and right click where you want to make your application available. Then, choose « New application » Fill the dialog box with the application title, the file name and the call command. On the next screen, select the app authorizations.
  • 10. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 10/ 20 Your application is ready. The picture is stored on the compiled screen, on the IBM i.
  • 11. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 11/ 20 4. Insert Pictures Dynamically Build a new screen And place on it a CImage compotent, and a CButton component for the user to load the picture
  • 12. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 12/ 20 Change its name with the Property Caption. Then, on the Events tab, select and double-click the OnClick event. The source file is already filled in:
  • 13. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 13/ 20 5. Load from IFS: sdSetImg function Use the sdSetImg SilverDev function to load a picture from the IFS. Tip: Use auto-completion (ctrl+space) to get the syntax. Declare your picture:
  • 14. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 14/ 20 Compile and make it available for the users. Tips: Resize the picture with Stretch and Proportional Properties, Adapt it to the screen with the Align property
  • 15. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 15/ 20 6. Load from a PC: sdLoadFromFile function Add a new CButton, associated to an OnClick Event, to load another picture from a PC or a Network Source Result
  • 16. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 16/ 20 To load the picture, use sdLoadFromFile SilverDev function Here’s the completed code:
  • 17. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 17/ 20 The complete source code:
  • 18. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 18/ 20 Save and compile the form, generate your program and just launch it on MyDesk. It updated automatically to display your new picture:
  • 19. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 19/ 20 7. Image or file transfer functions on SilverDev
  • 20. SilverDev – Tutorial – Insert a Picture Experia Europe – All Rights Reserved -- 20/ 20 More information on www.silverdev.com EXPERIA Europe 4, rue L.Beridot Les jardins d'Epione 38500 VOIRON - FRANCE www.experia.com info@experia.com