Application Extension In this presentation… –About extending your underlying iSeries application. –Using Designer to extend your application. –Introduction.

Slides:



Advertisements
Similar presentations
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Advertisements

CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Tutorial 8: Developing an Excel Application
Objectives Understand the software development lifecycle Perform calculations Use decision structures Perform data validation Use logical operators Use.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Miscellaneous Windows 2000 Desktop Features Windows 2000 Intermediate.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Excel and VBA Creating an Excel Application
1 Chapter 12 Working With Access 2000 on the Internet.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
Automating Tasks With Macros
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
1 Chapter 4 The Fundamentals of VBA, Macros, and Command Bars.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
Using the Visual Basic Editor Visual Basic for Applications 1.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
1 Chapter 1 Tour of Access. 1 Chapter Objectives Start and exit Microsoft Access Open and run an Access application Identify the major elements of the.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
1 Introduction to Human Computer Interaction  Livecode Overview  Based on Livecode User Guide from RunRev Ltd. (2010) 
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Exploring Microsoft Excel 2002 Chapter 8 Chapter 8 Automating Repetitive Tasks: Macros and Visual Basic for Applications By Robert T. Grauer Maryann Barber.
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Chapter 3 Introduction to Event Handling and Windows Forms Applications.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Chapter 9 Introduction to ActionScript 3.0. Chapter 9 Lessons 1.Understand ActionScript Work with instances of movie clip symbols 3.Use code snippets.
A First Program Using C#
Visual Basic Chapter 1 Mr. Wangler.
Advanced Integration - Grid Control In this presentation… –The enhanced Grid control. –Application integration. –New properties and events. –Connecting.
Project 9 Using Visual Basic for Applications (VBA) to Customize and Automate Excel Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
Tutorial 11 Using and Writing Visual Basic for Applications Code
Enhancing User Interaction Through Programming
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith.
Chapter 6 Configuring Windows Server 2008 Printing
® Microsoft Access 2010 Tutorial 11 Using and Writing Visual Basic for Applications Code.
Tutorial 1: An Introduction to Visual Basic.NET1 Tutorial 1 An Introduction to Visual Basic.NET.
Chapter 1: An Introduction to Visual Basic 2005 Programming with Microsoft Visual Basic 2005, Third Edition.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
OCC Network Drives  H:\  P:\ 
Key Applications Module Lesson 21 — Access Essentials
Implementation In this presentation… –Methodology –Software Development Life Cycle.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
University of Sunderland CIF 102/FIF102 Fundamentals of DatabasesUnit 15 Programming in Microsoft Access using VBA Using VBA to add functionality.
Stuff By Zach and Turtle To designate a default printer, choose Start > Control Panel > Printers and Faxes. Right-click the printer, and then.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Access Lesson 11 Creating and Running Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Lesson No: 6 Introduction to Windows XP CHBT-01 Basic Micro process & Computer Operation.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
Introduction to KE EMu
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Spreadsheets What is Excel?. Objectives 1. Identify the parts of the Excel Screen 2. Identify the functions of a spreadsheet 3. Identify how spreadsheets.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 3 Building an Application in the Visual Basic.NET Environment.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Introduction to Programming and App Inventor. Introduction What is a computer program? Introducing App Inventor Getting hands on with App Inventor.
Excel Tutorial 8 Developing an Excel Application
Visual Basic.NET Windows Programming
Java FX: Scene Builder.
VISUAL BASIC.
Presentation transcript:

Application Extension In this presentation… –About extending your underlying iSeries application. –Using Designer to extend your application. –Introduction to the Macro Editor and how you can use it to extend your iSeries application. –About the newlook object model –Printing –File Transfer (FTP)

Application Extension Extending newlook –Refers to extending your iSeries application by adding new functionality. The key tools used are: Rules, Designer and the Macro Editor. They can assist you in: Designing new forms. Splitting complex iSeries screens into multiple GUI panels. Add business rules to extend the behavior of existing applications. Remove redundant steps to improve workflow. Key newlook tools –Designer –Macro Editor

Application Extension - Designer Visual development tool Forms –Create new forms using Designer and the Macro Editor. Forms contain controls. Controls –Graphical objects such as a text boxes or command buttons that you place on a form using Designer. Controls are used to display data, perform an action, or make the screen easier to read. Controls contain properties. Properties –A named attribute of an control or object. Properties define characteristics such as size, color, and screen location, or the state of an object, such as enabled or disabled.

Application Extension - Designer Designer grid –Tools/Show Grid Field selection –Left-click –Multiple fields CTRL+left-click Drag select –Set the anchor To group align/size set the anchor by selecting it last

Application Extension - Designer Format menu –Align controls –Size controls –Spacing Horizontal Vertical Centering –Order on panel Controls are three dimensional Uses layering Send objects backward/forward

Application Extension - Designer Properties Window Display –Press F4 –Right-click & select properties –Select View/Properties Window Colors –Black – default value –Black bold – changed value –Use Default button to reset values – default All or Default one property.

Application Extension – Macro Editor Macro Editor –The Macro Editor, along with Designer is used to both add new functionality (extend) and integrate newlook with other desktop applications, such as MS Word and Excel.

