Adding scroll bar to a text box
Is there a way to add a scroll bar to a text box? I am designing a website using ID (in the web view) which I am then giving to a web person to implement. I have one page that is longer than the others, where I would like to be able to scroll the text. I would really appreciate a step by step instruction on how to add a scroll bar to this text box.
Thank you so much.
The point is that exporting to Flash makes creating the webpage in ID seamless. I am not familiar with a
way to import an ID file into a Dreamweaver HTML. ID relies on pages that get converted to
frames on the Flash timeline which makes switching between pages, if you know enough ActionScript, a breeze.
However I did find this link which outlines some compatibility between ID and DW:
http://livedocs.adobe.com/en_US/InDesign/5.0/help.html?content=WS82C401A9-E844-40d5-B9B4-5 40CA374B0C6.html
Message was edited by: markerline
Similar Messages
-
Hello,
I've got a dynamic text box in my flash file that reads a txt
file in a directory for information. I'd like for it to have scroll
bars like the ones in the component scrollpane.
In the help file, it says that the scrollpane can be added to
a text box, but when I click on it further for more information it
only says it can hold swfs, jpgs etc...
is it possible to make those flashmx default scroll bars onto
a text box?
I'm using Flash MX 2004.You can do that but you would have to install the MX
componentes into MX2004 first. They used to be availabele at
Macromedia for downlaod, I guess they are somewher to be found at
Flash donloads at adobe still now. -
Adobe Captivate 4 Adding a Scroll Bar to a Text Caption
I have a lot of text information to show on one slide and I'd like the user to have the ablility to stay on one slide but scroll down.
Is there any way to add a Scroll Bar to a Text Caption to allow this to function as described?There is no way to add a scrollbar to a normal Captivate text caption.
There DOES however exist a widget that provides something simlar:
http://www.dorna.nl/?p=574 -
Scrolling bar with external text
Hi,
I'm trying to create a scroller bar with external text on Flash, but not suceeding much. I want to do it in AS 2.0, as my whole website is created in AS 2.0. I found a tutorial on Kirupa for Flash MX 2004, but does not work with Flash CS4, which is what I'm running.
What I need is, basically, to have a scroll bar to scroll up and down an external text (XML or .txt). I just don't seem to be able to do it. Also, is there a way of customizing the scroll bar?
Thanks for the help!
N.Hey, I had to do a VERY similar thing for a student project a
few months ago. If you go to
Flashkit.com, you can find
tutorials on how to import XML and CSS or XSL. I was able to do it
and I don't know a lot of actionscript. If you want to see how I
used it, go to
the University of Scranton's MIT
website.
Hope that helps! -
I have a limited amount of space with a lot of text. How do I limit the space by adding scroll bars
Without using iFrames, you can do this pretty easily using CSS. Add the following to the css for your text container...
.yourcontainer {
height:300px;
width:500px;
overflow-y:auto;
overflow-x:none;
then in the html, add the class to your container...
<div class="yourcontainer">All of your text here</div>
In the above example, the container div will be 500 pixels wide and 300 tall with a scrollbar if the text cotent gets longer than the height of 300 pixels. -
Horizontal Scroll bar in a list Box?
Hi,
I have a requirement in Adobe Designer where my List Box should also show Horizontal Scroll bar in it.
Is it possible?
Thanks.Thanks Debadas,
But i need both (Horizontal & Vertical) the scroll bars and depending on the data length either or both should be visible, without changing the data visiblity or text rotation.
Regards, -
Horizontal scroll bar for combo/lsit box in JSP
hi,
i want "Horizontal Scroll bar" for combo box to display long names.
regards,
krishnaNot a JSP issue. Look up styles, CSS, and dynamic HTML. They should help.
-
Hello all,
I work for a company using BI 7.0.
We provide reports in Bex Web 7.0 to our users. They requested us for a problem in list box of selection (or filter).
for example the user wants to filter on a characteristic. This characteristic has multiple possible values.
He chooses a value on the first page of the list box. then he wants to select an other value and uses the scroll bar. So he clicks in the gap of the scroll bar in order to go to the next page of values. It happens correctly but we figured out that doing so the new page wasn't exactly the exact next values available.
Indeed for example the first page displays 10 values (from 1 to 10) so by clicking in the gap we should go to the 10 next values 11 to 20 but it is not what is happening because the displayed values are 13 to 22, so the values 11 and 12 were passed by the scroll bar and we need to do singles click on the scroll bar to display values 11 and 12.
Does someone have an answer for this issue ?
Thank you by advance.
JérémyThank you for your answer Michael.
I tried to apply the modification but there was no fix to my problem.
Here are screenshots to explain my problem :
Screen 1 = First page
http://www.monsterup.com/image.php?url=upload/1264688014660.jpg
Screen 2 = second page
http://www.monsterup.com/image.php?url=upload/1264688015650.jpg
Screen 3 = missigne values between fisrt and second page
http://www.monsterup.com/image.php?url=upload/1264688015672.jpg
Any other clue ?
Thanks
Jérémy -
Appending The Scroll Bar to the Text Area
Hey, im having some serious problems setting the scroll panel to my text area, here is what i have done so far, could anyone offer me a hand please
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class MyPanel extends JPanel implements ActionListener
private JButton forloopbtn;
private JButton doloopbtn;
private JButton whileloopbtn;
private JTextField inserttxtfield;
private JLabel insertlbl;
private JTextArea countingtxtarea;
private JScrollPane myscrollpane;
public MyPanel()
//construct components
forloopbtn = new JButton ("For Loop");
doloopbtn = new JButton ("Do Loop");
whileloopbtn = new JButton ("While Loop");
inserttxtfield = new JTextField (5);
insertlbl = new JLabel ("Insert Number To Count To Here");
countingtxtarea = new JTextArea (5, 5);
myscrollpane = new JScrollPane();
//adjust size and set layout
setPreferredSize (new Dimension (485, 351));
setLayout (null);
//add components
add (forloopbtn);
add (doloopbtn);
add (whileloopbtn);
add (inserttxtfield);
add (insertlbl);
add (countingtxtarea);
add (myscrollpane);
//add actionlistener
forloopbtn.addActionListener(this);
doloopbtn.addActionListener(this);
whileloopbtn.addActionListener(this);
//set component bounds (only needed by Absolute Positioning)
forloopbtn.setBounds (90, 50, 100, 20);
doloopbtn.setBounds (200, 50, 100, 20);
whileloopbtn.setBounds (310, 50, 100, 20);
inserttxtfield.setBounds (320, 20, 30, 20);
insertlbl.setBounds (135, 15, 185, 25);
countingtxtarea.setBounds (165, 90, 145, 205);
ive tried to do it again and this is what my code now looks like, still no scroll bar tho
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class MyPanel extends JPanel implements ActionListener
private JButton forloopbtn;
private JButton doloopbtn;
private JButton whileloopbtn;
private JTextField inserttxtfield;
private JLabel insertlbl;
private JTextArea countingtxtarea;
private JScrollPane scrollpane;
public MyPanel()
//construct components
forloopbtn = new JButton ("For Loop");
doloopbtn = new JButton ("Do Loop");
whileloopbtn = new JButton ("While Loop");
inserttxtfield = new JTextField (5);
insertlbl = new JLabel ("Insert Number To Count To Here");
countingtxtarea = new JTextArea (5, 5);
scrollpane = new javax.swing.JScrollPane(countingtxtarea);
scrollpane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
//adjust size and set layout
setPreferredSize (new Dimension (485, 351));
setLayout (null);
//add components
add (forloopbtn);
add (doloopbtn);
add (whileloopbtn);
add (inserttxtfield);
add (insertlbl);
add (countingtxtarea);
add(scrollpane);
//add actionlistener
forloopbtn.addActionListener(this);
doloopbtn.addActionListener(this);
whileloopbtn.addActionListener(this);
//set component bounds (only needed by Absolute Positioning)
forloopbtn.setBounds (90, 50, 100, 20);
doloopbtn.setBounds (200, 50, 100, 20);
whileloopbtn.setBounds (310, 50, 100, 20);
inserttxtfield.setBounds (320, 20, 30, 20);
insertlbl.setBounds (135, 15, 185, 25);
countingtxtarea.setBounds (165, 90, 145, 205); -
Dropdownbox scroll bar closes the dialog box
All,
I have a dialog box and a matrix layout with some controls inside of it.
I have set autoClose = true in the dialog box so that if I click away I would close it
my matrix layout has a dropdownbox. if I click on the scroll bar, then it closes my dialog box. if I use the mouse wheel, it stays open. is this a bug or is there a work around to this? this happens every time I click on the vertical scroll bar
Similarly, if I have a date picker and I click on the datepicker to open the calendar, then the dialog closes. this event only closes the dialog the first time. if I open the dialog and click on the date picker then it works fine.
any feedback is appreciated.
thanks
SergioHi Sergio,
It could be that the the Dialog somehow interprets the click event to happen outside the Dialog and thus closes it. Try to bind event listener to controls in the Dialog and then in that event handler call evt.stopImmediatePropagation() and evt.preventDefault(). Example:
"datePicker".bind("click", jQuery.proxy(function(event) {
event.stopImmediatePropagation();
event.preventDefault();
}, this));
I think I could reproduce your problem with DatePicker in Firefox but not in Chrome. With Dropdown I couldn't reproduce it. Here's a jsbin explaining it:
JS Bin - Collaborative JavaScript Debugging</title> <link rel="icon" href="http://static.jsbin.…
Regards,
Kimmo
Message was edited by: Kimmo Jokinen -
Adding color information to a text box
Hi!
Is there any way I can automatically add (and update) color value information (HEX number, RGB values, etc) to a text-box? For example, I create a white square... then I "link" it to a text box, and the box is automatically populated with HEX: #FFFFFF, RGB: 255,255,255, etc
Thank you on advance!The point is that exporting to Flash makes creating the webpage in ID seamless. I am not familiar with a
way to import an ID file into a Dreamweaver HTML. ID relies on pages that get converted to
frames on the Flash timeline which makes switching between pages, if you know enough ActionScript, a breeze.
However I did find this link which outlines some compatibility between ID and DW:
http://livedocs.adobe.com/en_US/InDesign/5.0/help.html?content=WS82C401A9-E844-40d5-B9B4-5 40CA374B0C6.html
Message was edited by: markerline -
Hi, I have a frame that pops out from my applet, and I want to add scroll bars to this frame. Using JScrollPane does not work. The scrollbars do not show up even when the image that is displayed on the frame does not fit in the current frame size. Is there a good way to do this? Thanks.
Container c=getContentPane();
c.setLayout(new FlowLayout());
JScrollPane pane=new JScrollPane(your Component or frame);
c.add(pane) -
Hi guys,
Can anyone help me to add a scroll bar to a frame which contains a panel. The panel contains some Labels and one buttton.
Please suggest it using java.awt package(not swings).But can you please tell me how to implement that.
I am helpless. I can't find away out.Oh come on, look at the API docs. Put your Panel with the correct size into the ScrollPane, put the ScrollPane into the Frame, done. -
Hello
Could anybody suggest me how can I add scroll bar in Jlist. I tried this one, but it did not work
JList list = new JList(subject);
JScrollPane scrollPane = new JScrollPane(list);
Thanks
PrashanthPosting another question without replying to the responses on your previous thread, are you? Good luck getting help with this one.
db -
hi i'm new so be easy on me please... i am trying to figure out how to add vertical and horizontal scroll bars to my jlabel. I am using sun one studio 5 on this project which allows me to manually place vertical and horizontal toolbars but when i do that they don't work w/ the image that i'm trying to scroll...i know that i have to code so that the scroll bars know to function w/ the jlabel but thats all i know. please advise~ thanks
well, I don't know about doing things with Sun One Studio, but....
Generally, if you want to scroll something, you would create a JScrollPane instance and add a component to it's viewport. That component could be a JLabel, so you wouldn't be scrolling the label so much as scrolling the pane. The effect would probably be same thing you are trying to see.
You can use scrollbars in your own component, but the main reason not to do that is that managing the scrollbar states and dealing with paging and whatever is just a pain.
Maybe you are looking for
-
Firmware upgrade for Westell UltraLine Series3 A90-9100EM15-10 ?
I'm wanting to check for/download install a firmware upgrade for my Westell UltraLine Series3 A90-9100EM15-10. It's currently running Software Version: 1.02.00.04 Release Date: Aug 28 2008 I'm hoping there's an upgrade available that fixes th
-
Oracle 9i (amd64 version) with Fedore Core 2 (FC2) x86_64
I just managed to get the above to install, and it seems to work. This post is here to tell what I had to do to get it to install. I installed it custimized to not include Enterprise options, Enterprise Manager and HTTP server. I also chose not to cr
-
Hi, i have monitored that the SQL Developer slows down if you have a lot of connections in your connection tree (i have 100-200 connections in my tree); if i start an clean installation without any connection it starts within 30sek But with my connec
-
Hi there, I managed to untar the compressed file and get xsetup running. It all works fine till the last bit where I click 'Install' which results an error: Could not create destination path /opt/Xilinx/13.4/ISE_DS Any ideas why? Thank you for your h
-
I vote for a new Color Temperature sliding control for the Adjustment Brush. I recently did a couple of weddings with mixed lighting, and could have use that control. As it is, I had to go to Photoshop to fix. The existing Color Patch control is not