对下面的内容不了解,就以我要改变业务功能树的样式和将业务功能树移到窗体左面来讲,我该怎么去做?
10.业务功能树
在 系统空间\简洁风格\界面库\窗体库\标准风格主窗体 中用代码动态创建
业务功能树是FFuncNavBar是TOperatorFuncNavBar类从TdxNavBar继承下来
在 TStandardStyleMainForm.Create 中创建
FFuncNavBar.Groups[Index]是TdxNavBarGroup类
需要修改可以参考 http://www.justep.com/ftp/BusinessPartner/Docs/NavBarHelp.zip
分组上用到的图标,在 系统空间\用户界面基础\库\公共组件库 中可以加载图标
procedure TUserGraphics.AddDefaultSystemIcons;
begin
AddIcon(GetIconURL(IconID_Sys_Desktop), IconID_Sys_Desktop);
AddIcon(GetIconURL(IconID_Sys_FuncLibrary), IconID_Sys_FuncLibrary);
AddIcon(GetIconURL(IconID_Sys_ShortcutOverlay), IconID_Sys_ShortcutOverlay);
AddIcon(GetIconURL(IconID_Sys_MyFuncsFolder), IconID_Sys_MyFuncsFolder);
AddIcon(GetIconURL(IconID_Sys_StartupFolder), IconID_Sys_StartupFolder);
AddIcon(GetIconURL(IconID_Sys_Favorites), IconID_Sys_Favorites);
AddIcon(GetIconURL(IconID_Sys_Func), IconID_Sys_Func);
AddIcon(GetIconURL(IconID_Comm_ClosedFolder), IconID_Comm_ClosedFolder);
AddIcon(GetIconURL(cIconID_Comm_OpenFolder), cIconID_Comm_OpenFolder);
AddIcon(GetIconURL(cIconID_Comm_Default), cIconID_Comm_Default);
end; |