... Thumbs up! All controls are children of a parent window. We are moving the control from one window to another. Commands sent to the control will use theMessage 1 of 12 , Feb 1, 2010View Source
> John,Thumbs up!
> Thanks for this example and comments. I understood the mechanics of most of the code except how the setParent sub worked, which, of course, is the main part of the routine. After reading LB4 Companion on setParent a number of times, and messing with the code alot, I finally understand all that's happening is this:
> The statictext control that holds a$ and was initially a member of window #1 has been programmatically made a member of window #A.
> You can't imagine how difficult it was for me to grasp that concept - and I freely admit it!
> If my understanding is correct, how about a "thumbs up". If not, can you suggest another hobby I might be interested in. :)
All controls are children of a parent window.
We are moving the control from one window to another.
Commands sent to the control will use the original #handle.extension.