简体   繁体   English

Openedge:在浏览中禁用单个单元格

[英]Openedge: disable single cell in browse

Is it possible to disable a single cell instead of a full column of a browse in progress? 是否可以禁用单个单元格而不是正在进行的浏览的完整列?

Now I do: 现在我做:

assign variable:read-only in browse {&browse-name} = true.

(This disables the whole column) (这会禁用整列)

Thank you. 谢谢。

Until the row that contains the cell that you want to disable is realized there is no way to tell the compiler what to disable. 在实现包含要禁用的单元格的行之前,无法告诉编译器要禁用的内容。 So it is a run-time decision and, therefore, you would have to do it with a ROW-DISPLAY trigger. 因此,这是一个运行时决策,因此,您必须使用ROW-DISPLAY触发器来执行此操作。

That involves getting a buffer handle and then the proper field. 这涉及获取缓冲区句柄,然后是正确的字段。 Something like (untested): 像(未经测试)的东西:

browseColumnBufferHandle:buffer-field( columnName ):read-only = true

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM