FTV SE V10- Button disabled with VBA only after mouse is moved

Tanquen

Member
Join Date
Jul 2014
Location
CA
Posts
163
I’m trying to disable a button after a popup is opened using VBA. It works and the button looks disabled but I can keep clicking the button until I move the mouse. Only after the mouse is moved can you not click on it. Is there like a refresh that you have to use after disabling something with VBA?
 
I’m also trying to re-enable the button when the popup closes with this code but I can’t get it to work.

Dim AllDisplays As Displays
Dim HeaderDisplay As Display

Private Sub Display_Activate()
Set AllDisplays = LoadedDisplays
Set HeaderDisplay = AllDisplays.Item("Header")
End Sub

Private Sub Display_Deactivate()
HeaderDisplay.Button.Enable = 0
End Sub
 
From 2007!!!!

FactoryTalk View SE: Graphics VBA - Button Object Still Fires Released Event After Being Disabled
45694 | Date Created: 11/02/2007

Cause:
Unknown - under investigation.
 
I did start down that road but did not fully test as I'd need to make a few buttons to go under the ones you’re diapering and so on but think that is a workaround.

The last thing they came up with was to make some OPC servers and then make some tags in them that you would use to disable the button and still have it be unique to each runtime client but I'm not sure that would work and would not be really slow if it did. I don't think it would work on a terminal server, you'd still be diapering other clients buttons.

I’d still like them to like fix it along with the crashing and the out of sync handles and the whole mouse shift to move stuff that also randomly gets out of sync and moves stuff a random number of pixels and the area folders that get out of sync and the FTAE server that randomly won’t let you make changes without a reboot and… you know the drill. :(
 

Similar Topics

Hi guys i'm newbe to FTV Studio and so i ask again your help! Two questions; the first: on plc i have an array for the alarms messages tag name =...
Replies
2
Views
2,075
Hello everyone, I am currently working on a project that uses a Rockwell L33ER controller and the FTV Studio V13 as Supervisory computer...
Replies
0
Views
84
Hello everyone, I am working in a platform and we installed FTV CLIENT SE V 12 IN ALL THE CLIENTS COMPUTERS, we have 6 clients and only 1 is not...
Replies
0
Views
79
Hi all, I'm having difficulties trying to connect FactoryTalk View SE Local Station (V13.00) to MS SQL Server Express. I state that they are...
Replies
2
Views
109
Hi to all, Does TIA portal support creating reusable pop-up display as FTV has it implemented? Something like on link below. Thanks in advance.
Replies
5
Views
485
Back
Top Bottom