[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1311.0. "Table widget, anyone?" by STKHLM::GRANVALD () Mon Aug 21 1989 14:07

    Has anyone seen, thought about or dreamed about using a table widget?
    
    At least we have... 
    What I would like to have is similar to the ListBox widget and to
    the Matrix widget (described in the DW-Examples notesfile), but
    with some more features.
    
    I would like to;
    
    	- Address each element in the table matrix, to be able to
    	  update that cell (similar to the spread sheets),
    	  when updating I would like to be able to use another GC
    	  eg, change background color, font etc
    
    	- Scroll, Select, Add and Remove as using the ListBox Widget
                               
    	- Have an easy way to setup the table, arguments like;
    	  
    	   o Number of columns in the Box
    	   o Maximum size of element in each row
    	   o Table heads (the strings above the Box...)
    	   o Initial contents, etc, etc
    
    
    Have anyone seen/heard/thought of such a widget?
    If the wheel have been invented, we would not try to invent it again.
    
    Thank's for any hints,
    
    /Anders
    
    
    BTW,
    The application is a brokers workstation/workplace were real time 
    information like stock prizes/volumes and positions will be maintained.
    We are currently prototyping the UI.
    

T.RTitleUserPersonal
Name
DateLines
1311.1Yes, table widget existsVIA::ASHLUNDStacey Ashlund, DECdecision CalcMon Aug 21 1989 15:0958
    DECdecision Calc (spreadsheet) uses a table widget. Description and
    location can be found in note 7 in the WIDGET_DIRECTORY notesfile
    (CLT::), included below. For more info on DECdecision, see
    REGAL::DECdecision (KP7 to add).
    
    -Stacey
    
        <<< CLT::SYS$SYSDEVICE:[NOTES$LIBRARY]WIDGET_DIRECTORY.NOTE;1 >>>
                        -< DECwindows Widget Directory >-
================================================================================
Note 7.0                          Table Widget                        No replies
VIA::ROSE "Tom Rose, DECdecision/CALC Development"   44 lines  18-AUG-1989 10:55
--------------------------------------------------------------------------------
Widget name:          Table Widget

Brief description: 
   The Table Widget is a work area widget that displays character strings in a
   tabular (row/column) format, performs cell, column, and row selection, and
   provides tools with which to navigate through large applications.  To ensure
   flexibility and to remain as generic as possible, the Table Widget channels
   all user actions to the application.  After interpreting the callback
   information, the application can respond by calling the Table Widget's
   external routines.  By allowing the application to process the events, and
   by providing external routines that may be called at any time, the widget
   can be tailored to suit many needs.

Contact name:         Tom Rose (VIA::ROSE)

Platform:             VMS, Ultrix, PMAX
 
Installation method:  None, link with OLB or shareable image

Net kit location:     VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE_WIDGET.OLB

Documentation 
           location:  VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE_WIDGET.LN03

Notes conference 
           location:  None

Source kit available? Yes
     If so, location: VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE$CREATE.C
		      VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE$ACTIONS.C
		      VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE$SCREEN.C
		      VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE$SELECT.C
		      VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE$UTILITY.C
		      VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE$CONSTANTS.H
		      VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE$CREATE.H
		      VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE$PUBLIC.H

       Sample driver: VIA::$USER2:[ROSE.TABLE_WIDGET]TABLE$EXAMPLE.C


Packaging directions: .OLB can be linked in, was made shareable when shipped
		      with DECdecision/CALC.

Complete description: See TABLE_WIDGET.LN03

1311.2Thank's!STKHLM::GRANVALDTue Aug 22 1989 02:195
    Thank's!
    I'll look into it and see what it can do.
    
    /Anders

1311.3SVN, tooBEEDLE::DICKAUMartin DickauTue Aug 22 1989 18:095
There is also a field test version of SVN which supports columns. You
can find information about it in the same notesfile.

Martin

1311.4Yet another candidateDECWIN::KLEINTue Aug 22 1989 19:176
And while we're at it, the VText widget also supports columns.  You can find
it in ELKTRA::DW_EXAMPLES, note 148.*.  You could add features like
colors-per-fields to customize it as needed.

-steve-