I have a UX component that has two arguments - :street and :city - which I populate from a grid when opening the component. The question is if I want to open the component directly from a desktop application (not a WCD but a regular desktop form) and I've created the function that opens the component on the desktop how do I populate the two arguments. I've used the XBASIC script for Desktop Windows option to create my Xbasic to open the component but there's no place that I can see in that code that allows me to send the arguments to the component.

This won't be a problem once I've converted everything to WCD but for now I'd like to be able to use this one component both from my grids under WAS and from my desktop form in the runtime environment.