正在加载图片...
7.12按钮类组件(3) Sb1.GroupIndex: =1; Sb1. Flat: =true Sb1. Hint: =this is a speedbutton Sb1. ShowHint: =true Sb1. AllowAllUp =False Sb2. GroupIndex: =1 Sb3. GroupIndex: =1 B1.caption: =next Bb1 Kind =bkClose 使用 Picture editor分别为sb1~sb3按钮的Gyph属性设置一个对应的位图文 件,这些位图文件分别在deph7.0 Domos\ DoclGraphex目录下,当然,可 以自己选择合适的位图文件 s在B1按钮的 OnClick事件中添加如下代码,注意变量在 implementation之前 应该先给予定义: var i: integer=0 Inprise Dephi7.1.2 按钮类组件(3) Sb1.GroupIndex:=1; Sb1.Flat:=true; Sb1.Hint:=’this is a speedbutton’; Sb1.ShowHint:=true; Sb1.AllowAllUp:=False; Sb2.GroupIndex:=1; Sb3.GroupIndex:=1; B1.caption:=’next’; Bb1.Kind:=bkClose;  使用Picture Editor分别为sb1~sb3按钮的Glyph属性设置一个对应的位图文 件,这些位图文件分别在delphi 7.0\Domos\Doc\Graphex目录下,当然,可 以自己选择合适的位图文件。  在B1按钮的OnClick事件中添加如下代码,注意i变量在implementation之前 应该先给予定义:var i:integer=0;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有