Welcome! Log In Create A New Profile

Advanced

Best place for an internal component

Posted by SteveSitas 
Best place for an internal component
September 14, 2021 04:13PM
Hi,
which would be the best place to declare a Global variable for an internal component?
I mean, the variable should be Global to the internal component ...
Having some very strange issues and I would appreciate any ideas.

Regards
Steven Sitas
Re: Best place for an internal component
September 15, 2021 11:10AM
Hi Steven,

I do this in the Project Code of the component.

regards Michael
Re: Best place for an internal component
September 15, 2021 12:26PM
Hi Michael,

this is a PCSoft INTERNAL Component (the WDFAA for the WORD control).
How do you access the project code for this type of component?

Regards
Steven Sitas
Re: Best place for an internal component
September 15, 2021 11:06PM
ok, sorry.

I tried this with the HTML control (WDFAA->Windows->FL_WindevFAA_RubanEditeurHTML)

then right click of the control - global declarations ?

regards Michael
Re: Best place for an internal component
September 16, 2021 10:22AM
Hi Michael,

Strange ...
when I right-click the control/component, no global declarations show up on my IDE (for the WORD or the HTML component/internal).
I am using WX 26 64 bit (the combined IDE).

I worked around my problems, "copying" the WDFAA code and windows to my project - so now I can access everything from inside to project.

Regards
Steven Sitas
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: