Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 546

PowerShell Studio • Re: Form Controls Intellisense

$
0
0
No, intellisense will not work for forms controls in another file in a project.

When a PSF file is exported to a PS1 on run or export, the form code is encompassed in a function named like the following:
Show_FileName_psf

All form related code exists in this function. As a result, this will prevent you from being able to directly calling a control from a form in another file as the controls defined in a form do not 'exist' outside of that form's corresponding function. I recommend exporting your project to see how files are merged.

You may find the following helpful:
https://www.sapien.com/blog/2022/01/04/ ... ll-studio/
https://www.sapien.com/blog/2022/08/03/ ... -projects/

Statistics: Posted by brittneyr — Mon Nov 18, 2024 7:13 am



Viewing all articles
Browse latest Browse all 546

Trending Articles