OK, This one has been bugging me for awhile. I have a top-level form that has a toolbar w/ Cut, Copy, Paste buttons. Inside this form I have a series of custom controls that also could potentially have other forms inside (loaded from a .dll via reflection), ultimately ending at a textbox that might or might not have focus. I'm just trying to get this clipboard functionality working universally, regardless of what form this textbox is a control of. I've already tried doing me.form.activeform.activecontrol & this just returns a reference to the top-level custom control.
Does anyone have some code that will drill through the focus forms/controls until it ultimately ends up at the focus textbox? As ugly as it sounds, I'm ready to just make these buttons emulate Ctrl-C, Ctrl-X, and Ctrl-V !! Please help. Thanks in advance.