是德科技
直播中

沈艳丽

8年用户 151经验值
私信 关注
[问答]

怎么在运行时在VEE中修改按钮?

如果你想要简单的方法 - 你可以通过使用带有2个枚举值的循环按钮来改变文本。如果你想要漂亮的颜色 - 我会为“开始”和“停止”等创建几个不错的位图,并使用'
togglebutton的自定义'功能将它们设置为“on”和“off”images.RegardsPaul F“Olbinski,Craig A(MED)”To:“VEE vrf”主题:[vrf]在运行16时修改VEE中的按钮
10/02 15:03请回复“Olbinski,Craig A(MED)”文具名称:-Untitled-Hello to all,有没有办法在程序运行时更改按钮标签和颜色?
我创建了一个面板,我希望在按下后将开始按钮更改为停止按钮。
我也想要颜色改变。
如果这看起来像是一个基本问题,我很抱歉这是我的第一个Vee计划。谢谢

回帖(3)

陈英

2019-10-31 12:06:32
Craig,查看切换按钮的选项(Data> Toggle Control> Button)。
您可以为开启和关闭状态指定不同的图像,并选择“等待输入”或“自动执行”.-- Bill OssmannPhilips Ultrasoundbill.ossmann@philips.com“Olbinski,Craig A(MED)”To:“VEE vrf
“主题:[vrf]在运行10/16/2002 10:03时修改VEE中的按钮分类:AM请回复”Olbinski,Craig A(MED)“大家好,有没有办法更改按钮标签和颜色而
该程序正在运行?
我创建了一个面板,我希望在按下后将开始按钮更改为停止按钮。
我也想要颜色改变。
如果这看起来像是一个基本问题,我很抱歉这是我的第一个Vee计划。谢谢,Craig A. OlbinskiGE维修开发工程全球维修业务 - 美洲电话:(414)747-6873传真:(414)747-6836Pager:(414)584
-6189 Mail Stop:GA-43E-mail:craig.olbinski@med.ge.com---您目前订阅了vrf:bill.ossmann@philips.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“.---您目前订阅了vrf: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”。

以上来自于谷歌翻译


     以下为原文

  Craig,

Check out the option of the toggle button (Data>Toggle Control>Button). You can specify different images for on and off states, and select "Wait for Input" or "Auto-execute".

--
Bill Ossmann
Philips Ultrasound
bill.ossmann@philips.com



                      "Olbinski, Craig
                      A (MED)"                     To:  "VEE vrf"
                                        Subject:   [vrf] Modifying buttons in VEE while running

                      10/16/2002 10:03             Classification:
                      AM
                      Please respond
                      to "Olbinski,
                      Craig A (MED)"






Hello to all,

Is there a way to change button labels and colors while the program is
running? I have a panel created and I would like to have the start
button change to a stop button once pressed. I would like the color to
change as well. If this seems like an elementary question, I apologize
as this is my first Vee program.

Thanks,

Craig A. Olbinski
GE Repair Development Engineering
Global Repair Operations - Americas
Phone:  (414) 747-6873  Fax:  (414) 747-6836
Pager:  (414) 584-6189   Mail Stop: GA-43
E-Mail:  craig.olbinski@med.ge.com




---
You are currently subscribed to vrf as: bill.ossmann@philips.com
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".





---
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".
举报

李秀云

