【Delphi 基础知识 12】覆盖函数的使用

在Delphi中,使用关键字override可以覆盖(override)父类中的虚方法。以下是一个简单的覆盖函数的例子:

unit OverrideExample;

interface

uses
  SysUtils;

type
  // 父类
  TShape = class
    procedure Draw; virtual;
  end;

  // 子类
  TCircle = class(TShape)
    procedure Draw; override;<
  • 10
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
SUIPack is a suite of real WYSIWYG VCL skin components for Delphi & C++Builder. It provides you the ability to create professionally-UI-designed skin and implementations for your applications. Besides the alternative for standard controls, SUIPack provides more additional controls(E.g. non-rectangular forms, MSN-style popup window, etc.). You will never spend many time on programming skin support. SUIPack provides more than 60 controls. Place them on a form, then you can see the skinned appearance immediately even at design time. SUIPack has 5 built-in skins and it supports to load outside skin files. It's real What You See Is What You Get! SUIPack fully supports Sunisoft Skin Solutions v2 now. It means that you can use all skins of Skin Solutions v2. The professionally-UI-designed skins are mostly designed by our UI artists. Please note, we not only provide the UI controls, but also UI design! You also can create your own skins with the brand new SkinBuilder tool. Key features ------------- * 60+ components * 5 built-in skins * Dozens of professionally-UI-designed official skins from UI artists and a lot of third-party skins * Supports to build the skin files into the EXE file * What you see(design-time) is what you get(run-time) * Provides stable converting tool to transfer your existing project smoothly * Provides SkinBuilder tool to create your own skins, with it which supports to load VisualStyle(*.msstyles) files, you can own thousands of skins now! * Supports to create non-rectangular forms and controls * Support MSN-Style popup window * MDI forms supported * DB-Aware components with theme's support * Without requiring any DLL or OCX With SUIPack We have over 2,000 customers who are using Sunisoft Skin Solutions v2 around world. The products below are developed with SUIPack by some of our customers.

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

D-Nolan

请我喝杯咖啡吧,鼓励一下创作!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值