Hi,
I am trying to display a small form with a dbbrowse in it to allow the user to 'pick' values without typing directly into an edit. We use these a lot in our xharbour console apps.
I want to have the small form appear close to the TEditBtn that calls it so in my mind I want to make the TEditBtn the parent for the small form?
Maybe that is a problem, also the 'calling form is modal?
Whenever I make the form with a nTop & nLeft it always shows relative to my monitor Top, Left. The same if I use :setbounds(...), I am always relative to my monitor.
I have taken a look at TDateEdit to see how that is done but it does not use a popup form and is bit advanced for me and I would prefer the popup to be a form.
Is there something I am doing wrong, maybe you can make a Forms parent = to a TEditBtn??
Any assistance would be appreciated.
Thanks
Chris
Attached files
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.
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.
Pop up a form relative to a Control?
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Pop up a form relative to a Control?
Hello Chris,
Take a look at project attached. I hope it's what you need.
Regards
Attached files test.zip (2.7 KB)Â
Take a look at project attached. I hope it's what you need.
Regards
Attached files test.zip (2.7 KB)Â
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
Pop up a form relative to a Control?
Chris
Attached files