ContainerControl1.EmbedWithin and ContainerControl1.EmbedWithinPanel do not exist according to the debugger. So, my question is, why can’t it be removed from the IDE so it won’t cause confusion?
Even the example code returns the “Item does not exist” highlighting the “Embed” function.
The point is to make you aware that it will be removed so you should update the code at your earliest convenience. Or alternatively, keep using that version of Xojo to compile that particular app.
EmbedWithin and EmbedWithInPanel most definitely exist - neither is deprecated
The IDE makes extensive use of those
Try this
Create a new desktop project
Add a Container Control to the project (note it gets named ContainerControl1)
Put a button or something visual on it (doesn’t really matter what)
Now add the Open Event to the default window (Window1)
Put
dim c as new ContainerControl1
c.EmbedWithin self , 10 , 10
Hit run
[quote=38467:@Norman Palardy]EmbedWithin and EmbedWithInPanel most definitely exist - neither is deprecated
The IDE makes extensive use of those
Try this
Create a new desktop project
Add a Container Control to the project (note it gets named ContainerControl1)
Put a button or something visual on it (doesn’t really matter what)
Now add the Open Event to the default window (Window1)
Put
dim c as new ContainerControl1
c.EmbedWithin self , 10 , 10
Hit run[/quote]
Thanks. Still used to doing things the other way I guess.