Removing an OCX Control

Started by Dave Paton, March 16, 2010, 01:03:09 PM

Previous topic - Next topic

Dave Paton

I put a FF OCX control onto my form and then found I didn't have to do that because it is a non-visual ocx. Now, how do I remove it from the form? I can highlight it from FF workspace, but every other control on the form I can right click and get a submenu with the option to delete. With the OCX Control, right clicking does nothing and I cannot figure out how to remove it, apart from rebuilding the form.

Paul Squires

When the OCX is selected, press the DELETE key.... or in the FireFly Workspace, Properties pane click on the delete icon in the top right next to that drop down combobox that lists all of the controls on the form. I also imagine that you could use the top menu's "Edit" menu when the control is selected.
Paul Squires
PlanetSquires Software

Dave Paton

And normally, with any other control, you can do that. But with the FF ocx xontrol, on 2 different computers, it is not possible to delete this particular control by any normal method. It was compiled with PB9.02 and now I am on PB9.04, but I can't see that making much of a difference.

Dave Paton

One thing I have noticed is that you cannot select the OCX control directly. You have to do it through FF Workspace Explorer. It will highlight, with handles around it, but you cannot delete it.

Dave Paton

Using the top menu Edit key, I was able to delete it. But you might want to look at why you cannot right click the control to get to a delete option.