Label Problem

bazp

Member
Licensed User
Longtime User
I am modifying the Pinch and Zoom sample from Dominex. I need to ouput to a label from the service module. The module does recognize LABEL1.TEXT . It was set up using the designer. I tried using MAIN.TEXT but that did not work. Any help would be great.
 
more errors

Will not accept dim label1 as label in PROCESS_GLOBALS. It does see the main.label1.text in the service module

But it gives the following error:

"Cannot access activity object from sub Process_Globals."
 
Upvote 0
Try calling a sub in your main and alter the label's text there.
Code:
Callsub2(main,"your sub","your text"
In main module, write something like
Code:
Sub yoursub(yourtext as string)
Label1.text=yourtext 
End sub
Will not accept dim label1 as label in PROCESS_GLOBALS. It does see the main.label1.text in the service module

But it gives the following error:

"Cannot access activity object from sub Process_Globals."
 
Upvote 0
Back
Top