SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
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

Más contenido relacionado

Destacado

Matchtech Group Plc Group Overview
Matchtech Group Plc Group OverviewMatchtech Group Plc Group Overview
Matchtech Group Plc Group OverviewGary Young
 
Elemense Overview
Elemense OverviewElemense Overview
Elemense OverviewGary 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
 

Destacado (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 a Graphical RPG Framework IBM i SilverDev Tutorial Insert Picture

Build an AR app v2.0
Build an AR app v2.0Build an AR app v2.0
Build an AR app v2.0Kumar 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_peiartem
 
Android Programing Course Material Labs
Android Programing Course Material LabsAndroid Programing Course Material Labs
Android Programing Course Material LabsShady 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 toolShanmugam 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 StudioSANTIAGO 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#.NETOzeki Informatics Ltd.
 
Trimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NETTrimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NETMihir G.
 
Om Pawar MP AJP.docx
Om Pawar MP AJP.docxOm Pawar MP AJP.docx
Om Pawar MP AJP.docxOmpawar61
 
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 cvKazuhiko Inaba
 
NetWeaver Developer Studio for New-Beas
NetWeaver Developer Studio for New-BeasNetWeaver Developer Studio for New-Beas
NetWeaver Developer Studio for New-BeasChander445
 
Getting started with immersive technologies
Getting started with immersive technologiesGetting started with immersive technologies
Getting started with immersive technologiesUchechukwu 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 a Graphical RPG Framework IBM i SilverDev Tutorial Insert Picture (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]
 

Más de 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 SilverDevSilverDev 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 SilverDevSilverDev 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 SilverDevSilverDev 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 SilverDevSilverDev 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 rapideSilverDev 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 SilverDevSilverDev 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 DesignerSilverDev by Experia
 
[Tutoriel] SilverDev Wizard - français
[Tutoriel]  SilverDev Wizard - français[Tutoriel]  SilverDev Wizard - français
[Tutoriel] SilverDev Wizard - françaisSilverDev 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 iSilverDev 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 SilverdevSilverDev by Experia
 

Más de 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
 

Último

SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 

Último (20)

Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 

Graphical RPG Framework IBM i SilverDev Tutorial Insert Picture

  • 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