Article View: borland.public.jbuilder.java.language
Article #17738Selection in GridControl
From: Leo Cohen
Date: Wed, 07 Oct 1998 00:00
Date: Wed, 07 Oct 1998 00:00
25 lines
1312 bytes
1312 bytes
I have a two column table with a variable number of rows. When a cell is selected, I want to know its coordinates. However, I can find nothing in the GridControl and GridView docs that gives me this. The closest I can come is via the MatrixLocation.getAll() method. Unfortunately, I can't seem to reference this from my file, MultiFrame.java. The compiler tells me that "the variable MatrixLocation not found in class MultiRun.MultiFrame." This file imports borland.jbcl.model.MatrixLocation.*. And I've tried it with import borland.jbcl.model.*; Simply stated, in a GridControl, how do I get the value and/or the indexes for the user selection? -- Leo Cohen 116-1 Howard Drive Charlottesville, VA 22903 804-243-8922 (UVA) 804-244-4648 (home) 804-244-7922 (fax) lcohen@cs.virginia.edu
Technical Details
Message-ID:
<361BCFE2.4BF65CBB@cs.virginia.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,4f9ddac1bfc0bd59,start X-Google-Attributes: gidf74b3,public From: Leo Cohen <lcohen@cs.virginia.edu> Subject: Selection in GridControl Date: 1998/10/07 Message-ID: <361BCFE2.4BF65CBB@cs.virginia.edu> X-Deja-AN: 398757719 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language