当前位置:网站首页>Devexpress implementation flow chart
Devexpress implementation flow chart
2022-06-13 01:43:00 【Guoguo】

unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, Vcl.StdCtrls, dxflchrt, System.ImageList, Vcl.ImgList;
type
TForm1 = class(TForm)
dxFlowChart1: TdxFlowChart;
Button1: TButton;
btnsave: TButton;
Button2: TButton;
btnLoad: TButton;
Button3: TButton;
ImageList1: TImageList;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
procedure btnsaveClick(Sender: TObject);
procedure btnLoadClick(Sender: TObject);
procedure Button3Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
uses dxFcEditAdv,dxFlowChartDesigner;
// The above two are key , The dialog box will pop up only after the first reference , The second will pop up a new flowchart design window
{$R *.dfm}
procedure TForm1.btnLoadClick(Sender: TObject);
begin
dxFlowChart1.LoadFromFile('d:\a.txt');
end;
procedure TForm1.btnsaveClick(Sender: TObject);
begin
dxFlowChart1.SaveToFile('D:\a.txt');
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
if ShowFlowChartEditor(dxFlowChart1,'') then
begin
self.Caption:='a';
end;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
dxFlowChart1.Clear;
end;
procedure TForm1.Button3Click(Sender: TObject);
var
PFlowchar:TdxFlowChartEditorOptions;
begin
PFlowchar:= TdxFlowChartEditorOptions.create;
PFlowchar.UseAdvancedShapesOnly:=true;
if ShowFlowChartEditor(dxFlowChart1,'',PFlowchar) then
begin
self.Caption:='a';
end;
end;
end.
边栏推荐
- What is Google plus large text ads? How to use it?
- MySQL related summary
- Camera model_
- 三、上传织物图片至SQL Server并提供name进行展示织物照片
- September 3, 2021 visual notes
- 关于tkinter.Canvas 不显示图片的问题
- [soft test] software designer knowledge points sorting (to be updated)
- Record the VMware installation process of VMware Tools and some problems encountered
- Explanation and application of prefix sum (one-dimensional, two-dimensional)
- 5、 Improvement of inventory query function
猜你喜欢

What is the path field—— Competitive advertising

三、上传织物图片至SQL Server并提供name进行展示织物照片

MySQL download and installation

Implementation and design of JMeter interface test database assertion for CSDN salary increase technology

How to print infinite symbol in WPS

受众群体应该选择观察模式还是定位模式?

How to solve practical problems through audience positioning?

Network communication tcp/ip

What is solid angle

Uuid/guid introduction, generation rules and generation codes
随机推荐
Detailed explanation of maxpooling corresponding to conv1d, conv2d and conv3d machines of tensorflow2
Torch. Distributions. Normal
How to solve practical problems through audience positioning?
白噪声的详细理解
Add default right-click menu
Differences among bio, NiO and AIO
兴趣相似的受众群体
This of phaser3 add. add. image
DFS and BFS notes (II): depth first search (implemented in C language)
他山之石:a16z 的 Web3 投资版图
Topic creation and running example of ROS
Introduction to common ROS commands
Server installation jupyterab and remote login configuration
Machine learning basic SVM (support vector machine)
Sonarqube local installation
【MathType】利用MathType输出LaTex样式的公式
About constructive code blocks, static code blocks, and constructor execution order
ng-tv-focusable
Golang learning essay
Leetcode question 20