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
When I log into Creative Cloud, it does not recognize my newly purchased subscription. I have a confirmation number from Sales, but I can't find a place to submit that and get the subscription recognized by my ID. Any suggestions?Davidp158 the passwo [More]
I have VZW FiOS, running iTunes 10.6.3.25 on Windows 7 and everytime I download app updates to iTunes they time out - it does not matter if there is 1 app, 3, 30, or more - I find I'm constantly clicking on dialog boxes and the "resume all" butt [More]
not sure if I'm doing this right...am I online with the community?If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see t [More]
Dear community, We're developing / configuring a Work Manager 6.1 application which communicates with an SMP 3.0 SP 4. We want to set up push for work orders as well as attachments on work orders. In the application definitions: push is enabled on bo [More]
Hello Expert , I am facing the below error when Manager clicks on the leave link under column 'Type Of Leave' . (please refer the below picture) There is no iView available for system "SAP_ERP_HumanResources": object "employee". For mo [More]
Hi I have a servlet that is working perfectly through JBuilder. When I try and run it through Tomcat I get an error saying it cannot find the file. In JBuilder I have a html form. The value entered in the form is passed to the servlet. The servlet ca [More]
We're currently using SCCM to manage the updates of computers in our domain.  However we have a failover cluster that we placed in an SCCM group that allows us to manually apply the updates.  We would like to leverage CAU to allow the cluster to self [More]
I'm still having trouble with iMovie '08 being unable to "see" or show still photos or sounds from the iPhoto and iTune libraries. It does not seem to even know those libraries exist. Can someone at least tell me how iMovie normally connects to [More]
i need to drop off a mpeg2 at the tv station. no matter how i i try to make one, i keep getting m2v. it says mpeg2. the station can't play this. i went to www.webopedia.com, and that told me: .m2v MPEG-2 Video Only file i gave them a data DVD with th [More]
Hi Friend I have got a small query for you, Basically we are making a Flash Based CD rom presentation which even includes product catalog. This product catalog has Category=> Sub Category then the product i know a way how to do this using access as a [More]