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 have a Seagate Backup Plus drive hooked up to my Macbook Pro with some video files I want to rename and organize on it, but when I click a file, I cannot preview it in finder.  I have to double click and open it up in Quicktime.  If I click "get in [More]
I like to take my images into PS CC from LR 5.  My actions are not compatible with CC2014 at this time.  Is there a way around this?  I have already checked preferences and CC is checked although it goes to CC 2014 anyway. Thanks!Search Microsoft – O [More]
It means I've never purchased it and had no backup on iTunes or any other Apple devices, I just downloaded in now free time now deleted. But someone told me that's ok, once you download it in any way successfully including give your money to buy it o [More]
how to create a Rules Language process which add a XML payload in to the ICEPAYLOADEXT table??Take a look at this post: How to send a request from MDM 1.6.1 to CC&B using JMS servers?Read other 2 answers [More]
The new encryption software Mozilla added with update 10 is terrible. It's paranoid, no way to delete the web sites it collects. I do not like being monitored & even if it's not seen by anyone but me I want it gone! It prevents me from adding a new a [More]
Hi All. Does anyone know if its possibel to transport Output condition (mn01, mn04 etc) records via ALE between systems. It appears to be possible for normal condition records (VK01) but doesn't appear possibel for the output ones. Any ideas how to s [More]
I dropped my iPad on top of my MacBook. The screen is cracked and would like to know how to fix it. Plz helpCsound1, free speech should have a place in this forum. Bless, you have 13,000+ points one day they might make you a moderator and give you a [More]
syncing to Missing Sync suddenly stops working: synchronisation engine is not enabeld tells log. opening iSync however is not possible. login as new user however tells iSync to work properly so something is wrong with preferences or the sync engine i [More]
Hello All What is the reason for the error"Table RF180 blocked (userid)and how can we tectify this?Hi! An other user is using table (or an entry in table) RF180. Go to transaction SM12, display all users, search for RF180. So you should be able to fi [More]
I've turned off SIRI, but continue to get loud and annoying auto complete suggestions when I'm trying to compose a message. This is particularly irritating when I'm in a meeting or the library.Check accessibility and VoiceOver to see if it is turned [More]