Re: list field not getting arrowkey msg

2015-07-22 Thread BNig
e focusedObject = the long id of me then >> activateLine >>end if >> end checkWhoIsFocused >> >> on activateLine >>put the hilitedLine of me into tHilitedLine >>if tHilitedLine <> "" then select line tHIlitedLine of me >&g

Re: list field not getting arrowkey msg

2015-07-22 Thread Mike Bonner
end if > end checkWhoIsFocused > > on activateLine >put the hilitedLine of me into tHilitedLine >if tHilitedLine <> "" then select line tHIlitedLine of me > end activateLine > -------------- > > Kind regards > > Bernd > &g

Re: list field not getting arrowkey msg

2015-07-22 Thread BNig
tivateLine put the hilitedLine of me into tHilitedLine if tHilitedLine <> "" then select line tHIlitedLine of me end activateLine -- Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.co

Re: list field not getting arrowkey msg

2015-07-21 Thread Mike Bonner
Very weird. I can't get arrow keys to work with any list field if the selection is empty. But hey, all that matters is that it works. On Tue, Jul 21, 2015 at 1:46 PM, Peter M. Brigham wrote: > On Jul 21, 2015, at 12:44 PM, Mike Bonner wrote: > > > What I mean is.. When I use tab to change focu

Re: list field not getting arrowkey msg

2015-07-21 Thread Peter M. Brigham
On Jul 21, 2015, at 12:44 PM, Mike Bonner wrote: > What I mean is.. When I use tab to change focus between fields, the arrow > keys do nothing in the field I tabbed into. > When I click and select a line in the field, then the arrow keys work. In > the former, the focusedobject correctly shows th

Re: list field not getting arrowkey msg

2015-07-21 Thread Peter M. Brigham
So creating a new list field (with the same script as the old one) and deleting the old list field did the trick. I don't know what field property setting that I was unaware of caused this problem. AFAIK, there should be no field property that blocks a list field from getting arrowkey messages,

Re: list field not getting arrowkey msg

2015-07-21 Thread Mike Bonner
Heres the bug you reported Richard: http://quality.runrev.com/show_bug.cgi?id=13689 Going to add a note to it. On Tue, Jul 21, 2015 at 10:55 AM, Mike Bonner wrote: > Depends, I went back to 6.6.2. Don't know if it goes farther back than > 5.5, but.. is this expected behavior or no? > > I'll see

Re: list field not getting arrowkey msg

2015-07-21 Thread Mike Bonner
Depends, I went back to 6.6.2. Don't know if it goes farther back than 5.5, but.. is this expected behavior or no? I'll see if I can locate the report real quick. On Tue, Jul 21, 2015 at 10:50 AM, Richard Gaskin wrote: > Mike Bonner wrote: > > What I mean is.. When I use tab to change focus bet

Re: list field not getting arrowkey msg

2015-07-21 Thread J. Landman Gay
On July 21, 2015 9:38:11 AM CDT, "Peter M. Brigham" wrote: >I don't see anything in my mouseup script that would change the focus: > >on mouseup tBtn > select empty > -- putting "focus on me" here doesn't fix the problem As a test, remove the "select empty" line and see what happens. It migh

Re: list field not getting arrowkey msg

2015-07-21 Thread Richard Gaskin
Mike Bonner wrote: > What I mean is.. When I use tab to change focus between fields, the > arrow keys do nothing in the field I tabbed into. > When I click and select a line in the field, then the arrow keys > work. In the former, the focusedobject correctly shows the field in > question, but has

Re: list field not getting arrowkey msg

2015-07-21 Thread Mike Bonner
Hey, in fact, the easiest test I can find to prove this is.. put a mouseup handler in a field with ONLY select empty. Then try it. Boom, no arrow keys. On Tue, Jul 21, 2015 at 10:44 AM, Mike Bonner wrote: > What I mean is.. When I use tab to change focus between fields, the arrow > keys do noth

Re: list field not getting arrowkey msg

2015-07-21 Thread Mike Bonner
What I mean is.. When I use tab to change focus between fields, the arrow keys do nothing in the field I tabbed into. When I click and select a line in the field, then the arrow keys work. In the former, the focusedobject correctly shows the field in question, but has no selectedchunk. In the lat

Re: list field not getting arrowkey msg

2015-07-21 Thread Peter M. Brigham
That's my next step. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jul 21, 2015, at 11:26 AM, Dr. Hawkins wrote: > Foolish question, but have you tried creating a new field from scratch, > pasting the script, and seeing if that works? > > I've had to do that a c

Re: list field not getting arrowkey msg

2015-07-21 Thread Peter M. Brigham
When I add select line lineNbr of me or select before line lineNbr of me right after set the hilitedline of me to lineNbr in my mouseup handler, it makes no difference. Arrowkeys up and down still do nothing. Not sure what you mean when you say that an insertion point of some t

Re: list field not getting arrowkey msg

