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);
  • 相关阅读:
    [leetcode]_Search Insert Position
    [leetcode]_Merge Two Sorted Lists
    [leetcode]_Valid Parentheses
    喧闹中坚守底线-徘徊的行走在不知道路在何方的大地上。
    [leetcode]_Longest Common Prefix
    [leetcode]_Remove Nth Node From End of List
    [leetcode]_Roman to Integer
    [leetcode]_Palindrome Number
    策略模式(Strategy)
    面向对象
  • 原文地址:https://www.cnblogs.com/KMould/p/13345970.html
Copyright © 2011-2022 走看看