ITPub博客

首页 > Linux操作系统 > Linux操作系统 > APP_ITEM_PROPERTY.SET_PROPERTY 用法

APP_ITEM_PROPERTY.SET_PROPERTY 用法

原创 Linux操作系统 作者:kawontony 时间:2013-02-22 09:13:30 0 删除 编辑

ALTERABLE

app_item_property.set_property(itemid, ALTERABLE,PROPERTY_ON);

is equivalent to:
set_item_instance_property(itemid, CURRENT_RECORD,INSERT_ALLOWED, PROPERTY_ON);
set_item_instance_property(itemid, CURRENT_RECORD,UPDATEABLE, PROPERTY_ON);
set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

ALTERABLE_PLUS

app_item_property.set_property(itemid, ALTERABLE_PLUS,PROPERTY_ON);
is equivalent to:
set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
set_item_property(itemid, UPDATEABLE, PROPERTY_ON);
If the item is currently hidden, no action is taken.

ENTERABLE

app_item_property.set_property(itemid, ENTERABLE,PROPERTY_ON);
is equivalent to:
set_item_instance_property(itemid, CURRENT_RECORD,INSERT_ALLOWED, PROPERTY_ON);
set_item_instance_property(itemid, CURRENT_RECORD,UPDATEABLE, PROPERTY_ON);
set_item_instance_property(itemid, CURRENT_RECORD,NAVIGABLE, PROPERTY_ON);
set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
set_item_property(itemid, UPDATEABLE, PROPERTY_ON);
set_item_property(itemid, NAVIGABLE, PROPERTY_ON);
If the item is currently hidden, no action is taken.

ENABLED

app_item_property.set_property(itemid, ENABLED,PROPERTY_ON);
is equivalent to (for a text item or a list item):
set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
set_item_property(itemid, UPDATEABLE, PROPERTY_ON);
set_item_property(itemid, NAVIGABLE, PROPERTY_ON);
If the item is a button, then the
APP_ITEM_PROPERTY.SET_PROPERTY call is equivalent to:
set_item_property(itemid, ENABLED, PROPERTY_ON);
If the item is not a text item, list, or button, then the
APP_ITEM_PROPERTY.SET_PROPERTY call is equivalent to:
set_item_property(itemid, ENABLED, PROPERTY_ON);
set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

DISPLAYED

app_item_property.set_property(itemid, DISPLAYED,PROPERTY_ON);
is equivalent to:
set_item_property(itemid, DISPLAYED, PROPERTY_ON);
If the item is not a display item then also set:
set_item_property(itemid, ENABLED, PROPERTY_ON);
set_item_property(itemid, NAVIGABLE, PROPERTY_ON);
If the item is neither a display item nor a button then also set:
set_item_property(itemid, QUERYABLE, PROPERTY_ON);
set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

REQUIRED

app_item_property.set_property(itemid, REQUIRED,PROPERTY_ON);
is equivalent to:
set_item_property(itemid, REQUIRED, PROPERTY_ON);
If the item is currently hidden, no action is taken.

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

下一篇: Closing Window详解
请登录后发表评论 登录
全部评论

注册时间:2010-11-17

  • 博文量
    183
  • 访问量
    433677