嗨,安德鲁,你遇到了VEE的代码之一......“对话框”。
我避免使用VEE的罐装对话框,就像瘟疫一样,我想我也会为其他资深的VEE程序员说话。
他们是如此蹩脚,你可以“按”程序的STOP按钮,直到你满意为止。
它们绝对阻止了一切。我没有找到使用通用弹出窗口的方法,所以我为每个不同的typeI需要编写不同的用户功能。
我知道这并不能解决你的困境,但也许它会警告新的VEE程序员阅读不要诱惑任何数据--->对话框菜单中的任何内容,因为这将导致悲伤的道路。
我唯一会使用的是文件选择,因为这个编程起来比较困难,但如果有人想要的话,我有一个程序可以。祝你好运,周五快乐!Mike Groves -----原创讯息 -
----来自:Andrew Fudge [mailto:AndrewF@genesysibs.com]发送时间:2002年11月22日星期五8:42 AMTo:VEE vrfSubject:[vrf]非模态消息框。
大家好,为什么Message Box会阻止所有程序执行/所有线程?!?!
我需要用户能够随时按“F1”来加载帮助。
当显示消息框时,他们不能这样做。
我必须将250个消息框更改为自定义非模态类型!
理想情况下,我需要一个留在VEE窗口顶部的消息框,但不要阻止并行线程的执行。
我可以尝试一些顶级API的东西,但这真的有必要吗?
这是一个简单的问题。
我考虑过使用带有RichTextBox的通用User Function来获得漂亮的自动换行文本。
但是有点击1,2或3个按钮的问题。
我如何隐藏按钮并更改其标题?
我可以通过使用循环按钮更改标题,但它们看起来并不整洁。
我该如何更改窗口标题?
所有这些问题。
Argggghhhhh!
星期五快乐。
任何建议都会非常感激???
安德鲁F Genesys IBS附加的简单示例显示当程序在消息框上停止时颜色指示器不会改变。
---文件尚未扫描由AVG反病毒系统检查(http://www.grisoft.com)。版本:6.0.417 /病毒库:233 - 发布日期:08/11/02 ---文件
尚未扫描AVG反病毒系统检查(http://www.grisoft.com)。版本:6.0.417 /病毒库:233 - 发布日期:08/11/02 ---您目前已订阅
vrf as:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it”。
agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent.com“。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。
以上来自于谷歌翻译
以下为原文
Hi Andrew, You've run into one of VEE's lamest pieces of code... the "Dialog Box". I avoid VEE's canned dialog boxeslike the plague and I think I speak for other veteran VEE programmers as well. They are so lame, you can'teven hit the STOP button of the program until you satisfy the pop-up. They absolutely block everything. I've not found a way to use a generic pop-up, so I program a different User Function for each different typeI need. I know that doesn't solve your dilemma, but maybe it will warn off new VEE programmers readingalong to NOT be tempted to use anything under the Data ---> Dialog Box menu, as they WILL cause griefdown the road. The ONLY one I would use is the File Selection, as this is more difficult to program, but ifanyone wants, I have a program for that to. Best of luck to you and happy Friday!Mike Groves -----Original Message-----From: Andrew Fudge [mailto:AndrewF@genesysibs.com]Sent: Friday, November 22, 2002 8:42 AMTo: VEE vrfSubject: [vrf] non-modal message boxes. Hello all Why does the Message Box hold up all program execution/all threads?!?! I need users to be able to press "F1" at any time to load help. They can not do this when a message box is displayed. I have to change about 250 message boxes to a custom non-modal type!!! Ideally I need a message box that will stay on top of the VEE window, but not hold up execution of parallel threads. I could try some over the top API stuff, but is that really necessary? It's a simple problem. I thought about using a generic User Function with a RichTextBox for nice word-wrapped text. But then there's the problem of having 1,2 or 3 buttons to click. How would I hide buttons and change their captions? I could change caption by using a Cyclic button, but they don't look tidy. How would I change the window caption? All these problems. Argggghhhhh!!! Happy Friday. Any suggestions would be muchly appreciated??? Andrew F Genesys IBS Attached simple sample shows the colour indicator not changing when program stopped on message box. --- File has not been scanned Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/02 --- File has not been scanned Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/02---You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
嗨,安德鲁,你遇到了VEE的代码之一......“对话框”。
我避免使用VEE的罐装对话框,就像瘟疫一样,我想我也会为其他资深的VEE程序员说话。
他们是如此蹩脚,你可以“按”程序的STOP按钮,直到你满意为止。
它们绝对阻止了一切。我没有找到使用通用弹出窗口的方法,所以我为每个不同的typeI需要编写不同的用户功能。
我知道这并不能解决你的困境,但也许它会警告新的VEE程序员阅读不要诱惑任何数据--->对话框菜单中的任何内容,因为这将导致悲伤的道路。
我唯一会使用的是文件选择,因为这个编程起来比较困难,但如果有人想要的话,我有一个程序可以。祝你好运,周五快乐!Mike Groves -----原创讯息 -
----来自:Andrew Fudge [mailto:AndrewF@genesysibs.com]发送时间:2002年11月22日星期五8:42 AMTo:VEE vrfSubject:[vrf]非模态消息框。
大家好,为什么Message Box会阻止所有程序执行/所有线程?!?!
我需要用户能够随时按“F1”来加载帮助。
当显示消息框时,他们不能这样做。
我必须将250个消息框更改为自定义非模态类型!
理想情况下,我需要一个留在VEE窗口顶部的消息框,但不要阻止并行线程的执行。
我可以尝试一些顶级API的东西,但这真的有必要吗?
这是一个简单的问题。
我考虑过使用带有RichTextBox的通用User Function来获得漂亮的自动换行文本。
但是有点击1,2或3个按钮的问题。
我如何隐藏按钮并更改其标题?
我可以通过使用循环按钮更改标题,但它们看起来并不整洁。
我该如何更改窗口标题?
所有这些问题。
Argggghhhhh!
星期五快乐。
任何建议都会非常感激???
安德鲁F Genesys IBS附加的简单示例显示当程序在消息框上停止时颜色指示器不会改变。
---文件尚未扫描由AVG反病毒系统检查(http://www.grisoft.com)。版本:6.0.417 /病毒库:233 - 发布日期:08/11/02 ---文件
尚未扫描AVG反病毒系统检查(http://www.grisoft.com)。版本:6.0.417 /病毒库:233 - 发布日期:08/11/02 ---您目前已订阅
vrf as:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it”。
agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent.com“。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。
以上来自于谷歌翻译
以下为原文
Hi Andrew, You've run into one of VEE's lamest pieces of code... the "Dialog Box". I avoid VEE's canned dialog boxeslike the plague and I think I speak for other veteran VEE programmers as well. They are so lame, you can'teven hit the STOP button of the program until you satisfy the pop-up. They absolutely block everything. I've not found a way to use a generic pop-up, so I program a different User Function for each different typeI need. I know that doesn't solve your dilemma, but maybe it will warn off new VEE programmers readingalong to NOT be tempted to use anything under the Data ---> Dialog Box menu, as they WILL cause griefdown the road. The ONLY one I would use is the File Selection, as this is more difficult to program, but ifanyone wants, I have a program for that to. Best of luck to you and happy Friday!Mike Groves -----Original Message-----From: Andrew Fudge [mailto:AndrewF@genesysibs.com]Sent: Friday, November 22, 2002 8:42 AMTo: VEE vrfSubject: [vrf] non-modal message boxes. Hello all Why does the Message Box hold up all program execution/all threads?!?! I need users to be able to press "F1" at any time to load help. They can not do this when a message box is displayed. I have to change about 250 message boxes to a custom non-modal type!!! Ideally I need a message box that will stay on top of the VEE window, but not hold up execution of parallel threads. I could try some over the top API stuff, but is that really necessary? It's a simple problem. I thought about using a generic User Function with a RichTextBox for nice word-wrapped text. But then there's the problem of having 1,2 or 3 buttons to click. How would I hide buttons and change their captions? I could change caption by using a Cyclic button, but they don't look tidy. How would I change the window caption? All these problems. Argggghhhhh!!! Happy Friday. Any suggestions would be muchly appreciated??? Andrew F Genesys IBS Attached simple sample shows the colour indicator not changing when program stopped on message box. --- File has not been scanned Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/02 --- File has not been scanned Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/02---You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
举报