on 02-14-2012 4:44 PM
Hello all.
I'm inserting a new grid column on a specific grid of an addon and I'm having the following problem:
The column property "Editable" are "0" (false), but the rows below the last filled row looks as an editable column, only for this new column.
All visual code of this form are in a SRF file, and here is the tag of this column:
<GridColumn UniqueID="COCodLCM" Title="Código do LCM Gerado" LinkedObject="30" Visible="1" Editable="0" AffectsFormMode="1" RightJustified="0" Type="16" Width="151">
<ValidValues></ValidValues>
</GridColumn>
A printscreen of the problem:
http://img828.imageshack.us/img828/5217/problemnq.png
How can i fix this?
Thanks.
Edited by: Leandro Daminelli on Feb 14, 2012 5:55 PM
Hi Leandro,
the active grid might be holding cursor, that's why its not editable. please shift cursor position on some other fields say on empty Screen Field at header level..
try
Dim set_focus As Item
Set set_focus = oTmpForm.Items.Item("3")
set_focus.Click (ct_Regular)
o_Matrix.Columns.Item(3).Editable = False
Thanks and Regards,
kaviprashu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you!!
It works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Leandro,
the active grid might be holding cursor, that's why its not editable. please shift cursor position on some other fields say on empty Screen Field at header level..
try
Dim set_focus As Item
Set set_focus = oTmpForm.Items.Item("3")
set_focus.Click (ct_Regular)
o_Matrix.Columns.Item(3).Editable = False
Thanks and Regards,
kaviprashu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.