Problem with sliders or TextArea in a ScrollPane quilting

I could not find anyone else reporting this issue, but I am confused.

I have a series of sliders, drop-down lists and a textarea on a ScrollPane area.  It worked fine on the Simulator (versions 1.0.6 and 1.0.7  However, I get problems only on the device:

(1) when by tapping quickly on a slider to pop to a new location, you can see the bar side scrolling and at the time wherever you tap anywhere on the screen, all my content scroll disappears and the scroll bar is stuck at the bottom.

(2) I type in the TextArea box and change the text.  When I type off the beaten path to get out, all my content scroll disappears and the scroll bar is stuck at the bottom.

Somehow this problem seems to be that when you type scrollpane fits like a scroll event, at the same time where the box TextArea or the slider he recorded as a selection on it, and then when you continue further, it causes the problem.

Any ideas?  Also has anyone seen this behavior?  Thank you!

I thought about it.  Had to add an EventListener for each cursor and textarea to event MOUSE_DOWN StopImmediatePropagation on that box.

Tags: BlackBerry Developers

Similar Questions

  • Problem with the sliders

    Hello

    I have a problem with the sliders. I use a property node to define their positions x and y. The problem is that the cursors do not go to this post, I write it. For example if I write 1480 to Cursor.PosX that it defines the position of the cursor to 1372. Even to go see my attachment. There is no other nodes property written positions than on the photo.

    ARO

    Jick

    Ability to modify in order to release the sliders, but I still wonder what may cause the behavior like this with the single cursor?

    Jick

  • Satellite A660 - 07P problem with the pointer of the mouse using the touchpad

    I just bought my A660 07P last Thursday, September 15, 10 and I noticed that I had problems with the mouse pointer using the touchpad.

    From time to time, the cursor/pointer is locked and seems something like a button up and down.
    I assume it's because it's on a mode of waiting, but in this case as every 5 minutes.
    When it is locked, it will also change the zoom percentage when the touchpad is struck. It is very not when I'm in the middle of something and I can not move the pointer. In addition, the start is very slow.

    BTW, I have not installed any programs or applications. I'm still testing until Friday, otherwise I'll go back to where I bought it.

    Hi mate

    This isn't touchpad problem.
    I guess as support for computer laptop MULTI-TOUCH PAD
    There are a few additional features supported by touchpad, and I think that you have enabled this while using the touchpad

    The touchpad supports the features:
    _ChiralMotion_
    You can scroll vertically and horizontally

    _Pinch Zoom_
    This feature provides functionality like the scroll wheel zooming

    _Rotating (chiral spin) _
    This provides gestures to rotate the photos and other objects

    _Momentum_
    This feature provides a smooth, fast trackball as the movement of the mouse. A quick finger on the touchpad surface can move the sliders in the entire screen.

  • Problem with the volume of a new 7 Slate

    I'll put up a new slate of 7 and I have a problem with the sound.  I have all the sliders to the max value, but any video or app plays at a very low volume on the builtin speakers. A trial has been with FIOS app that allows me to stream TV shows. I have to hold the Tablet so the speakers are right next to my ear to make the same concersations on the show and it's barely...

    Am I missing something?

    How to make your slate with audio files simply by using the application to play music?  And have you tried to play a trailer of the game of Google?  Type right on a movie title and play the trailer by typing on the > arrow.

    What if you use headphones?

    Do you have ear system sounds?  Go to settings > sounds > Touch seems to be there where there is a checkbox on the right whether Touch sounds are on or off.

    Speakers of slate are not all that, but they do not produce a sound that is strong enough to listen to the TV shows and movies.  If you can not enough volume of them with other applications such as the music plays, there may be a hardware problem.

    A few other suggestions... try to restart it.  And back to headphones, try inserting a headphone plug in all the way and disconnected.

    _
    As a contributor of top of page on the Forums of media consumer, HP, HP gives me access to the slate of 7 free of charge so I can better answer questions on the Forum.

  • My video settings in Media Player 11 do not work when I play DVD. What is the problem with them?

    I tried to change the video in Windows Media player when I play different DVDs, but they do not work. I push the saturation sliders and the cursor returns to the environment as it was before. Can anyone provide a solution to my problem?

    Hi PA systems.

    ·         You have the same problem with media center?

    ·         Why do you want to change the saturation?

    I suggest you to check with another drive to check if it works very well.

    Bindu S - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Problem with Microsoft Games flickering whenever I use my block cursors

    (1) this just started to happen on its own and the problem seems to be with MS Hearts, Spider, free cell, Mahjong, & Solitaire. When I open the file

    to play a game - the game flashes very quickly whenever I use my block of sliders. This is happening during the game. I can still play, but he acts like a strobe light. This seems to be the only thing affected.

    (2) somehow, I managed to lose all my favorites that have been listed, when I clicked on this.

    Woould br ideas greatly appreciated. Thank you, Jane

    Hi Jane,

    Thanks for the question!

    I understand that you are facing problems with games and also lost favorites.

    Quick questions:

    1 did you changes to the computer before the show?

    2. what version of web browser do you use?

    We will try these steps and check:

    Method 1:

    You can try to uninstall and reinstall the game and check from or disable Windows features:

    1. click the Start button, select Control Panel, click programs and then click turn on turn Windows features on or off. Administrator permission. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. develop the Games folder and uncheck the solitary, restart your computer and select the check box.

    3. to activate a Windows feature, select the check box next to the feature. To turn a Windows feature off, clear the check box. Click OK.

    Check this link for more information:

    Turn on or off Windows features

    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-features-on-or-off

    You can update the display drivers on the manufacturer's Web site and check.
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 2:

    You can check the Favorites in the user folder and check if you can read the same thing.

    Favorites would be located at the following location:

    \Favorites C:\Users\[user name]

    Reference link:

    Import or export favorites in Internet Explorer

    http://Windows.Microsoft.com/en-us/Windows7/import-or-export-favorites-in-Internet-Explorer

    I hope this helps.

    Let us know if you need help on the issue.

  • Weird problem with enums

    Hi all

    I have a weird problem with the implementation of controls and access their values. It seems that EI is pulling the wrong values for me.


    As follows:

    I have

    enum { }

    SKELETON_INPUT = 0,

    SKELETON_GAIN,

    SKELETON_COLOR,

    SKELETON_DELAY,

    SKELETON_POSITION_X,

    SKELETON_POSITION_Y,

    SKELETON_NUM_PARAMS

    };

    and

    enum { }

    GAIN_DISK_ID = 1,

    COLOR_DISK_ID,

    DELAY_DISK_ID,

    POSITION_X_DISK_ID,

    POSITION_Y_DISK_ID,

    };

    And I create my fine controls like sliders and they appear

    However, in my method of rendering, the values that AE comes out is wrong.

    Suites. ANSICallbacksSuite1 ()->sprintf(out_data->return_msg, "X = %1.2f Y =%1.2f ',)

    params [SKELETON_POSITION_X]->u. fs_d. value,

    params [SKELETON_POSITION_Y]->u. fs_d. value );


    Instead of getting the values of Position X and Y in the effect control, I'm SKELETON_GAIN for X and NAN values for Y.


    Is that all that I forgot to put? AE not to complaint of the any mismatch of parameter.

    DOH

    This is one of those who come to you once you have posted.

    So the order of creation is too important.

    Initially, I wanted to put my POSITION_X controls and Y in the first place and thought he would keep the enum attributed honest.

    But apparently I need my order of creation is the same as the enum values.

  • I have problems with my header image position in browsers. white space above it in pc, safari, crome then to right in firefox.

    nydogworks.NET

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"

    < title > NYDogWorks Long Island dog training and behavior < /title >

    < name meta = "description" content = "Serving all of Long Island, Nassau and Suffolk. NYDogWorks specializes in dog training, dog behavior and puppy training. ">

    < name meta = "keywords" content = "dog training, dog training, dog, long island trainer long island dog obedience, puppy training course" >

    < link href = "css/mainstyle.css" rel = "stylesheet" type = "text/css" / > "

    < script type = "text/javascript".

    src = » http://AJAX.googleapis.com/AJAX/libs/jQuery/1.4.1/jQuery.min.js "> < / script > <!-start of the mandatory code below - > '.

    < href = "" css/dropdown.css a link "media ="screen"rel ="stylesheet"type =" text/css"/ >"

    ".. href="css/default.advanced.css a link "media ="screen"rel ="stylesheet"type =" text/css"/ >

    <!-[if lt IE 7] >

    "< script type =" text/javascript"src="js/jquery/jquery.js "> < / script >

    "< script type =" text/javascript"src="js/jquery/jquery.dropdown.js "> < / script >

    <! [endif]-->

    <!-/-> END

    < link href = "css/overlay - apple.css" rel = "stylesheet" type = "text/css" / >

    "< script src="js/jquery.tools.min.js "> < / script >

    < style >

    div.apple_overlay h2 {}

    margin: 10px 0 - 9px 0;

    color: #222;

    make-weight: bold;

    do-size: 14px;

    }

    div. Black h2 {}

    color: #222;

    }

    #apple {}

    margin-top: 10px;

    float: left;

    Width: 250px;

    padding-right: 10px;

    }

    #apple img {}

    background-color: #fff;

    padding: 2px;

    border: 1px solid #ccc;

    margin: 2px 5px;

    cursor: pointer;

    -moz-border-radius: 4px;

    -webkit-border-radius: 4px;

    }

    {body

    margin-right: auto;

    left margin: auto;

    }

    < / style >

    <!-[if lt IE 7] >

    < style >

    {div.apple_overlay}

    background-image: url (http://static.flowplayer.org/tools/img/overlay/overlay_IE6.gif);

    color: #fff;

    }

    / * by default positioned top right close button * /.

    div.apple_overlay div.close {}

    background-image: url (http://static.flowplayer.org/tools/img/overlay/overlay_close_IE6.gif);

    }

    < / style >

    <! [endif]--> < script type = "text/javascript" >

    function MM_swapImgRestore() //v3.0 {}

    var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

    }

    function MM_findObj (n, d) {//v4.01

    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

    If (! x & & d.getElementById) x = d.getElementById (n); Return x;

    }

    function MM_swapImage() {//v3.0

    var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

    If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

    }

    < /script > < script type = "text/javascript" >

    function MM_preloadImages() {//v3.0

    var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();

    var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)

    If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}

    }

    < /script >

    < script type = "text/javascript" >

    var _gaq = _gaq. [];

    _gaq.push (['_setAccount ',' UA-26177215-1 ""]);

    _gaq.push (['_trackPageview ']);

    (function() {}

    GA var = document.createElement ('script'); GA.type = ' text/javascript '; GA. Async = true;

    ga.src = ("https:" == document.location.protocol? ) https://SSL ' : ' http://www ( ') + «.google-analytics.com/ga.js ";

    var s = document.getElementsByTagName ('script') [0]; ParentNode.InsertBefore (ga, s);

    })();

    function MM_swapImgRestore() //v3.0 {}

    var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

    }

    function MM_findObj (n, d) {//v4.01

    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

    If (! x & & d.getElementById) x = d.getElementById (n); Return x;

    }

    function MM_swapImage() {//v3.0

    var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

    If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

    }

    < /script >

    < / head >

    < body onload = "MM_preloadImages ("images/nydogworks-logo-hover.png','images/formation-services-le. jpg','images/behavior-therapy-on.jpg','images/off-leash-training-on.jpg') ">"

    < div id = 'wrapper' > < div id = "header" >

    < div id = "logoBox" > < a href = "index.html" MM_swapImgRestore"onmouseover =" MM_swapImage ('Image3', ",' images/nydogworks-logo - hover.png', 1)" > < img src = "images/nydogworks - logo.png" alt = 'NY Dogworks' name = "3" width = "280" height = "200" border = "0" id = "3" / > < /a > < / div > "

    < div id = 'slogan' > serving all the Long Island, Nassau & amp; Suffolk Counties < br / >

    Serving also Manhattan, Brooklyn & amp; Queens

    < / div > < div id = "address" >

    < h2 > < img src = "images/calltogetstarted.png" width = "473" height = "74" alt = "Call to start" / > < / h2 > "

    < / div > < div id = 'mainNav' > <!-start of the code required below->

    < ul class = "drop-down horizontal menu dropdown" id = "nav" name = "nav" >

    < li > < a href = ' all-New York - dog - works.html "> about us < /a > < /li >

    < li > < a href = "long-island-dog-training - program" class = "dir" > < /a > training programs

    < ul >

    < li > < a href = "basic - obedience.html" > in the House of dogs < /a > < /li >

    < li > < a href = "dog-behavior - therapy.html" > < /a > < /li > behavioral therapy

    < li > < a href = "Council-and-train-dog - program.html" > consulting & training program < /a > < /li >

    < li > < a href = ' off-leash - training.html ' > Off Leash training < /a > < /li >

    < li > < a href = ' Puppy-training - program.html "> training Puppy < /a > < /li >

    < /ul >

    < /li >

    < li > < a href = "dog-trainer - testimonials.html" class = "dir" > stories < /a > < /li >

    < li > < a href = "contact-long-island-dog - trainer.html" class = "dir" > contact us < /a > < /li >

    < /ul >

    <!-/ END--> < / div >

    < / div >

    < div id = "container" >

    < div id = "imgholder" > < a href = "long-island-dog-training - program" > < img src = "images/hand - header.jpg" alt = "private dog training long island new york" width = "951" height = "416" border = "0" / > < / has >

    "< div id ="program1"> < a href =" long-island-dog-training - program "MM_swapImgRestore" onmouseover = "MM_swapImage ('Image6 '", ' images/training-services - we .jpg ', 1) "> < img src =" images/training - services.jpg ' alt = 'dog training services' name = 'Image6"width ="315"height ="137"border ="0"id ="Image6"/ > < /a > < / div >

    "< div id ="program1"> < a href =" Council-and-train-dog - program.html ' MM_swapImgRestore "onmouseover ="MM_swapImage (' picture5 '", ' images/boarding_training - we .jpg ', 1)" > < img src = "images/Boarding_training.jpg" alt = "consulting and training program for dogs" name = "Picture5" width = "315" height = "137" border = "0" id = "Picture5" / > < /a > < / div > "

    "< div id ="program1"> < a href =" dog-behavior - therapy.html ' MM_swapImgRestore ' onmouseover =

    "MM_swapImage ('Image7'",' images/Behavior_therapy2 - we .jpg ', 1) "> < img src =" images/Behavior_therapy2.jpg"alt ="behavior therapy"name = width"Image7"="311"height ="137"id ="Image7"border ="0"align ="right"/ > < /a > < / div >"

    < / div >

    < div id = "pageContentNoside" >

    < div id = "sideSub" >

    Dog training services < h2 > < br / >

    < / h2 >

    < ul id = "subnav" >

    < li > < a href = "basic - obedience.html" > obedience base < /a > < /li >

    < li > < a href = "dog-behavior - therapy.html" > < /a > < /li > behavioral therapy

    < li > < a href = "Council-and-train-dog - program.html" > consulting & training program < /a > < /li >

    < li > < a href = ' off-leash - training.html ' > Off Leash training < /a > < /li >

    < li > < a href = ' Puppy-training - program.html "> training Puppy < /a > < /li >

    < /ul >

    < br / >

    < iframe src = "/ / www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2F NYDogWorks % 2F219268038151244% 3Ffref % 3Dts & amp;" width = 248 & amp; height = 558 & amp; show_faces = true & amp; ColorScheme = light & amp; stream = true & amp; border_color = % 23FFFFFF & amp; header = false"scrolling =" "frameborder ="0"style =" border: none; " overflow: hidden; Width: 248px; height: 558px; "allowTransparency ="true"> < / iframe >

    < p > < br / >

    < /p >

    < p > < / p >

    < p > < img src = "images/4449da18fc3aa2f249d17dc90ebd5531.jpg" width = "145" height = "136" / > < br / > "

    < /p >

    < / div >

    < div id = "mainContentFeature1" >

    < h2 > welcome to NY Dogworks < / h2 >

    < p > < img src = "images/dog-break - through.jpg" alt = "new york dog trainer" width = "136" height = "170" class = "h_img_float_right" / > our private, a training courses are conducted at your home by a certified professional trainer and Expert in behavior. Lessons are adapted to fit what you want to do with your puppy or adult dog. < br / >

    < br / >

    We use a humane, positive and scientifically rigorous approach that makes it easy for you and your dog to succeed. Our instructions are broken down into simple steps that everyone can participate in the training and be able to practice with the family. < br / >

    < br / >

    < span class = "employeeName" > call today for a free Consultation!      </span > < / p >

    < p > do not have the time or patients to do the training? Well, NY DogWorks has the answer... We now < a href = "Council-and-train-dog - program.html" > Committee and train programs < /a > in our Center of beautiful in the house owner & amp; Trainer Brian DeMartino. It is a program of 2 to 6 weeks which is guaranteed 100%. Your dog will stay with us, without collecting additional taxes if we believe that it is not ready to move. This program may be for burglary, puppy training, socialization / obedience & amp; Manners / problem behaviours such as aggression, anxiety or fears / staff / training leaves an advanced Protection and much more... < /p >

    < p > we also < a href = "Council-and-train-dog - program.html" > < /a > dogs in our facility on board if you go far and that your animal of the family to be taken care 24/7 as is he or she was one of us. A lot of game time, walks, individual attention, grooming, if necessary, the comfortable sleeping areas, with their own bed and lots lots of love... < /p >

    < p > let us help you have the relationship you and your dog deserve... < br / >

    < br / >

    < strong > we accept now < facilities > < br / >

    < img src = "images/creditcards.jpg" width = "228" height = "43" alt = "now accepts credit cards" / > < br / > "

    < br / >

    < br / >

    < /p >

    < p > < br / >

    < /p >

    < p > < br / >

    < br / >

    < / div >

    < div id = "mainContentFeature2" >

    < form action = "form.php" method = "post" name = "form2" id = "form2" > < table width = "279" border = "0" cellpadding = "2" cellspacing = "2" > "

    < b >

    < td width = "273" > < Contact fast h2 > < / h2 > < table >

    < /tr >

    < b >

    < class td = "mainContent" > your name < table >

    < /tr >

    < b >

    < td > < span class = "style9" >

    < input name = "forname" type = "text" class = "colorfieldssmall" id = "forname" size = "20" / >

    </span > < table >

    < /tr >

    < b >

    < class td = "mainContent" > your Email address * (required) < table >

    < /tr >

    < b >

    < td > < span class = "style7 style9" >

    < input name = "Admail" type = "text" class = "colorfieldssmall" id = "Admail" size = "25" / >

    </span > < table >

    < /tr >

    < b >

    < class td = "mainContent" > < table > phone number

    < /tr >

    < b >

    < td > < span class = "style7 style9" >

    < input name = "phone" type = "text" class = "colorfieldssmall" id = "phone" / >

    </span > < table >

    < /tr >

    < b >

    < td > < span class = "mainContent" > Type of dog training </span > < table >

    < /tr >

    < b >

    < class td = "mainContent" > < span class = "style9" >

    < select name = "need" class = "colorfieldssmall" id = 'need' >

    < option value = "A SΘlectionner" > select a < / option >

    < option value = "basic obedience" > obedience based < / option >

    < option value = "Behavior therapy" > behavioral therapy < / option >

    < option value = "Council and Train" > Board and Train < / option >

    < option value = "Off Leash Training ' > Off Leash training < / option >

    < option value = 'Puppy Training' > training Puppy < / option >

    < / select >

    </span > < table >

    < /tr >

    < b >

    < td > < span class = "mainContent" > feedback </span > < table >

    < /tr >

    < b >

    < td > < textarea name = "comments" id = cols 'comments' = '24' ranks '8' = > < / textarea > < table >

    < /tr >

    < b >

    < td > < div align = "left" >

    < input type = "submit" name = "submit" id = "submit" value = "Submit" / >

    < / div >

    < table >

    < /tr >

    < / table > < / make >

    < h2 > < br / >

    We are available in the following areas: < / h2 >

    < p > Long Island, Nassau County, Suffolk County, Manhattan, Brooklyn, Bronx, & amp; Queens. < /p >

    < p > * we pick up and drop off services for your pet for boarding and the boarding and training. < br / >

    < /p >

    Dog training testimonials < h2 > < br / >

    < / h2 >

    < p > Send to Brian Otis to Board and train program has been the best decision I ever made.  After being told Otis could not be helped, and it should be watched, I was devastated.  Otis is Brian program from a few weeks back and is extremely docile and friendly.  It's the same pup we brought back a few years previously, but more calm and without any aggression.  We are working on obedience Otis' every day and walk him and he put on the conveyor belt.   Thanks to Brian, our dog is carefree and more affordable.  The list goes on and the way that Brian has helped the family, myself and especially Otis.  If you are having problems with your dog, especially problems of behaviour and aggression, my advice to you is to trust Brian.  Your dog will be in good hands with a safe, reliable, responsible, in love with dog that will treat your dog as her own. < br / >

    < span class = "testimonalName" > < strong > < br / >

    Victoria Zilli < br / >

    < facilities > < / span > < span class = "mainContent" > Long Island, New York </span > < br / >

    < br / >

    < a href = "dog-trainer - testimonials.html" > read more dog training work < /a > < br / >

    < br / >

    < br / >

    < br / > < / div >

    < div id = "bread crumbs" >

    < p > < a href = "index.html" > home < /a > & gt; Welcome to the premier NYC dog training company, NY DogWorks < br / >

    < strong > serving all of Long Island, Nassau & amp; The County of Suffolk, Manhattan, Brooklyn, & amp; Queens < facilities > < br / >

    < /p >

    < / div >

    < / div >

    < div id = "footer" >

    < div id = "footermenu" >

    < div id = "footermenu1" >

    < / div >

    < / div >

    < div class = 'phone number' id = 'copyright' > Copyright © 2014 NY DogWorks < / div >

    " < div class ="stuck"id ="sitedesigner"> site on Long Island Web design by < a href =" http://www.wetribet.com "title = 'Wet Ribet' target = '_blank' class ="medlink"> wet Ribet < /a > < / div > "

    < / div >

    < / div >

    < / div >

    < / body >

    < / html >

    You can replace your code with my code - then it should work.

  • The two problems with sub form of table, associated with check boxes

    Hi all -
    Jari already helped me thereby once last week, but I'm running into some new questions.

    http://Apex.Oracle.com/i/index.html
    workspace: Leppard
    username: Guest
    PW: app_1000
    Application: MyTestApp

    Maybe I need to split these into two questions, if so just let me know.

    Question 1: On the first tab (tab 1 report) I have a simple tabular presentation based on the EMP table. The column of the box on the far right, when checked restores the Ename column readonly. The problem is that it only works one way. Unchecking the checkbox is not cancel the read-only.

    It is javascript code that I have on the page:
    function test(pThis) {
     //get the current row index on change
     var currIndex = $('input[name="'+pThis.name+'"]').index(pThis);
    
     // check current items value (return value of lov)
     if (pThis.value=='Y') {
      $('input[name="f02"]')[currIndex].style.backgroundColor = "LightGrey";
      $('input[name="f02"]')[currIndex].readOnly=true;
    }
    else if (pThis.value=='N') {
      $('input[name="f02"]')[currIndex].style.backgroundColor = "Red";
      $('input[name="f02"]')[currIndex].readOnly=false;
    }
    }
    The attribute of the element on the checkbox column is
    onClick="javascript:test(this);" 
    (It seems to work although I use onClick or onChange so I don't know if that makes a difference).

    But the main problem is that the code does not recognize the value of "n" in the column. I checked with firebug and columns I have untick are definitely on 'n', but I can't get javascript code to recognize this value. Even if I take the "ElseIf" code and just change the first part to (pThis.value ==' no) still does not work. There seems to be something with the value "n" recognize themselves do not, but I can not understand.

    Question 2: on the second tab - tab report 2. The same report but this time, I use a javascript character counter similar to that described in the sample application of the Dene (page 276 > http://apex.oracle.com/pls/otn/f?p=31517:276:19207673535900:NO). The counter of characters on the Ename field include javascript and an expression of HTML on the Ename column. The counter works fine, but now, the javascript code to make the column readonly work over all.

    Any ideas on these are much appreciated!

    Thanks in advance,
    John


    • Please please understand what HTML is generated and how to inspect. Once you do this, you can easily eliminate many problems with selectors not seeming to work. A text box is not an input for example element.
    • Boxes rely on the checked, not the value property. Apex circumvents this by creating a hidden extra element which will get the value based on the checked property of the visible checkbox
    • Do not use these horrible onchange and onclick attributes :( Use a dynamic action or jQuery to bind events.
    • Do not apply a style via javascript. Use CSS for this drive as with jQuery, you can easily add, remove, or toggle the classes too. And if you know jQuery selectors, you can understand css selectors because they are substantially the same.
    • I don't know why people insist on using rowIndex or substringing ID. I find it unnecessary and more complex that the alternative (crosses with jQuery)
    • The difficulty also in things into action through pagination. Running on just the visible page it of a trifle, but through paging requires more work than just check "fire on loading the page" is not enough. I'm sure you'd want your ENAME either red or gray column and readonly as soon as the page is loaded, and not when you start typing in the box...

    Form 1 tab: copied to Page 12 and made my changes here:_


    • OnChange on ENAME. This removed. No idea why you would need it there seems a crutch for not having the field in the desired state when the page is loaded.
    • OnClick on CHECKBOX. Removed what I hate these attributes. Replaced by a dynamic action.
    • Dynamic action "checkbox: ENAME readonly value."

      • Event: After refresh
      • Selection type: region
      • Region: Form of tab 1
      • No condition
      • Scope of the event: static
      • Real Action

        • Run the JavaScript Code
        • Fire on loading the Page: YES
        • Code:

          //at page load and after each region refresh:
          //each: check all checkboxes and set readonly on ename accordingly
          //click: when the checkbox changes, change ename accordingly
          $("td[headers='CHECKBOX'] input[type='checkbox']:visible")
          .each(function(){checkReadonly(this);})
          .click(function(){checkReadonly(this);});
          



  • Page > function and global variables declaration

    function checkReadonly(pCheck){
       var lCheck = $(pCheck);
       lCheck.closest("tr")
       .find("td[headers='ENAME'] input:visible").each(function(){
          $(this).prop("readonly", lCheck.prop("checked"));
       });
    };
    

  • Page > CSS Inline

    td[headers='ENAME'] input{
    background-color: red;
    }
    td[headers='ENAME'] input[readonly]{
    background-color: lightgrey;
    }
    

    CSS works so much better for this than the application of style through js...

  • Form 2 tab: copied to Page 13 and made my changes here:_


    • OnChange on ENAME. This removed. No idea why you would need this.
    • OnClick on CHECKBOX. Removed what I hate these attributes. Replaced by a dynamic action.
    • Dynamic action: identical to page 12, just modified trigger area
    • Changed input to TEXTAREA when it is required:
    • Page > function and global variables declaration

      function checkReadonly(pCheck){
         var lCheck = $(pCheck);
         lCheck.closest("tr")
         .find("td[headers='ENAME'] textarea:visible").each(function(){
            $(this).prop("readonly", lCheck.prop("checked"));
         });
      };
      

    • Page > CSS Inline

      td[headers='ENAME'] textarea{
      background-color: red;
      }
      td[headers='ENAME'] textarea[readonly]{
      background-color: lightgrey;
      }
      

    • The f_set_counter function, I changed a bit: there are 2 straps too, put a semicolon at the end of each line.
      -Change $x (node) .value $s (node, value) and $v (node)
      -changed $x (node) .innerHTML to $(node) .text)
      I know: it worked. I like this better. OCD? :/

    function f_set_counter(pThis,pLength,pMaxLength,pReset)
    {
       if (pLength>pMaxLength){
          alert('The maximum length of '+pMaxLength+' exceeded.');
          $s(pReset, $v(pReset).substring(0,pMaxLength));
          $("#"+pThis).text(pMaxLength);
       }else{
          $("#"+pThis).text(pLength);
       };
    };
    

    Published by: Tom on February 15, 2013 12:48
    Made a mistake in the case of dynamic action :->, click after refresh!

  • problem with JInternalFrame?

    Hi I have a problem with jinternal frame.

    I added get to the JPAnel and this scrollpane to frame internal, but when the jinternal frame is open vertical and horizantal scrolls do not appear.


    my code is as follows:-


    Inner code of the frame: -.
         @Override
         public void menuSelected(MenuEvent arg0) {          
              JInternalFrame addShopIf=new JInternalFrame("Add Shop");
              Container ctr=addShopIf.getContentPane();
              ctr.setLayout(new BorderLayout());
              MainPanel mainPanel=new MainPanel();
              JScrollPane scroll=new JScrollPane(mainPanel);
              ctr.add(scroll,BorderLayout.CENTER);
              desktop.add(addShopIf,1);          
              addShopIf.setClosable(true);
              addShopIf.setMaximizable(true);
              addShopIf.setResizable(true);
              addShopIf.setIconifiable(true); 
              try { 
                   addShopIf.setSelected(true); 
               } catch (java.beans.PropertyVetoException e2) { 
                 } 
              addShopIf.setSize(400, 400);
              addShopIf.setVisible(true);
              
         }
    Published by: Myriam March 19, 2012 11:41

    Published by: Myriam March 19, 2012 11:45

    By default, the scroll bars are visible only when necessary, that is, the content of the provided element is larger than the size of itself. Have you tried to resize the element to display the scroll bars appear?

  • squiggly_p4, problem with Spark container

    Hello

    Environment: Flex SDK 4.5 Hero, Win7 64-bit, Flash Builder 4

    Code snippet

    < s:Panel >

    < mx:TextArea id = "myTextArea" width = "300" height = "200" / >

    < / s:Panel >

    < s:TitleWindow >

    < mx:TextArea id = "myTextArea" width = "300" height = "200" / >

    < / s:TitleWindow >

    Result:

    There is no suggestion for thos Halo TextArea if it belongs to the container of the spark.

    Capture.PNG

    Capture2.PNG

    Maybe: ContextMenu is uninitialized or not properly initialized.

    Thank you

    Jing

    It is a known problem with the panels of the spark. Please refer to http://forums.adobe.com/thread/706416?tstart=0

    Thank you

    Ravi

  • Custom problem with scrollbar in kifani

    Hi, I have a class that extends kifani. This class displays a JEditorPane inside a get for simple HTML display (I have try it with text, the problem persists).

    The problem is that, so I put a date in the JEditorPane and the scollbars are visible, they are positioned at the end of the 'view '! I try to reproduce the problem with a simple swing application, but it works.

    Any idea?

    PS: I'm using Jinitiator 1.3.1.25

    Here is the code:
    package ch.ceg.ecoles.forms.pjc;
    
    import java.awt.Rectangle;
    
    import javax.swing.JEditorPane;
    import javax.swing.JScrollPane;
    
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    
    public class HtmlFrame extends VBean {
    
         private static final long serialVersionUID = 1L;
         // property to set the content
         public final static ID pSetContent = ID.registerProperty("SETCONTENT");
         // private variables
         private JEditorPane htmlPane;
         private String content;
    
         public HtmlFrame() {
              super();
    
              htmlPane = new JEditorPane("text/text", "Chargement en cours...");
    
              htmlPane.setEditable(false);
              JScrollPane scrollPane = new JScrollPane(htmlPane);
              add(scrollPane);
         }
    
         public boolean setProperty(ID pId, Object pValue) {
    
              if (pId == pSetContent) // set and display the new URL
              {
                   String sValue = (String) pValue;
                   content = sValue;
                   htmlPane.setText(content);
                   
                   htmlPane.scrollRectToVisible(new Rectangle(0,0,1,1));
                   System.out.println("après le scroll");
    
                   return true;
              } else {
                   return super.setProperty(pId, pValue);
              }
         }
    }

    Use:

    htmlPane.setCaretPosition(1);
    

    Instead of

    htmlPane.scrollRectToVisible(new Rectangle(0,0,1,1));
    

    François

  • problems with, phone, 6, Bluetooth kit, Nissan, after update, for, Rios, 1.0.2

    After the update to ios 10.0.2 - trying to use bluetooth to call my vehicle, it says: "this article is not in your phone book." How can I solve this problem?

    Greetings, joybelino1!

    Thank you for joining the communities Support from Apple! I can't wait to see that you are having problems with your Bluetooth in your car! The good news is that Apple has a great article that will help you with measures to try to resolve the problem. Read this article to gethelp to connect your iPhone, iPad, or iPod touch with your car radio. Even though he talks about problems with the connection, it also has the steps for other questions you may have once connected.

    If you use Bluetooth

    1. Consult the user manual of your car stereo to get the procedure to a Bluetooth device.
    2. On your iOS device, drag up to open Control Center, then press ontwice to turn on Bluetooth and turn it back on.
    3. Restart your iOS device.
    4. On your iOS device, Cancel the twinning of your car radio. On the screen of your car désapparier your iOS device and any other device. Restart your car and your iOS device, then pair and connect again.
    5. Update your iOS device.
    6. Install the updates to the firmware of your car radio.
    7. If you still not connect, contact Apple technical support.

    Have a great day!

  • Anyone having problems with WiFi connectivity after upgrade to Sierra?

    I was wondering if anyone else knows issues with WiFi connectivity since the upgrade to Sierra 10.12? I have not had any problems with connectivity WiFi previously on El Capitan. Now I have regular randomly loose connectivity. My internet is cable and when it is connected I have a 100% connection. My details of iMac and I have used only 10% of my storage.

    No problem with my iphone 6.

    Hello AspDesigns,

    I understand that, since the upgrade to Mac OS Sierra, your Mac seems to have trouble staying connected to Wi - Fi. Fortunately the diagnosis built-in wireless can help identify the source of so much trouble.

    Search for Wi - Fi using your Mac problems

    See you soon!

  • Problems with mail after switching to macOS Sierra

    Hey all

    After having recently upgraded to macOS Sierra, I am unable to read my mail.

    I get the following error every time I check on "Get Mail".

    There may be a problem with the mail server or the network. Check the account settings "*" or try again.

    The server returned the error: Mail could not connect to the server 'pop1.tribcsp.com' using SSL on the default ports. Verify that this server supports SSL and that your account settings are correct.

    What does this error message mean and how can I solve this problem.

    Thank you

    Hi Michael,

    I see your message that you get an error in the mail indicating that there is a problem with the mail server or the network.  To help get this problem resolved, I suggest that you follow the steps below:

    If mail refers to a problem with the mail server, or the network

    Mail will say that it is impossible to connect due to a problem with the mail server or the network. For example, the message may refer to a connection that has expired, or too many simultaneous connections:

    If you are connected to the Internet, but the connection has expired, your email provider might be affected by a discontinuance of service. Contact them or see their status Web page to ensure that their e-mail service is online. Examples of status pages:

    If the message indicates the number of simultaneous connections, too many of your devices is check your e-mail account at the same time. Quit Mail on one or more of your other devices.

    If you are still unable to send or receive e-mails

    1. Make sure that you have installed latest version of the Mac software updates, especially if the problem occurred immediately after the installation of a previous update.
    2. In OS X El Capitan or later version, you can see a status icon and the short error message in the upper right of the Mail window, under the search box. The message may indicate 'Network offline' or 'Connection failed', for example. Click the message to see more details on the issue.
    3. Check your connection to the Mail connection doctor. It might be able to say more on the issue.

    If you cannot send or receive e-mail on your Mac.

    Take care.

Maybe you are looking for

  • Server settings fail but work elsewhere

    I tried to get Thunderbird to work on Windows 7 for a few weeks now (not continuous, but I've tried several times during this period.) He said: it could not find the server settings. All parameters to be entered are correct (and checked dozens of tim

  • ENVY 750-197c: still cannot successfully connect to wifi?

    Hello! I received my new desktop PC (a 750-197 c ENVY) probably about two weeks ago. Since then, I was not able to connect to wifi. The office came with Win 10 which I really didn't yet, so I went down to Win 8. After not being is not able to connect

  • How to convert songs to unprotected which have been purchased and are protected

    Several years ago, iTunes would classify songs like PROTECTED file format.  This block of songs [900] now posed problems for their use for current playlists because they will NOT work on devices such as my audio system with SONOS.   How can I convert

  • Lines black scanning with a Photosmart 7520

    Hello I wonder if you can help. I have a line solid black verital appear when you use the scanner auto feed the 7520. I searched the forum and saw that this is a common problem, but impossible to find a solution that works, or a link to a solution th

  • Device not recognized usb - USB failure

    Please please can someone help me, I have a problem with Vista. None of my USB work and I keep gettting the unrecognized USB device, showing both the State Bar and the Device Manager. I tried all the suggestions on the web, uninstalling the USB and r