Article View: comp.sys.sun
Article #10802SunView question: positioning parts of a slider?
From: Mark Phillips
Date: Wed, 08 Feb 1989 12:45
Date: Wed, 08 Feb 1989 12:45
24 lines
1745 bytes
1745 bytes
A slider item consists of 4 parts: the bar itself, the label, the value,
and the range (the min and max values). Can someone tell me if it's
possible to position these four parts individually? I can control whether
the label is above or to the left of the bar by using the PANEL_LAYOUT
attribute, but I can't seem to get the value to show up anywhere other
than to the left of the bar, or the range other than on both sides.
Ideally the layout I want is something like this:
Label String Here
-------------------------------------
|***********| |
-------------------------------------
(min) [value] (max)
Right now I'm experimenting with using separate message items to display
the range and value, and updating the value myself in the slider's notify
procedure. It would be lot nicer if I could just position the various
parts of the slider individually. Can anyone tell me how to do this?
Thanks.
Mark Phillips mbp@lakisis.umd.edu
Department of Mathematics OR mbp%lakisis.umd.edu@eneevax.umd.edu
University of Maryland (arpanet)
College Park, Maryland (301) 454-2693
Technical Details
Message-ID:
<8901282026.AA14413@lakisis.umd.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: mbp@lakisis.umd.edu (Mark Phillips) Newsgroups: comp.sys.sun Subject: SunView question: positioning parts of a slider? Message-ID: <8901282026.AA14413@lakisis.umd.edu> Date: 8 Feb 89 12:45:51 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 24 Approved: Sun-Spots@rice.edu Original-Date: Sat, 28 Jan 89 15:26:11 EST X-Sun-Spots-Digest: Volume 7, Issue 143, message 8 of 16