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 (8)

PPT
Matchtech Group Plc Group Overview
Gary Young
 
PPT
Elemense Overview
Gary Young
 
PDF
Certification Ccs
hengtong
 
PDF
Certification Gl
hengtong
 
PDF
Certification Dnv
hengtong
 
PDF
Certification Bv
hengtong
 
PDF
Certification Lr
hengtong
 
PPT
Hengtong Presentation India Market 29.11
hengtong
 
Matchtech Group Plc Group Overview
Gary Young
 
Elemense Overview
Gary Young
 
Certification Ccs
hengtong
 
Certification Gl
hengtong
 
Certification Dnv
hengtong
 
Certification Bv
hengtong
 
Certification Lr
hengtong
 
Hengtong Presentation India Market 29.11
hengtong
 

More from SilverDev by Experia (14)

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

Recently uploaded (20)

PDF
Ready Layer One: Intro to the Model Context Protocol
mmckenna1
 
PDF
Why is partnering with a SaaS development company crucial for enterprise succ...
Nextbrain Technologies
 
PPTX
Transforming Insights: How Generative AI is Revolutionizing Data Analytics
LetsAI Solutions
 
PPTX
UI5con_2025_Accessibility_Ever_Evolving_
gerganakremenska1
 
PDF
Best Web development company in india 2025
Greenusys
 
PDF
NPD Software -Omnex systems
omnex systems
 
PPTX
prodad heroglyph crack 2.0.214.2 Full Free Download
cracked shares
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PPTX
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
Is Framer the Future of AI Powered No-Code Development?
Isla Pandora
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PPTX
Library_Management_System_PPT111111.pptx
nmtnissancrm
 
PPTX
From spreadsheets and delays to real-time control
SatishKumar2651
 
PPTX
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PPTX
BB FlashBack Pro 5.61.0.4843 With Crack Free Download
cracked shares
 
Ready Layer One: Intro to the Model Context Protocol
mmckenna1
 
Why is partnering with a SaaS development company crucial for enterprise succ...
Nextbrain Technologies
 
Transforming Insights: How Generative AI is Revolutionizing Data Analytics
LetsAI Solutions
 
UI5con_2025_Accessibility_Ever_Evolving_
gerganakremenska1
 
Best Web development company in india 2025
Greenusys
 
NPD Software -Omnex systems
omnex systems
 
prodad heroglyph crack 2.0.214.2 Full Free Download
cracked shares
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Is Framer the Future of AI Powered No-Code Development?
Isla Pandora
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Library_Management_System_PPT111111.pptx
nmtnissancrm
 
From spreadsheets and delays to real-time control
SatishKumar2651
 
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
BB FlashBack Pro 5.61.0.4843 With Crack Free Download
cracked shares
 
Ad

[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 [email protected]