zoukankan      html  css  js  c++  java
  • TdxDbOrgChart 图标显示问题

    procedure TfrmsysWorkManage.DBTreeCreateNode(Sender: TObject; Node: TdxOcNode); 
    begin 
     inherited; 
     with Node,WorkCDS do 
     begin 
       Node.ChildAlign := GetNodeAlign(FindField('显示方式').AsString); 
       Node.ImageAlign := GetImageAlign(FindField('索引位置').AsString); 
     end; 
    end; 
    控件设置: 
    object DBTree: TdxDbOrgChart 
           Left = 1 
           Top = 1 
           Width = 361 
           Height = 469 
           KeyFieldName = 工作流自动编号         
           ParentFieldName = 父编号         
           TextFieldName = 角色名称       
           OrderFieldName = 父编号         
           ImageFieldName = 索引值 
           DefaultNodeWidth = 90 
           DefaultNodeHeight = 70 
           Options = [ocSelect, ocFocus, ocButtons, ocDblClick, ocEdit, ocCanDrag, ocShowDrag, ocInsDel, ocRect3D, ocAnimate] 
           EditMode = [emCenter, emVCenter, emWrap] 
           Images = BaseDM.ilBtn_E 
           DefaultImageAlign = iaLT 
           OnCreateNode = DBTreeCreateNode 
           Align = alClient 
           Font.Charset = DEFAULT_CHARSET 
           Font.Color = clWindowText 
           Font.Height = -11 
           Font.Name = 'Arial' 
           Font.Style = [] 
           PopupMenu = PopupMenu 
           ParentFont = False

  • 相关阅读:
    ARC和MRC兼容和转换
    ARC下的内存管理
    嵌入式硬件系列一:处理器介绍
    嵌入式Linux GCC常用命令
    一. Linux 下的常用命令
    ARM学习中的必知基本常识
    二叉搜索树详解
    从入门到高手,嵌入式必会技能及学习步骤总结
    史上最全Linux目录结构说明
    排序系列之六:快速排序法进阶
  • 原文地址:https://www.cnblogs.com/Thenext/p/13937587.html
Copyright © 2011-2022 走看看