2019-10-31 12:17:52
完美!有时最简单的解决方案是最难找到的......我应该想到这个!谢谢斯科特莫里森-----原始信息-----来自:Michael A***ery [mailto:Michael.A***ery@nrl.navy
发送时间:2002年10月16日星期三下午12点57分:'MORRISON,SCOTT(A-Sonoma,ex1)';
'VEE vrf'Subject:RE:[vrf] Unbuild coord试试这个,我仍然使用'unbuild coord'对象,但是它们被埋没在用户函数中,可以在公式中调用.Mike -----原始消息---
- 来自:MORRISON,SCOTT(A-Sonoma,ex1)[mailto:scott_morrison@agilent.com]发送时间:2002年10月15日星期二下午3:47到:VEE vrfSubject:[vrf] Unbuild coordAnybody在那里知道如何解建
没有使用'UnbuildCoord'对象的坐标?
我需要在公式中访问彼此独立的坐标,而不将它们分开到公式对象之外。
是这样的东西:unbuildx(),如果传递一个像'( - 1,1)'这样的坐标会返回'-1'?目前我唯一的解决方案是通过asText语句解析数据并通过asReal语句返回值,但是
这样做似乎非常残忍。我错过了什么?TIAScott ---您目前订阅了vrf: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”。

以上来自于谷歌翻译


     以下为原文

  Perfect!
Sometimes the easiest solution is the hardest to find....I should have thought of that!
Thanks

Scott Morrison




-----Original Message-----
From: Michael A***ery [mailto:Michael.A***ery@nrl.navy.mil]
Sent: Wednesday, October 16, 2002 12:57 PM
To: 'MORRISON,SCOTT (A-Sonoma,ex1)'; 'VEE vrf'
Subject: RE: [vrf] Unbuild coord


Try this,  I still use the 'unbuild coord' object, but they are buried in
user functions which can be called in a formula.

Mike

-----Original Message-----
From: MORRISON,SCOTT (A-Sonoma,ex1) [mailto:scott_morrison@agilent.com]
Sent: Tuesday, October 15, 2002 3:47 PM
To: VEE vrf
Subject: [vrf] Unbuild coord


     Anybody out there know how to unbuild a coord without using the 'Unbuild
Coord' object?  I need to access the coordinates independant of each other
in a formula without splitting them up outside the formula object.  Is there
something like:

unbuildx()  which would return '-1' if passed a coord like '(-1,1)'?

     Currently my only solution is to parse the data through an asText statement
and return the value through an asReal statement, but this seems pretty
brutal to do a lot of.

Am I missing something?

TIA
Scott





---
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".
举报

李秀云

2019-10-31 12:35:58
如果你想要简单的方法 - 你可以通过使用带有2个枚举值的循环按钮来改变文本。如果你想要漂亮的颜色 - 我会为“开始”和“停止”等创建几个不错的位图,并使用'
togglebutton的自定义'功能将它们设置为“on”和“off”images.RegardsPaul F“Olbinski,Craig A(MED)”To:“VEE vrf”主题:[vrf]在运行16时修改VEE中的按钮
10/02 15:03请回复“Olbinski,Craig A(MED)”文具名称:-Untitled-Hello to all,有没有办法在程序运行时更改按钮标签和颜色?
我创建了一个面板,我希望在按下后将开始按钮更改为停止按钮。
我也想要颜色改变。
如果这看起来像是一个基本问题,我很抱歉这是我的第一个Vee计划。谢谢,Craig A. OlbinskiGE维修开发工程全球维修业务 - 美洲电话:(414)747-6873传真:(414)747-6836Pager:(414)584
-6189邮件站:GA-43E-mail:craig.olbinski@med.ge.com---您目前订阅了vrf:Paul.Fowler@raytheon.co.uk订阅后发送空白电子邮件至“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“.---您目前订阅了vrf: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”。

以上来自于谷歌翻译


     以下为原文

  

If you want the easy way - you can change the text by using a cyclic button
with 2 enum values.

If you want pretty colours - I would create a couple of nice bitmaps for
"start" and "stop" or whatever, and use the 'custom' feature of the toggle
button to set them as the "on" and "off" images.

Regards
Paul F





                           "Olbinski,
                    Craig A (MED)"          To:  "VEE vrf"
                                      Subject:  [vrf] Modifying buttons in VEE while running
                           16/10/02 15:03

          Please respond to "Olbinski,
          Craig A (MED)"

          Stationery name:-Untitled-








Hello to all,

Is there a way to change button labels and colors while the program is
running? I have a panel created and I would like to have the start
button change to a stop button once pressed. I would like the color to
change as well. If this seems like an elementary question, I apologize
as this is my first Vee program.

Thanks,

Craig A. Olbinski
GE Repair Development Engineering
Global Repair Operations - Americas
Phone:  (414) 747-6873  Fax:  (414) 747-6836
Pager:  (414) 584-6189   Mail Stop: GA-43
E-Mail:  craig.olbinski@med.ge.com




---
You are currently subscribed to vrf as: Paul.Fowler@raytheon.co.uk
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".





---
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".
举报

更多回帖

发帖
×
20
完善资料,
赚取积分