zoukankan      html  css  js  c++  java
  • 【NX二次开发】Block UI 线性尺寸

    属性说明

    常规         类型 描述
        BlockID     String 控件ID
        Enable     Logical 是否可操作
        Group     Logical 是否分组
        Label     Utfstring 标题
        Show     Logical 是否可见
    其他            
        RetainValue Logical 是否保存值
        附件        
            Bottom Attachment 底部
            Left Attachment
            Right Attachment
            Top Attachment 顶部
    特定于块            
        AutoReverseDuringDrag Logical 负数是否逆向拖动
        BalloonTooltipImage String 标题气泡提示图片
        BalloonTooltipLayout Enum 标题气泡提示类型
        BalloonTooltipText Utfstring 标题气泡提示文本
        Formula Utfstring 公式
        HandleOrientation Vector 手柄方向
        HandleOrigin Point 手柄原点
        MaximumValue Double 最大值
        MaxInclusive Logical 包括最大值
        MinimumValue Double 最小值
        MinInclusive Logical 包括最小值
        ShowFocusHandle Double 是否显示线性尺寸值
        ShowHandle Double 是否显示线性尺寸
        ShowSpin Logical ?
        Value Double 控件值
        WithScale Logical 是否增加拖动按钮
         

    获取控件值

    doValLinear_dim0=this->linear_dim0->GetProperties()->GetDouble("Value"); 

    设置值

    double douA=0.5;
    this->linear_dim0->GetProperties()->SetDouble("Value",douA);

    设置不可更改

    this->linear_dim0->SetEnable(true);
  • 相关阅读:
    【AtCoder】Tenka1 Programmer Contest(C
    【AtCoder】AGC024
    【AtCoder】ARC098题解
    java反射机制详解 及 Method.invoke解释
    Spring切入点表达式常用写法
    border-radius 样式表CSS3圆角属性
    jquery判断自己是父节点的第几个子节点
    Spring事务配置的五种方式
    Spring中PropertyPlaceholderConfigurer的使用
    js中使用s(c)标签
  • 原文地址:https://www.cnblogs.com/KMould/p/13345970.html
Copyright © 2011-2022 走看看