谁用过dxBar呀?

sailer_shi 2004-07-07 09:28:59
我在用dxBar做窗体的时候为什么总是在上面加不上东东呀(菜单和按钮什么都加不上)为什么?具体怎么做才能加上?
...全文
247 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
sailer_shi 2004-07-07
  • 打赏
  • 举报
回复
谢谢你了,问题解决
jacket008 2004-07-07
  • 打赏
  • 举报
回复
刚刚试了一下,要在设计器里把工具安钮、菜单等用鼠标拖到窗体的Toolbars中
sailer_shi 2004-07-07
  • 打赏
  • 举报
回复
jacket008(§优国优民§) 请说详细些好吗?我在设计器里面都添加好了,但是Form上面就是什么也不显示出来,郁闷!!!
jacket008 2004-07-07
  • 打赏
  • 举报
回复
在dxBar的设计里要选定菜单或工具按钮的类型
sailer_shi 2004-07-07
  • 打赏
  • 举报
回复
没有人用过吗?
workers 2004-07-07
  • 打赏
  • 举报
回复
没用过
帮你UP一下
今天做程序的时候发现Action多了不好控制于是做了一个类似dxBar.Group功能的东东继承自TCollection/TCollectionItem可以将一些TContainedAction作为一个组来控制当然,修改一下就可以将TComponent作为一个组来控制 :)写得比较简单如果哪位有时间可以给她做个属性编辑器,呵呵有哪位修改了也请给我发一份 :)sephil@163.comActionGroup.pas是源文件NSC_ComponentGroup.mpb是ModelMaker的工程文件其他的是Demo另外有个问题我不会就是如何将一个Event(比如TNotifyEvent)转换为TMethod我用的是变通的手段var FGroups: TNSC_ActionGroup;procedure TForm1.FormCreate(Sender: TObject);begin FGroups := TNSC_ActionGroup.Create(TNSC_ActionGroupItem); FGroups.Add.AddFromActionList(ActionList1, ‘1‘); FGroups.Add.AddFromActionList(ActionList1, ‘2‘); FGroups.Add.AddFromActionList(ActionList1, ‘3‘); FGroups.Add.AddFromActionList(ActionList1, ‘4‘);end;procedure TForm1.NewClick(Sender: TObject);begin ShowMessage(‘123‘);end;procedure TForm1.Action1Execute(Sender: TObject);var M: TMethod; C: TLabel;begin // Setup OnExecute event // I really don‘t know how to convert an event (such as TNotifyEvent) to TMethod C := TLabel.Create(nil); try C.OnClick := NewClick; M := TMethod(C.OnClick); finally C.Free; end; FGroups[0].SetProperty(‘OnExecute‘, M); FGroups[0].SetProperty(‘Caption‘, ‘11‘); FGroups[1].SetProperty(‘Caption‘, ‘Test‘); FGroups[2].SetProperty(‘Enabled‘, False); // Get OnExecute from gruop 1 and set to group 4 FGroups[0].GetProperty(‘OnExecute‘, M); FGroups[3].SetProperty(‘OnExecute‘, M); if FGroups[3].PropertyGrouped(‘Enabled‘) then ShowMessage(‘Group[3] ‘‘Enabled‘‘ property grouped‘); if not FGroups[3].PropertyGrouped(‘Enabled‘, False) then ShowMessage(‘Group[3] ‘‘Enabled‘‘ property not grouped to ‘‘False‘‘‘); if not FGroups[3].PropertyGrouped(‘Caption‘, ‘Action10‘) then ShowMessage(‘Group[3] ‘‘Caption‘‘ property not grouped to ‘‘Action10‘‘‘);end;
感谢上传DevExpress12.26 的兄弟,这个是DxAutoInstallerV1.8的Packages.in设置文件,用这个就不用一个一个包安装了(WIN2003D7 测试OK) ============================================================ DevExpress VCL Auto-Installer Packages.ini Copyright (C) 2008-2009 Faceker.com ============================================================ README: Section: Component Name. ---PackagesPath: Package files relative path (Base of install path). EMPTY - Install Path; * - Component Name\Packages\; ---SourcesPath: Source files relative path (base of install path). EMPTY - Install Path; * - Component Name\Sources\; ---PackageFiles: Package files. Example: dxGrid; dxADO; ---ExcludePackageFiles: Note only, not used. ---PackageAttachFiles: bugfix for dcldxSkinsdxBarsPainters.(Required dcldxSkinsdxBarsPaintersD7.res) ============================================================ [ExpressCore Library] PackagesPath=* SourcesPath=* PackageFiles=dxCore; dcldxCore; [ExpressCommon Library] PackagesPath=* SourcesPath=* PackageFiles=dxComn; [XP Theme Manager] PackagesPath=* SourcesPath=* PackageFiles=dxTheme; [ExpressGDI+ Library] PackagesPath=* SourcesPath=* PackageFiles=dxGDIPlus; [ExpressLibrary] PackagesPath=* SourcesPath=* PackageFiles=cxLibrary; cxLibraryVCL; dclcxLibrary; dclcxLibraryVCL; [ExpressDataController] PackagesPath=* SourcesPath=* PackageFiles=cxData; cxADOAdapters; cxBDEAdapters; cxIBXAdapters; dxServerMode; dxDBXServerMode; dxADOServerMode; dcldxServerMode; dcldxADOServerMode; dcldxDBXServerMode; [ExpressEditors Library] PackagesPath=* SourcesPath=* PackageFiles=cxEditors; cxEditorsVCL; cxExtEditors; cxExtEditorsVCL; dclcxEditors; dclcxEditorsVCL; dclcxExtEditors; dclcxExtEditorsVCL; [ExpressExport Library] PackagesPath=* SourcesPath=* PackageFiles=cxExport; cxExportVCL; [ExpressBars] PackagesPath=* SourcesPath=* PackageFiles=dxBar; cxBarEditItem; dxRibbon; dxBarExtItems; dxBarExtDBItems; dxBarDBNav; dcldxBar; dclcxBarEditItem; dcldxRibbon; dcldxBarExtItems; dcldxBarExtDBItems; dcldxBarDBNav; [ExpressPageControl] PackagesPath=* SourcesPath=* PackageFiles=cxPageControl; cxPageControlVCL; dclcxPageControl; dclcxPageControlVCL; [ExpressDocking Library] PackagesPath=* SourcesPath=* PackageFiles=dxDocking; dcldxDocking; [ExpressMemData] PackagesPath=* SourcesPath=* PackageFiles=dxmds; dcldxmds; [ExpressLayout Control] PackagesPath=* SourcesPath=* PackageFiles=dxLayoutControl; dxLayoutControlcxEditAdapters; dcldxLayoutControl; ExcludePackageFiles=dxLayoutControldxEditAdapters; [ExpressQuantumGrid] PackagesPath=* SourcesPath=* PackageFiles=cxGrid; dclcxGrid; [ExpressQuantumTreeList] PackagesPath=* SourcesPath=* PackageFiles=cxTreeList; cxTreeListdxBarPopupMenu; dclcxTreeList; dclcxTreeListdxBarPopupMenu; ExcludePackageFiles=cxTreeListVCL; dclcxTreeListVCL; [ExpressDBTree Suite] PackagesPath=* SourcesPath=* PackageFiles=dxdbtr; dxtrmd; dcldxdbtr; dcldxtrmd; [ExpressFlowChart] PackagesPath=* SourcesPath=* PackageFiles=dxFlowChart; dcldxFlowChart; [ExpressNavBar] PackagesPath=* SourcesPath=* PackageFiles=dxNavBar; dcldxNavBar; [ExpressOrgChart] PackagesPath=* SourcesPath=* PackageFiles=dxOrgC; dxDBOr; dcldxOrgC; dcldxDBOr; [ExpressPivotGrid] PackagesPath=* SourcesPath=* PackageFiles=cxPivotGrid; dclcxPivotGrid; cxPivotGridChart; cxPivotGridOLAP; dclcxPivotGridChart; dclcxPivotGridOLAP; [ExpressScheduler] PackagesPath=* SourcesPath=* PackageFiles=cxScheduler; cxSchedulerGrid; dclcxScheduler; dclcxSchedulerGrid; [ExpressSpellChecker] PackagesPath=* SourcesPath=* PackageFiles=dxSpellChecker; dcldxSpellChecker; [ExpressSpreadSheet] PackagesPath=* SourcesPath=* PackageFiles=cxSpreadSheet; cxSpreadSheetVCL; dclcxSpreadSheet; dclcxSpreadSheetVCL; [ExpressTile Control] PackagesPath=* SourcesPath=* PackageFiles=dxTileControl; dcldxTileControl; [ExpressVerticalGrid] PackagesPath=* SourcesPath=* PackageFiles=cxVerticalGrid; cxVerticalGridVCL; dclcxVerticalGrid; dclcxVerticalGridVCL; [ExpressWizard Control] PackagesPath=* SourcesPath=* PackageFiles=dxWizardControl; dcldxWizardControl; [ExpressSkins Library] PackagesPath=* SourcesPath=* PackageFiles=dxSkinsCore; dxSkinXmas2008Blue; dxSkinValentine; dxSkinStardust; dxSkinSilver; dxSkinsdxRibbonPainter; dxSkinsdxNavBar2Painter; dxSkinsdxLCPainter;dxSkinscxPCPainter; dxSkinsdxDLPainter; dxSkinsdxBarPainter; dxSkinscxScheduler3Painter; dxSkinOffice2007Silver; dxSkinOffice2007Pink; dxSkinOffice2007Green; dxSkinOffice2007Blue; dxSkinOffice2007Black; dxSkinMoneyTwins; dxSkinMcSkin; dxSkinLondonLiquidSky; dxSkinLiquidSky; dxSkinLilian; dxSkiniMaginary; dxSkinGlassOceans; dxSkinCoffee; dxSkinSummer2008; dxSkinCaramel; dxSkinBlue; dxSkinBlack; dxSkinDarkSide; dxSkinPumpkin; dxSkinSpringTime; dcldxSkinsCore; dcldxSkinsDesignHelper; dcldxSkinsdxNavBar2Painter; dcldxSkinsdxLCPainter; dcldxSkinsdxBarsPainters; dcldxSkinsdxBarPainter; dcldxSkinscxScheduler3Painter; dcldxSkinscxPCPainter; dxSkinsdxBarSkinnedCustomizationForm; ExcludePackageFiles=dxSkinscxSchedulerPainter; dcldxSkinscxSchedulerPainter; dxSkinsdxNavBarPainter; dcldxSkinsdxNavBarPainter; PackageAttachFiles=dcldxSkinsdxBarsPainters.res; [ExpressPrinting System] PackagesPath=* SourcesPath=* PackageFiles=dxPSCore; dcldxPSCore; dxPSLnks; dxPScxCommon; dxPScxExtCommon; dxPSTeeChart; dxPSPrVwAdv; dxPSdxOCLnk; dxPSdxLCLnk; dxPSdxFCLnk; dxPSdxDBTVLnk; dxPSdxDBOCLnk; dxPSDBTeeChart; dxPScxSSLnk; dxPScxScheduler3Lnk; dxPScxPivotGrid2Lnk; dxPScxPCProd; dxPScxGrid6Lnk; dxPScxVGridLnk; dxPScxTL5Lnk; ExcludePackageFiles=dxPSTLLnk; dxPSdxOILnk; dxPSdxInsLnk; dxPSdxDBTLLnk; dxPScxScheduler2Lnk; dxPSdxDBGrLnk; dxPScxSchedulerLnk; dxPSdxDBCtrlLnk; dxPScxGridLnk; dxPScxGrid4Lnk; dxPScxPivotGridLnk; dxPScxTLLnk; dxPSdxMVLnk;

5,386

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