In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
after i inserted the control into the Form, it is not selected, (I need to click on control to activate in object inspector).
I will email you a small complete project.
if nsBtn = BTN_MSK
with object oCtrl:=TDbMaskEdit():New(oParent)
:SetBounds( aPos[1], aPos[2], 80, 20 )
//:oDataField:=cField
:Create()
end with
endif
//oPlugin:IInspector:AddControl(oCtrl, oParent) // It does not work properly, see: https://forum.xailer.com/viewtopic.php?t=14192
oPlugin:IInspector:oActiveForm:AddExistingControl(oCtrl)
//oPlugin:IInspector:SetControl(oCtrl)
it works fine when I insert the control directly into the Form, but when I insert it inside a container (groupBox...), both are selected.
I sent you an email with a small complete example.
jfgimenez escribió: ↑Mar Feb 08, 2022 9:48 am
just add: