oracle 如何在oracle forms 10g中启用和禁用按钮的一个和另一个
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/30044560/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to enable and disable the button's one & another in oracle forms 10g
提问by Rajesh123
I have create,save,update and delete button's in a form. At first only create button must be enabled and all other buttons disabled, once we create a record, then the save button is enabled. The update and delete button is enabled after we click on save button.
我在表单中创建、保存、更新和删除按钮。首先必须启用创建按钮,禁用所有其他按钮,一旦我们创建记录,则启用保存按钮。单击保存按钮后,更新和删除按钮被启用。
回答by pablomatico
You can enable and disable buttons with:
您可以启用和禁用按钮:
set_item_property('BUTTON_NAME',enabled,property_true);
set_item_property('BUTTON_NAME',enabled,property_false);