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
Hi, i'm working with BI 7.0. How do I display a completly expanded Hierarchy in my report. At present I see the hierarchy but the nodes need to be manually expanded in the report. pls help, SDIn Query designer under properties of your characteristics [More]
So im trying to watch the nba league pass on my apple tv and it seems to be buggy. 1st off why is it when I try to switch between games that it starts back at the beginning of the game. Why doesnt it either pick back up where I left off or back to li [More]
library is kept on a Zip disk. After closing iPhoto and restarting all the albums dissappear. Pics are still in the library but all albums and sorted pics are gone. I'm getting ready to go back to "Jpeg View".Triple-click anywhere in the line be [More]
I started getting a message saying some of my songs cannot be played because the original source cannot be found. Do you want to locate it?my iphone with my computer Windows? Instructions here >   iPhone, iPad, iPod touch: How to restart the Apple Mo [More]
We have a Sharepoint idle timeout implemented using javascript which triggers on every page load initializes and timer counts to say 60sec as configured when idle .On reaching the time the script triggers a window.href to the ADFS logout page.This is [More]
Hello I was trying to update my system, when found that postgresql needs a little tweaking from 9.2 to 9.3. Following the instructions on the wiki, I ran pg_upgrade: [26] [email protected] : /home/ognyan $ su - postgres -c 'pg_upgrade -b /opt/pgsql-9.2/b [More]
So we have an Application setup for Adobe Reader (just using Reader as a general example) which is part of our Task Sequence.  When Adobe releases a new version of Reader, what's the best way to handle getting the new version into our SCCM setup. I k [More]
Q - How do I remove Redeye.Here is more information on this issue: http://www.healthcentral.com/mhc/top/003315.cfm >Considerations: The normal appearance of the pupil of the human eye is black. In flash photographs the pupil may appear red. This is k [More]
Hi guys, its my first post in this forum, i am student and learning some java. I find it very interesting but have some problems My question is : How to access a variable from a superclass Here is my program: class superclass      int i = 10, j= 20; [More]
Hi All, We have a ASO cube with 9 dimensions and a fairly large data set. One of our account members has the following formula: [Taxes] = Case When IsLeaf(Organization.CurrentMember) then (([1000_LI] - [2000_LI]) * [9999_LI]) else Sum(CrossJoin({Tax} [More]