C++ builder一个窗口的东西怎么显示在另一个窗口上
谢谢您的回答,我想说的是2个独立的窗口。不要用网络通信编程,纠结啊...还是我表达不清楚啊,我意思是比如:新建一个Form1添加个Memo.保存程序。然后运行程序,打开2...
谢谢您的回答,我想说的是2个独立的窗口。不要用网络通信编程,纠结啊...
还是我表达不清楚啊,我意思是比如:新建一个Form1 添加个Memo. 保存程序。然后运行程序,打开2次。怎么在2个memo间通信 展开
还是我表达不清楚啊,我意思是比如:新建一个Form1 添加个Memo. 保存程序。然后运行程序,打开2次。怎么在2个memo间通信 展开
3个回答
展开全部
Show:
Use Show to set the form Visible property to true and to bring the form to the front of other forms on the screen.
ShowModal:
Use ShowModal to show a form as a modal form. A modal form is one where the application can continue to run until the form is closed. Thus, ShowModal does not return until the form closes. When the form closes, it returns the value of the ModalResult property.
翻译成中文大概意思是:
Show仅仅是让一个窗口显示出来,比如在Form1中让Form2->Show(),那么在Form2显示之后你还可以继续点击Form1的东西。
而ShowModal是把窗口当成模式窗口显示,意味着程序只能在这个窗口关闭以后才继续执行下面的语句,比如在Form1中让Form2->ShowModal();那么在Form2关闭之前,Form1是不可用的。
你的串号我已经记下,采纳后我会帮你制作
Use Show to set the form Visible property to true and to bring the form to the front of other forms on the screen.
ShowModal:
Use ShowModal to show a form as a modal form. A modal form is one where the application can continue to run until the form is closed. Thus, ShowModal does not return until the form closes. When the form closes, it returns the value of the ModalResult property.
翻译成中文大概意思是:
Show仅仅是让一个窗口显示出来,比如在Form1中让Form2->Show(),那么在Form2显示之后你还可以继续点击Form1的东西。
而ShowModal是把窗口当成模式窗口显示,意味着程序只能在这个窗口关闭以后才继续执行下面的语句,比如在Form1中让Form2->ShowModal();那么在Form2关闭之前,Form1是不可用的。
你的串号我已经记下,采纳后我会帮你制作
展开全部
Show:
Use Show to set the form Visible property to true and to bring the form to the front of other forms on the screen.
ShowModal:
Use ShowModal to show a form as a modal form. A modal form is one where the application can continue to run until the form is closed. Thus, ShowModal does not return until the form closes. When the form closes, it returns the value of the ModalResult property.
翻译成中文大概意思是:
Show仅仅是让一个窗口显示出来,比如在Form1中让Form2->Show(),那么在Form2显示之后你还可以继续点击Form1的东西。
而ShowModal是把窗口当成模式窗口显示,意味着程序只能在这个窗口关闭以后才继续执行下面的语句,比如在Form1中让Form2->ShowModal();那么在Form2关闭之前,Form1是不可用的。
Use Show to set the form Visible property to true and to bring the form to the front of other forms on the screen.
ShowModal:
Use ShowModal to show a form as a modal form. A modal form is one where the application can continue to run until the form is closed. Thus, ShowModal does not return until the form closes. When the form closes, it returns the value of the ModalResult property.
翻译成中文大概意思是:
Show仅仅是让一个窗口显示出来,比如在Form1中让Form2->Show(),那么在Form2显示之后你还可以继续点击Form1的东西。
而ShowModal是把窗口当成模式窗口显示,意味着程序只能在这个窗口关闭以后才继续执行下面的语句,比如在Form1中让Form2->ShowModal();那么在Form2关闭之前,Form1是不可用的。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
如果是memo之类的话可以直接memo1->Text = memo2->Text;
把memo2的内容复制到memo1上面,如果是组件的话。。。就不知道了
把memo2的内容复制到memo1上面,如果是组件的话。。。就不知道了
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询