2015-07-21 Thread Dr. Hawkins
Foolish question, but have you tried creating a new field from scratch, pasting the script, and seeing if that works? I've had to do that a couple for times when some exotic and non-displayed property or another got set. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: list field not getting arrowkey msg

2015-07-21 Thread Mike Bonner
Having a line hilited isn't enough. It seems you MUST have an insertion point of some type. Either select the line lineNbr, or if there is nothing selected, set the selectedchunk to char 1 to 0 of me On Tue, Jul 21, 2015 at 8:38 AM, Peter M. Brigham wrote: > On Jul 21, 2015, at 2:07 AM, Kay C

Re: list field not getting arrowkey msg

2015-07-21 Thread Bob Sneidar
I ran into this and just worked around it. Bob S > On Jul 19, 2015, at 06:07 , Peter M. Brigham wrote: > > I have a list field in one stack that isn't behaving properly. List fields > are supposed to allow up and down arrowkeys to move the hilited line. From > the dictionary: "If a field's

Re: list field not getting arrowkey msg

2015-07-21 Thread Peter M. Brigham
On Jul 21, 2015, at 2:07 AM, Kay C Lan wrote: > On Mon, Jul 20, 2015 at 11:17 AM, Peter M. Brigham wrote: > >> >> Having found that the focus is on the card, for reasons best known to the >> engine (certainly not to me), >> > > What does the Message Watcher say? If on clicking on a line in th

Re: list field not getting arrowkey msg

2015-07-21 Thread Peter M. Brigham
I *have* a mouseup handler in the field, and it works fine. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jul 20, 2015, at 3:14 PM, J. Landman Gay wrote: > But did you try a mouseUp handler? I'm curious if the field is recognized in > any way. > > On 7/20/2015

Re: list field not getting arrowkey msg

2015-07-20 Thread Kay C Lan
On Mon, Jul 20, 2015 at 11:17 AM, Peter M. Brigham wrote: > > Having found that the focus is on the card, for reasons best known to the > engine (certainly not to me), > What does the Message Watcher say? If on clicking on a line in the fld fires a salvo of messages, somewhere - frontscript, bac

Re: list field not getting arrowkey msg

2015-07-20 Thread J. Landman Gay
But did you try a mouseUp handler? I'm curious if the field is recognized in any way. On 7/20/2015 1:47 PM, Peter Brigham wrote: Unfortunately, I still get nothing with "the hilitedlines of me" in the field script. The arrowkey message is not going to the field. Here's the arrowkey handler in

Re: list field not getting arrowkey msg

2015-07-20 Thread Peter Haworth
It's pretty clear LC doesn't think the list field has focus not sure why that would be. Maybe a "focus on me" from the list field's selectionChanged handler would help? On Mon, Jul 20, 2015 at 11:48 AM Peter Brigham wrote: > Unfortunately, I still get nothing with "the hilitedlines of me" in th

Re: list field not getting arrowkey msg

2015-07-20 Thread Peter Brigham
Unfortunately, I still get nothing with "the hilitedlines of me" in the field script. The arrowkey message is not going to the field. Here's the arrowkey handler in the card script. This works fine but I don't know why it should be necessary. on arrowkey what put hilitedline of fld "notesList"

Re: list field not getting arrowkey msg

2015-07-20 Thread J. Landman Gay
On 7/19/2015 10:17 PM, Peter M. Brigham wrote: There is a line selected. If I put the following into the field script: on arrowkey put the hilitedlines end arrowkey then click in the field to select a line, then hit up- or down-arrowkey, nothing happens. The field is apparently not getting

Re: list field not getting arrowkey msg

2015-07-19 Thread Mike Bonner
Strange that its not actually taking focus when you click on it. As far as there being a selection, it's weird. The tab thing I was mentioning freaked me out. Focusing the object with tab worked (the focusedobject said what I expected) but the arrow keys wouldn't work. When checking the selected

Re: list field not getting arrowkey msg

2015-07-19 Thread Peter M. Brigham
On Jul 19, 2015, at 10:12 AM, Mike Bonner wrote: > Not sure if this is what you're seeing, but if you are using tab to enter > the next field, then using arrow keys to navigate up and down, it doesn't > work. (6.7.6) When you tab into a list field, the hilite remains, but there > is no selection i

Re: list field not getting arrowkey msg

2015-07-19 Thread Mike Bonner
Not sure if this is what you're seeing, but if you are using tab to enter the next field, then using arrow keys to navigate up and down, it doesn't work. (6.7.6) When you tab into a list field, the hilite remains, but there is no selection in the field. IE no insertion point, so the arrow keys don'

list field not getting arrowkey msg

2015-07-19 Thread Peter M. Brigham
I have a list field in one stack that isn't behaving properly. List fields are supposed to allow up and down arrowkeys to move the hilited line. From the dictionary: "If a field's listBehavior property is set to true, and the user clicks a line, the entire line is highlighted. The Up and Down ar