美好的一天,我正在使用 Oracle Forms Builder 开发一个系统。我有 3 个表单,MAIN、LOGIN 和 REGISTER 以及一个名为 MENU_MAIN 的菜单表单,它附加到 3 个表单,将显示的第一个表单是 MAIN,我禁用了一些按钮,因为用户无法访问,除非它们是注册并登录,现在我的问题是,他们登录后再次提示他们进入主界面,我需要启用禁用的按钮,我该怎么做?我要把代码放在登录名上吗?感谢您的回复
问问题
1162 次
1 回答
0
"am i gonna put the code on the LOGIN?"
Well I honestly don't know which other part of your application can know that a user has logged in, so yes, the LOGIN screen has to handle this.
What should it do? It should set a value in a global variable. Your MAIN screen should interrogate the global variable, probably in a When-New-Form-Instance
trigger, and set the buttons' properties accordingly.
于 2013-09-29T09:35:24.747 回答