如何在 statusbar 顯示資料 |
尚未結案
|
thomas0728
中階會員 ![]() ![]() ![]() 發表:112 回覆:260 積分:89 註冊:2002-03-12 發送簡訊給我 |
|
chih
版主 ![]() ![]() ![]() ![]() ![]() ![]() 發表:48 回覆:1186 積分:639 註冊:2002-04-02 發送簡訊給我 |
|
shaofu
高階會員 ![]() ![]() ![]() ![]() 發表:5 回覆:136 積分:103 註冊:2003-01-07 發送簡訊給我 |
|
ha0009
版主 ![]() ![]() ![]() ![]() ![]() ![]() 發表:16 回覆:507 積分:639 註冊:2002-03-16 發送簡訊給我 |
|
juneo
高階會員 ![]() ![]() ![]() ![]() 發表:103 回覆:190 積分:118 註冊:2004-05-13 發送簡訊給我 |
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, ComCtrls; type TForm1 = class(TForm) MainMenu1: TMainMenu; N1: TMenuItem; N2: TMenuItem; N3: TMenuItem; StatusBar1: TStatusBar; procedure N2Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation uses Unit2; {$R *.dfm} Var child: TForm2; procedure TForm1.N2Click(Sender: TObject); begin child := TForm2.Create(Self); child.Caption:='文件' IntToStr(MDIChildCount); StatusBar1.Panels.Items[0].Text:='文件' IntToStr(MDIChildCount); StatusBar1.Panels.Items[1].Text:=ActiveMdichild.Name; end; end.分享比獲得更快樂--Juneo |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |