[flexcoders] DataGrid scrolling

2006-06-15 Thread robbieshere
Hi all. I have been informed of a strange problem that occurs when you scroll down the rows of a datagrid using the "down" button on the keyboard: basically, my datagrid will not scroll to keep the selected row in view. Instead, the selected rows will approach the bottom of the grid, and keep scrol

[flexcoders] Re: variable holding function return type

2006-06-13 Thread robbieshere
s, but this will work. > > if (someFunction(data)){ >Result = true; > } else { >Result = false; > ) > > --- In flexcoders@yahoogroups.com, "robbieshere" > wrote: > > > > Hi. I have the following lines in an ActionScript code: > >

[flexcoders] variable holding function return type

2006-06-13 Thread robbieshere
Hi. I have the following lines in an ActionScript code: private var Result:Boolean; result = someFunction(data); if (Result){ etc.. } ..the function "someFunction()" returns a Boolean value. This code works fine, except when I perform a step trace, I notice that in the if statement, when it