Title: Arrow keys in TEXTEDIT in TABLE or SCROLLGRID Post by: Candy M. on October 27, 2008, 09:05:51 pm If you have a TEXTEDIT field in a TABLE or SCROLLGRID,
how do you enable the Down Arrow and Up Arrow keys to remain in the TEXTEDIT field and not go to the next row or previous row of the array? Thanks, Candy Title: Re: Arrow keys in TEXTEDIT in TABLE or SCROLLGRID Post by: . on October 27, 2008, 09:25:04 pm If you're running GDC 2.11 as Front-End, you may want to use "localAccelerators"styleAttribute. when set to yes, accelerators local to the widget have higher priority than the application accelerators. Set to no (default), application accelerators have higher priority.
Title: Re: Arrow keys in TEXTEDIT in TABLE or SCROLLGRID Post by: Candy M. on October 27, 2008, 11:36:35 pm The documentation says the default is "yes".
Can you provide an example as how I would indicate it in a ".4st" file. I can't seem to get it to work. I have: <Style name="TextEdit"> <StyleAttribute name="localAccelerators" value="no" /> </Style> I've tried "yes" and "no" and neither work. I think I'll try "1" or "0". Candy Title: Re: Arrow keys in TEXTEDIT in TABLE or SCROLLGRID Post by: . on October 28, 2008, 09:59:10 am I should not work late at home ;).
The doc is right, default value is "yes". BTW: in the coming 2.20, yes / 1 / true are the same (same for no / 0 / false). For historical reasons the value differs depending on the attributes, but this is not convenient, so this will be "solved" in 2.20. I'm using the following .4st Code
Actually, this has been designed for tables, so it does not work (today) with Matrix / Scrollgrid. As nothing is defined in the doc, it can be considered as a bug (#11482). I invite you to contact your support center for timeframe / availability questions. |