iCAx开思网

标题: 关于UF_TABNOT_create的问题 [打印本页]

作者: ugQ    时间: 2010-8-31 10:28
标题: 关于UF_TABNOT_create的问题
我在代码中用UF_TABNOT_create创建了表格,这个没有问题。

问题是我在ug nx中无法对这个表格进行操作,比如选择,修改什么。

是不是有什么函数需要“激活”表格?

贴上创建表格的代码。
UF_TABNOT_section_prefs_t prefs;
prefs.header_location = UF_TABNOT_header_location_none;
prefs.point=UF_TABNOT_point_bottom_left;
prefs.max_height = 600;
prefs.overflow_direction=UF_TABNOT_overflow_right;
ifail = UF_TABNOT_create(&prefs,origin,&tabular_note);
作者: lsr820903    时间: 2010-9-11 17:17
你的UF_TABNOT_section_prefs_t prefs;类型有个参数没有设置,查看帮助对照一下
作者: HCJ2008    时间: 2010-9-22 07:14
是可以修改的
作者: LIUCHANGLIN    时间: 2011-2-12 10:40
UF_TABNOT_section_prefs_t prefs;
        UF_TABNOT_ask_default_section_prefs(&prefs);
        tag_t   tabular_note;
        double  origin[3]={0};
    UF_CALL(UF_TABNOT_create(&prefs,origin,&tabular_note));
应这样
作者: liweixiaogui_10    时间: 2011-2-13 14:38
UF_TABNOT_section_prefs_t prefs;
UF_TABNOT_ask_default_section_prefs(&prefs);
prefs.overflow_spacing=8;
prefs.max_height=400;
double origin[3]={10,10,10};

tag_t tabular_note;
UF_TABNOT_create(&prefs,origin,&tabular_note);

正常情况是不用设置什么的,ug里面也可以改变




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3