Application Extension – Macro Editor Macros –A set of one or more actions that perform a particular action, e.g. open a new form or window. Macros are used to automate common tasks. –Programming language –Actions Parameters –Labels –Conditions A condition is a logical expression. A macro may follow different paths depending on whether the condition is true or false. –Macros are stored in the shared or user.sid file.

Application Extension – Macro Editor newlook programming (Macros) Events –An event is an action recognized by a screen or a control. Event-driven applications execute code in response to an event. –Trigger. Macros –Run a series of actions. Actions Expressions –Any combination of operators, constants, literal values, functions and names of fields, controls, and properties that evaluates to a single value. Functions –A procedure that returns a value and that can be used in an expression. You can select a function using the Expression Builder or just type one.

Application Extension – Macro Editor Events –Accessed via Designer –Forms OnReceive OnSend OnOpen OnClose –Controls OnClick OnChange OnOption

Application Extension – Macro Editor Events – Online Help

Application Extension – Macro Editor Writing a macro End Start Loop Skip

Application Extension – Macro Editor Actions

Application Extension – Macro Editor Actions – Online Help

Application Extension – Macro Editor Conditions

Application Extension – Macro Editor Labels –GotoMacro –RunMacro –Documentation Label

Application Extension – Macro Editor Comments

Application Extension – Macro Editor Expressions –Any combination of: Operators Constants Literal values Functions Names of: –Fields –Controls –Properties –That evaluates to a single value –You can use expressions as settings for many properties and action arguments; to set criteria or define calculated fields, and to set conditions in macros.

Application Extension – Macro Editor Expressions –Settings for properties –Set conditions in macros –Action arguments –Set Criteria –Define calculated fields Expressions

Application Extension – Macro Editor Expressions –Simple = price * quantity –Complex Retrieve the current time of day Time(Now() *HH:nn:ss*) Formatted string for display in a message box =" = " & & Chr(13) & " = " & & Chr(13) & " = " & & Chr(13) & " = " & & Chr(13) & "2 + ""3.4"" = " & 2 + "3.4" & Chr(13) & "2 + ""1abc"" = " & 2 + "1abc" & Chr(13) & "2 + ""abc"" = " & 2 + "abc” –Determine and set system colors Iif(System.Colors < 256, RGB(0, 128, 128), RGB(51, 102, 153))

Application Extension – Expression Builder Expression Builder –The Expression Builder helps you build expressions. It is available by clicking the Build button ( ) wherever you want to create an expression, e.g. in the Condition column of the Macro Editor. –Expressions are typically made up of three fundamental types – constants, functions and variables. –You can use the Expression Builder below to create an expression if you do not wish to type it directly in the Macro Editor.

Application Extension – Object Oriented System Objects –Have - Properties –which can be read/modified by - Macros –which are driven by - Events

Application Extension – Object Model System object –your PC App object –newlook Form object –Current screen Clipboard object –Windows clipboard

Application Extension – Object Model Objects and Controls – Online Help

Application Extension – Object Model Objects model referencing Constants –Alpha: “This is a string” –Numeric: 976 –Naming Conventions –Variables & Object Names –E.g. varCustomerCode –E.g. txtUsername –Functions –Trim(“ abc “, “a”) This would return the string “bc” Objects properties –App.id –ActiveForm.Message –ActiveControl.Visible –CustomerName.Caption –Logo.Picture –The default syntax to reference is always –ObjectName.ObjectProperty –Eg. ActiveForm.Caption

Application Extension – Object Model Events and Timers –OnReceive –OnRefresh –OnOption –OnSend –OnTimer –TimerCount – how many –TimerInterval – how often

Application Extension – Printing Printing in TCP/IP environments –Telnet printer pass-through direct support using newlook Available with the enhanced Telnet server in OS/400 V3R2 + Attach local/network printer device to iSeries and run over native TCP/IP Connect via Printer Connection in newlook Spool data that appears in the specified OUTQ will be printed to nominated client/network printer –Line Printer Request/Line Printer Daemon (LPR/LPD) Allows the iSeries to send/receive data across a TCP/IP network support via 3 rd party LPR/LPD software applications –Direct OS/400 TCP/IP printer support Uses the iSeries PCL/PJL TCP/IP printer driver Sends spooled files directly to any TCP/IP network attached printer that accepts the HP PCL/PJL printer languages Non-direct support using newlook –IBM Redbook http//: –See “Printing with newlook” White Paper.

Application Extension – FTP FTP –FTP (File Transfer Protocol) is a platform- independent protocol to allow sharing of files between disparate computer systems on a TCP/IP network such as the Internet or an intranet. newlook FTP –newlook file transfer provides a graphical interface to allow you to easily manipulate and transfer files on a remote computer system using FTP protocol. You can: Upload local files Download remote files

Summary newlook can be used to extend your underlying iSeries application. The key tools used in extending your application are Designer, Macro Editor and the Expression Builder. You can use newlook to create new forms, add controls and configure properties. Designer is a visual development tool based on WYSIWG and drag and drop functionality. The Macro Editor (macros) is the key programming tool used to extend your underlying iSeries application. newlook offers a number of printing solutions to allow you to print spool files on local or network printers.

newlook 8 Training Workshop 5