100 likes | 120 Views
Enhanced Grid & Tab Controls - Introduction. In this presentation… The enhanced Grid control. new look 8 functionality. Subfile recognition. Data sources. The Tab control Ease-of-use. Managing busy screens. Enhanced Grid Control. Enhanced Grid control
E N D
Enhanced Grid & Tab Controls - Introduction • In this presentation… • The enhanced Grid control. • newlook 8 functionality. • Subfile recognition. • Data sources. • The Tab control • Ease-of-use. • Managing busy screens.
Enhanced Grid Control • Enhanced Grid control • Supports advanced refacing and new development. • Extends existing 5250 support. • Provides link to alternate data sources, e.g. databases loaded manually using script or macros. • Removes constraints of 24x80 ‘green screen’. Grids can hold more information than typical ‘green screens’. • Improves user productivity. • Improves aesthetic appeal. • Note:This session focuses on using the Grid in terms of 5250 support. centric and integration functionality is available and covered in the centric training
Enhanced Grid Control • Enhanced Grid control (newlook) • Automatically displays iSeries subfile data (5250). • Displays data in a series of rows and columns. • New Functionality • New Row, Column, Cell objects. • Use the Collections property to add columns. • Resize grid columns (Developer & User). • Sort columns (Developer & User). • Re-order columns (in Designer only). • Horizontal scrolling. • Saves screen space. • Grid Supports use of other controls. • Use Designer to change field recognition, e.g. DateCombo, checkfield etc
Enhanced Grid Control • Grid control properties (Designer) • Appearance • New Caption property. • Set row colors. • Hide or Show ColumnHeaders. • Hide or Show Columns. • Font appearance. • Events • OnLoadRecord. • OnScroll. • OnShowOptions. • Collections
The Tab Control • The Tab control • Manage busy green screens – too much information on one screen. • Split information onto several tabs. • Saves screen space. • Intuitive navigation. • Improves screen look and feel.
The Tab Control • The Tab control • Overcomes the constraints of the traditional 24x80 ‘green screen’. • Use the Collections property to create individual tabs. • Simple to use. • Use TabPages property to add individual tabs. • Drag and drop screen controls/fields on to individual tabs.
Tab Control • Tab control properties (Designer) • Appearance • Tab Style (normal/buttons/flat buttons). • Set background Tab colors. • Behaviour • Alignment – Tab appear top or bottom. • TakeFocusOnClick. • Events • OnClick. • OnDblClick. • Misc. • TabPages – (Collections). • Used to create individual tabs.
Tab Control • Collections • Definition • Similar to array. • Grouping of similar-type objects together. • Used by: • Grid controls for Columns. • Tab controls for TabPages. • TreeView controls for Nodes. • ListView controls for Column Headers and List Items. • Collections and their members can be accessed using macros and scripts.
Grid and Tab Control • Summary • The Grid provides increased functionality in terms of 5250 subfile recognition. You can now sort, reorder columns, resize columns and scroll through entries. • Improved look and feel of the Grid. • The Grid’s primary purpose is advanced refacing & new development. This means connecting the Grid to third party data source and retrieving live data (covered in Day 2). • The Tab control is used to assist you in managing information intensive ‘green screens’. Removes 24x80 constraints. • Use Tabs to split a busy ‘green screen’ into one with several tabs.
Workshop 4 newlook 8 Training