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

  • 相关阅读:
    ubuntu14.04 允许root用ssh登录
    MySQL(Navicat)运行.sql文件时报错:[Err] 2006
    Ubuntu14.04 安装git
    Ubuntu14.04下安装redis
    ubuntu apt-get update 失败解决
    检出商品详情中的图片并替换url
    nohup和&后台运行,进程查看及终止
    ubuntu 的chmod 和 chown
    php5.4安装fileinfo扩展
    crontab
  • 原文地址:https://www.cnblogs.com/Thenext/p/13937587.html
Copyright © 2011-2022 走看看