Article View: comp.os.os2.programmer
Article #2345Spread Sheets in PM
From: Marco Petroni
Date: Mon, 17 Dec 1990 17:38
Date: Mon, 17 Dec 1990 17:38
41 lines
2433 bytes
2433 bytes
Hello out there! I was wondering if anyone would please help me with
a little problem that I have in developping a PM application.
I am developping an application in PM which is to have the look and feel
similar to a spread sheet with rows and columns of data. The rows and columns
should be similar to text entry fields where the user can type in data.
Now, what I want to do is to be able to select an entire row, or column
or, groups of rows or columns at a time. Additionally, I would like to
be able to display the selected rows or columns of the "spread sheet"
as being highlighted, say, in reverse video.
I have been thinking of a number of different possibilites:
1) A conventional PM list box with text fields.
- Selected items in a list box do get highlighted in reverse video,
but can one make a 2-D grid in a list box? (None of the literature
mentions 2-D grids in list boxes).
2) A dialog window with a 2-D grid of text entry fields.
- PM does not seem to allow you to set the colors of an individual
(or many for that matter) text entry field object(s).
3) Defining my own object class (similar to what Petzold does with
the square button)
- Probably the best and only way of doing this, but I haven't jumped
into the details yet.
My question is, has anyone ever tried any of these ideas or have
any further information? Any input is welcome.
Thanks!
Marco...
--
----------------------------------------------------------------------------
- Marco Petroni -- McGill Research Centre for Intelligent Machines (McRCIM)
McGill University, Montreal, Canada.
INTERNET/BITNET: marco@larry.mcrcim.mcgill.edu or marco@mcrcim.mcgill.ca
UUCP: ...!mcgill-vision!marco
----------------------------------------------------------------------------
Technical Details
Message-ID:
<1990Dec17.173811.4382@thunder.mcrcim.mcgill.edu>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!marcoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!marco From: marco@damrod.McRCIM.McGill.EDU (Marco Petroni) Newsgroups: comp.os.os2.programmer Subject: Spread Sheets in PM Message-ID: <1990Dec17.173811.4382@thunder.mcrcim.mcgill.edu> Date: 17 Dec 90 17:38:11 GMT Sender: news@thunder.mcrcim.mcgill.edu Organization: McGill Research Centre for Intelligent Machines, Montreal, Canada Lines: 42 Originator: marco@damrod.McRCIM.McGill.EDU Nntp-Posting-Host: damrod.mcrcim.mcgill.edu