当前位置:   article > 正文

关于FORM FOLDER 的布局

app_folder.verify

网上有关于FOLDER布局:
转载 -----------------
附加一点Form布局:由于对form进行了一些完善,主要包括增加弹性域和附件,又遇到了一些关于布局的问题,form的布局真是一个比较麻烦的事情啊。做folder时,如果保存了一个文件夹,那么在做folder修改时,会发现无论怎么做修改,都不会改变,今天做folder时,添加的字段总也显示不出来,把字段显示出来后,布局还是不正确,后来发现是保存了folder的文件夹。还有,做完folder后,在WHEN-NEW-FORM-INSTANCE里用app_folder.event('VERIFY')检查一下布局,修改好后,再注释掉。在使用了固定堆叠画布以后,记得在WHEN-NEW-FORM-INSTANCE里修改app_folder.define_folder_block()。固定堆叠还是很有用的,没用它的时候,窗口拉多大,堆叠画布就跟着跑多远,在布局的时候,设定了它的宽度也没用。

[@more@]

今天我使用app_folder.event('VERIFY');来做检查,
但是在R12中使用该代码时,会提示一个FOLDER ERROR错误,错误上有提示说是用在系统的检查功能里,设置global.folder_verify_mode这个值为TRUE,然后下次打开FOLDER FORM上会弹出需保存一个文件,这个文件包含了检查的内容,示例内容如下:
Current form: CUXCASEINV

Checking prompt block FOLDER_PROMPT...
FOLDER_PROMPT.RELATION_FLAG should have an alignment of [Center].
Consider setting the width of each checkbox prompt to .1 inch so that checkboxes will be centered correctly under their prompts.
FOLDER_PROMPT.DESCRIPTION must be at Y=0.0 inches.
FOLDER_PROMPT.QUANTITY must be at Y=0.0 inches.
FOLDER_PROMPT.UOM must be at Y=0.0 inches.
FOLDER_PROMPT.CASE_INV_NUMBER must be at Y=0.0 inches.
FOLDER_PROMPT.NOTE must be at Y=0.0 inches.
FOLDER_PROMPT.SEGMENT1 must be at Y=0.0 inches.
FOLDER_PROMPT.SEG_DESCRIPTION must be at Y=0.0 inches.
FOLDER_PROMPT.ENABLE_DATE_FROM must be at Y=0.0 inches.
FOLDER_PROMPT.ENABLE_DATE_TO must be at Y=0.0 inches.
FOLDER_PROMPT.FOLDER_OPEN should be at X=0.1 inches.
FOLDER_PROMPT.FOLDER_TITLE should be 4 inches wide.
FOLDER_PROMPT.FOLDER_TITLE should be at X=0.4 inches.

Checking folder block CUX_CASE_INV_RELATION...
INDICATOR is in CUX_CASE_INV_RELATION but not in FOLDER_PROMPT.
CUX_CASE_INV_RELATION.RELATION_FLAG must have a height of .25 inches.
CUX_CASE_INV_RELATION.DESCRIPTION must be at Y=.25 inches.
CUX_CASE_INV_RELATION.QUANTITY must be at Y=.25 inches.
CUX_CASE_INV_RELATION.UOM must be at Y=.25 inches.
CUX_CASE_INV_RELATION.CASE_INV_NUMBER must be at Y=.25 inches.
CUX_CASE_INV_RELATION.NOTE must be at Y=.25 inches.
CUX_CASE_INV_RELATION.SEGMENT1 must be at Y=.25 inches.
CUX_CASE_INV_RELATION.SEG_DESCRIPTION must be at Y=.25 inches.
CUX_CASE_INV_RELATION.ENABLE_DATE_FROM must be at Y=.25 inches.
CUX_CASE_INV_RELATION.ENABLE_DATE_TO must be at Y=.25 inches.

Checking for other specific items...
CUX_CASE_INV_RELATION must contain a SWITCHER or FOLDER_SWITCHER item.

VERIFY: Completed for block CUX_CASE_INV_RELATION.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21704144/viewspace-1046815/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/21704144/viewspace-1046815/

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/370902
推荐阅读
  

闽ICP备14008679号