View Single Post
  #21 (permalink)  
Old 05-23-2008, 07:51 AM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,055
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Cableguy View Post
since there is no "change Parent" available, it renders the control useless in some applications...
I assume you mean the DateTimePIcker control. The only ChangeParent I know is in the Formlib and it should work.

ChangeParent(DTP.ControlRef, "Panel1")

For library controls, like those in ControlEx, you need to use the ControlRef or Value property to refer to them for things like ChangeParent. From my FormEx help.

"In Basic4PPC a function that expects a Control object can receive a string (or any expression that evaluates to a string) with the name of a Basic4ppc control (Basic4ppc will convert it to the required reference) or a Control object (which can only come from an external library). "
Reply With Quote