Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 不知道有没有这个功能,选择form1打开窗口
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 不知道有没有这个功能,选择form1打开窗口
zh2000
新警察
UID 40766
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2008-8-10
Status Offline
#1
Post at 2008-8-10 14:34
Profile
|
Blog
|
P.M.
不知道有没有这个功能,选择form1打开窗口
有个主窗口,里面有很多打开不同 form 的代码 .如
Form1:=TForm1.Create(Application);
Form1.ShowModal ;
Form1.free;
...................
FormX:=TFormX.Create(Application);
FormX.ShowModal ;
FormX.free;
不知道有没有这个功能: 代码界面,鼠标选择
form1
后,可以用 快捷方式 打开这个 form1..或 右键菜单功能"打开选择的代码form"...
现在要打开一个窗口,要 到 "View form" 功能处,点击一下,再输入 form1 才能打开 form1...
skyjacker
版主
茶农
UID 2239
Digest Posts
9
Credits 617
Posts 269
点点分 617
Reading Access 100
Registered 2006-6-8
Status Offline
#2
Post at 2008-8-10 14:38
Profile
|
Blog
|
P.M.
|
按住 ctrl 后点击 Form1
偶通常这样写这种代码,可以参考下
try
FormX:=TFormX.Create(nil);
FormX.ShowModal ;
finally
FreeAndNil(FormX);
end;
一壶清茶煮青春.
zh2000
新警察
UID 40766
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2008-8-10
Status Offline
#3
Post at 2008-8-11 14:31
Profile
|
Blog
|
P.M.
奇怪,..
先谢谢回答..呵呵...
现在改..了..
try
FormX:=TFormX.Create(nil);
FormX.ShowModal ;
finally
FreeAndNil(FormX);
end;
.
另外奇怪: 新建的 工程和form可以 用 按住 ctrl 后点击 Form1 弹出窗口
为什么 安装 cnpack 前建的 旧工程 就不能 用这个打开...
会不会旧工程里面 有太多东西了 冲突了...?
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-23 10:30
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008283 second(s), 8 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats