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 Ccshengtong
 
Certification Gl
Certification   GlCertification   Gl
Certification Glhengtong
 
Certification Dnv
Certification   DnvCertification   Dnv
Certification Dnvhengtong
 
Certification Bv
Certification   BvCertification   Bv
Certification Bvhengtong
 
Certification Lr
Certification   LrCertification   Lr
Certification Lrhengtong
 
Hengtong Presentation India Market 29.11
Hengtong Presentation   India Market 29.11Hengtong Presentation   India Market 29.11
Hengtong Presentation India Market 29.11hengtong
 

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

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 guideM1kee
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guidemagicshui
 
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_NETMihir 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

Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
Roshan Dwivedi
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
pavan998932
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 

Recently uploaded (20)

Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 

[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