10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How You Can Retrieve Array Information......................................................................... 221How Sorting Arrays Works............................................................................................. 223How You Can Find Values in an Array.............................................................................. 224Table Fields ...................................................................................................................... 227Table Fields and Associated Arrays ................................................................................. 228TableField, ColumnField, and ProtoField Objects ............................................................... 228Table Field Components ................................................................................................ 229Table Field Operations........................................................................................................ 236How You Can Display and Remove the Vertical Scroll Bar................................................... 237How You Can Scroll Through Data .................................................................................. 237How You Can Scroll to a Specific Row.............................................................................. 239Horizontal Scroll Bars ................................................................................................... 240How You Can Remove or Add the Control Button .............................................................. 241How You Can Enable and Disable User Modifications to Table Field Data............................... 241How You Can Copy Data to PC Clipboard ......................................................................... 244Column Operations ...................................................................................................... 245TableField Methods ...................................................................................................... 248Controlling Multiple Table Fields with a Single Control Button ............................................. 252Collections ....................................................................................................................... 254How You Can Index into a Declared Collection.................................................................. 254How You Can Index into an Undeclared Collection............................................................. 255Chapter 8: Working with List Views and Tree Views 257How You Can Use Listview and Treeview Fields ...................................................................... 257Listview_Treeview_Demo ................................................................................................... 257Import the Demonstration Application............................................................................. 258Run the Demonstration Application................................................................................. 259Listview Fields .................................................................................................................. 260How the Listview Example Works ................................................................................... 260How You Can Load the Listview Field with Data ................................................................ 263Listview Field Styles ..................................................................................................... 264Listview Field Events .................................................................................................... 265TreeNode and Tree Classes................................................................................................. 266TreeNode Class............................................................................................................ 266Tree Class................................................................................................................... 267Treeview Fields ................................................................................................................. 269How You Can Build a Tree ............................................................................................. 270How You Can Attach Information to a Tree Node .............................................................. 273How You Can Use Bitmap Labels .................................................................................... 274How You Can Delete Nodes ........................................................................................... 274Treeview Field Events ................................................................................................... 275Contents vii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!