Create a simple Delphi Expert(创建一个简单的Delphi专家)


Diese Unit kann in ein Package compiliert werden und erscheint danach im 
Delphi Menu unter Hilfe. 
} 


This unit can be compiled into a package and will then appear in the delphi 
Help menu. 
} 
unit  SDCSimpleExpert ; 

interface 

uses  ToolsApi ; 

type 
   TSDCSimpleExpert  =  class ( TNotifierObject ,  IOTAMenuWizard ,  IOTAWizard ) 
   public 
     function  GetIDString :  string ; 
     function  GetName :  string ; 
     function  GetState :  TWizardState ; 
     procedure  Execute ; 
     function  GetMenuText :  string ; 
   end ; 

procedure  Register ; 

implementation 

uses  Dialogs ; 

procedure  Register ; 
begin 
   {register expert} 
   RegisterPackageWizard ( TSDCSimpleExpert . Create ); 
end ; 

{ TSDCSimpleExpert } 

procedure  TSDCSimpleExpert . Execute ; 
begin 
   {code to execute when menu item is clicked} 
   ShowMessage ( 'Hello SwissDelphiCenter Simple Expert.' ); 
end ; 

function  TSDCSimpleExpert . GetIDString :  string ; 
begin 
   {unique expert identifier} 
   Result  :=  'SwissDelphiCenter.SimpleExpert' ; 
end ; 

function  TSDCSimpleExpert . GetMenuText :  string ; 
begin 
   {caption of menu item in help menu} 
   Result  :=  'SwissDelphiCenter Simple Expert' ; 
end ; 

function  TSDCSimpleExpert . GetName :  string ; 
begin 
   {name of the expert} 
   Result  :=  'SwissDelphiCenter Simple Expert' ; 
end ; 

function  TSDCSimpleExpert . GetState :  TWizardState ; 
begin 
   Result  :=  [ wsEnabled ]; 
end ; 

end .  
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Context: 1: Fasten Your Seat Belts 'Chapter 1: Fasten Your Seat Belts' 'Delphi installation' 'Delphi compilers and toolchains' 'Hello World app' 'Deploying to mobile devices' 'Summary' 2: Mind Your Language 'Chapter 2: Mind Your Language' 'Do you speak Object Pascal?' 'Object Pascal Phrase Book' 'Summary' 3: Packing Up Your Toolbox 'Chapter 3: Packing Up Your Toolbox' 'Parallel Programming Library' 'Working with files' 'JSON' 'XML' 'Summary' 4: Playing with FireMonkey 'Chapter 4: Playing with FireMonkey' 'Drawing in code' 'Get moving with timers' 'The power of parenting' 'Touch me' 'Game of Memory' 'Summary' 5: FireMonkey in 3D 'Chapter 5: FireMonkey in 3D' 'Cross-platform 3D rendering' 'Using Context3D' 'Custom Wireframe component''Objects 3D' 'Moving Earth' 'Building an interactive 3D scene' 'Using 3D models' 'Starfield simulation' 'Mixing 3D and 2D' 'Summary' 6: Building User Interfaces with Style 'Chapter 6: Building User Interfaces with Style' 'Working with built-in styles' 'Using custom styles' 'Embedding styles as resources' 'Customizing styles' 'Using frames' 'Working with inherited views' 'Previewing forms on devices' 'Summary' 7: Working with Mobile Operating System 'Chapter 7: Working with Mobile Operating System' 'James Bond's toy' 'What I'm running on?' 'The life of an app' 'Sensing the world' 'Taking photos' 'Using share sheets' 'Camera, light, action!' 'Working with address book' 'Notify me!' 'Navigating the we' 'Working with maps' 'Creating and consuming Android services' 'Delphi language bridges' 'Summary' 8: Extending to the Internet of Things 'Chapter 8: Extending to the Internet of Things' 'Communication protocols' 'Understanding BLE''Connecting to things with ThingConnect' 'Getting close with beacons' 'Proximity solutions with BeaconFence' 'App tethering' 'Summary' 9: Embedding Databases 'Chapter 9: Embedding Databases' 'Architecting data-driven apps' 'Modeling data' 'Choosing a database' 'Accessing databases with FireDAC' 'Building data-driven user interface' 'Using visual live bindings' 'Fast user interface prototyping' 'Summary' 10: Integrating with Web Services 'Chapter 10: Integrating with Web Services' 'Understanding web services' 'Native HTTP client' 'Consuming XML SOAP web services' 'Integrating with REST services' 'Backend as a service client' 'Integrating with the cloud' 'Summary' 11: Building Mobile Backends 'Chapter 11: Building Mobile Backends' 'Delphi and multi-tier architectures' 'Getting low-level with WebBroker' 'Do it yourself with DataSnap' 'Easy REST API publishing with RAD Server' 'Summary' 12: App Deployment 'Chapter 12: App Deployment' 'Deploying to App Stores' 'Enhancing your apps' 'Summary' 13: The Road Ahead'Chapter 13: The Road Ahead' 'What we have learned' 'Staying on top of everything' 'Your next Delphi mobile app' 'Summary'

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值