Sitemap

Amicuk Programming Answers

Scrollpane, ScrollDrag and buttons

2015-10-11   Views:0

Advertisement

I think I already know the answer to this question but I thought I'd ask just to be sure.  I have a scollpane loaded and I have buttons in the content( a map) thats loaded in the scrollpane.  The buttons work fine until I try to turn on scrolldrag. 

I think I already know the answer to this question but I thought I'd ask just to be sure. 
I have a scollpane loaded and I have buttons in the content( a map) thats loaded in the scrollpane.  The buttons work fine until I try to turn on scrolldrag.  So my question: Is there any way to use scrolldrag in a scrollpane when there are buttons in the content?  Or are we stuck with the scroll bars?
I saw one movie that was done in action script 1 using a scrollpane, with buttons and scrolldrag and the buttons worked. 
Any help would be appreciated.  I've googled this issue and can't find an answer. 
thanks.

The replay answer
Advertisement
Is there any other way to get the scrolldrag functionality and still have the links function?

Go to See the other 2 answers

Scrollpane, ScrollDrag and buttons

Category:DefaultRelease time:2015-10-11Views:130

I think I already know the answer to this question but I thought I'd ask just to be sure.  I have a scollpane loaded and I have buttons in the content( a map) thats loaded in the scrollpane.  The buttons work fine until I try to turn on scrolldrag. [More]

Scrollpane scrolldrag and button click problem.

Category:DefaultRelease time:-0001-11-30Views:130

Hi all,      i dublicate my  movieclip named mc2. (mc2 in mc1 moviclip). And my scrollpane 's contentpath is mc1. When i do that, it works. but if i make scrolldrag = true, my button in my movieclip doesnt work. How can i use scrolldrag and button cl[More]

Scrollpane containing movieclip buttons don't work

Category:DefaultRelease time:-0001-11-30Views:130

I am having 2 problems with my scrollpane working. 1. My dynamic text within the attached movieclip is not showing up. The text shows up if it is static but not dynamic. 2. I am using an .as file for my buttons because the links need to be updated by[More]

Adding Buttons to a ScrollPane??

Category:DefaultRelease time:-0001-11-30Views:130

Hello Swing people, I have had this problem now for quite some time and still have had no luck in getting it right. I am coding an ordering system and on this form is a Jtable displaying product details. Beside the Jtable are category buttons one aft[More]

Creating tables with a button click

Category:DefaultRelease time:-0001-11-30Views:130

can anyone give me a sample code for creating multiple tables in a scrollpane with a button click. ThanksHere is an example that returns a JTable in a JScrollPane in a JInternalFrame: import java.awt.*; import javax.swing.JFrame; import javax.swing.J[More]

Add Dynamic Content to ScrollPane

Category:DefaultRelease time:-0001-11-30Views:130

I have created a Address Class that uses Remote Hosting to get addresses for site locations and creates the appropriate listings in a MovieClip. I am trying to use this class as the source for a scroll pane inside another movie clip. I get the site l[More]

Error 1009 ScrollPane/endDrag() null fix

Category:DefaultRelease time:-0001-11-30Views:130

I have a scrollPane that I am removing from the stage that has scrollDrag = true. When its removed however I get this error when clicking on other objects and the stage. TypeError: Error #1009: Cannot access a property or method of a null object refe[More]

Multiple HighlightPainters for the same JEditorPane

Category:DefaultRelease time:2015-10-11Views:130

Hey Everyone, I'm having a problem having highligts of multiple colors for the same text component. Basically I have a set of results in a separate panel for a search on the text in a JEditorPane. I want the text corresponding to all the search resul[More]

Order of elements and events.

Category:DefaultRelease time:2015-10-11Views:130

INTRO Hi Oracle community. A while ago I started a thread here on the forum where I had put three different subjects to be treated. The user jsmith guided me saying that I was supposed to separate things, dividing each subject in a separate thread. T[More]

JScrollPane, JTextPane, Weird scrolling happening

Category:DefaultRelease time:2015-10-11Views:130

The code below shows the problem I am having: In short, I have a textPane in a scrollPane but when I try to getViewPort.setViewPosition(0,0); then the scroll pane briefly flashes to position 0,0 then re positions itself to display the bottom of the t[More]

JTable printing problem

Category:DefaultRelease time:2015-10-11Views:130

Hi , I have a problem add printing routine for printing to this code. Sombody help me. I no post all code but my prube no functioned. thanks you code : package com.froses.tablemodels; * SimpleDBTable.java * A demonstration of using ODBC to read data[More]

Hot
I want to be able to have the List View be my default view on my calendar but I can't find a way to do this.  Is there something I am missing?No, it's not possible. However, there are lots of apps available in App Store that will let you do that. Wee [More]
I installed OS 10.7 Lion on my MBP 2.33 (2007) a couple of weeks ago.  After installation Mail.app wouldn't launch.  Mail would be present in the tool/information bar at the top of the screen but wouldn't load the UI at all.  I tried several things i [More]
Hi Where do I download a copy of Acrobat 9 Pro extended?if you follow all 7 steps you can directly download a trial here:  http://prodesigntools.com/all-adobe-cs5-direct-download-links.html and activate with your serial number. if you have a problem [More]
The update to iOS 7 is frozen at the Terms and Conditions page and will not move, no matter what I click on.  I cannot access my iPad as it is frozen on this screen.  How do I remedy this nightmare?Reset the device: Press and hold the Sleep/Wake butt [More]
For over a year now my connection speed has slowed during peak hours, at first it would start around 6pm and drop to 5meg or so untill midnight at which point it would go back up to 8meg all night and morning. As the year has gone on it has gotten wo [More]
I can't import MPGE-2 files to FCPx, help me pleaseMPEG-2 can be a lot of things, but if it's standard def it's not supported in FCP. Use MPEG Streamclip to convert it.Read other 3 answers [More]
Hi, I'm trying to create a user using the UME Api IUserMaint umeUser = UMFactory.getUserFactory().newUser( uniqueId ); .... set properties on umeUser... umeUser.commit; The user created ok in our ldap server (Tivoli DS) but on the root dn, i.e. ou=co [More]
I am looking at this userguide: http://oracle.anilpassi.com/extend-vo-in-oa-framwork.html Because I have a VO on our eBusiness system that needs to be extended. I am new to JDeveloper, so apologies for the very silly question. One of the steps on the [More]
i have photoshop extended CS6 since yesterday and today when i was going to save an animation, go to file- save for web, this appears "the operation could not be compleated" someone help me please.i have a PC, well i made a lots of animations fr [More]
Hello, i want to combine several large spatial networks which are already each partitioned. (navteq world dataset). The idea was to create a new network based on a view with "union all" of the orginatin networks, but i have no idea, if the parti [More]