Hi Abdul

This problem of not being able to scroll using the Scroll wheel on the
mouse is causing a real pain.

My machine is a Toshiba Portage A 100 Laptop with Windows 2000 Advanced
Server with SP4

I am still getting the problem.

What could the cause be??

Srikanth



-----Original Message-----
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 08, 2005 7:04 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] couple of things needed for dropdown


Hi Srikanth,

Scrolling via Scroll Wheel seems to be working fine on my machine (IBM
T41
notebook with Windows XP SP2).

I tried scrolling via TrackPoint in T41, it doesn't work. However with a
proper mouse, I am able to scroll ComboBox list.

HTH,

-abdul 

-----Original Message-----
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 08, 2005 1:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] couple of things needed for dropdown


Hi Srikanth,

I will look into this issue, I will confirm the same later in evening.

Thanks

-abdul 

-----Original Message-----
From: Srikanth Duvvuri [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 08, 2005 1:25 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] couple of things needed for dropdown


Hey Abdul

Shall look into the combobox focus thing sent by you

Regarding the other point, yeah I mean the scroll wheel on the mouse. I
am
using IE 6.0 and it does not work. Dunno why??

Srikanth



-----Original Message-----
From: Abdul Qabiz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 08, 2005 1:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] couple of things needed for dropdown


See inline comments:-
 
 


> 1.Need to be able to set focus to a dropdown. Scenario: Click on save
button and you find that there is a validation error which needs the
user to
make a/another 
> choice on the dropdown. The focus should get set to the dropdown. 

Setting the focus on ComboBox while mouse is still over Button, would be
hard. But there is a better of doing validation, you can use Validator
to
show error messages. If user has selected a wrong option, ComboxBox's
border
would turn read and doing a mouse-hover would reveal a error message.

See the example code below.




> 2.Need facility to be able to scroll through the list of values in a
dropdown using the roller button on a mouse. This does not seem to
happen
for a dropdown created 
> using Flex 

You mean Scroll Wheel in Mouse. It does work, did you test in browser?
it
works on Firefox as well as IE.


###test.mxml###

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";
creationComplete="onAppInit()" >
<mx:Script>
<![CDATA[
var countries;
                
function onAppInit()
{
countries = ["India", "Pakistan", "Sri Lanka",
"Indonesia", "Singapore", "USA", "UAE"];
}
                
function validateCountry(validator, value)
{
                                

if (value == "Pakistan" || value ==
"Indonesia") {
validator.validationError("Wrong
Country", "This country is not supported country list.", "country");
                                        
}
}

]]>
</mx:Script>
<mx:Model id="membership">
<country>{countryNames_cb.value}</country>
</mx:Model>
<mx:Form id="membershipForm">
<mx:FormItem id="countryNamesItem" label="Countries">
<mx:ComboBox id="countryNames_cb" dataProvider="{countries}"/>
</mx:FormItem>
</mx:Form>
<mx:Validator field="membership.country" listener="countryNames_cb"
validate="validateCountry(event.validator, event.value);"/>
</mx:Application>




HTH,

-abdul


 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links



 





Reply via email to