Hi,
I have a form with two controls. The nAlign properties are set to alClient and alRight respectively, but just the first one is shown. It works if I change the order, but I don't want this behavior, ie, the first control MUST be client aligned.
Is there a way to solve it?
In VB there are functions called bringtofront and sendtoback.
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.
nAlign property
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
nAlign property
Roberto escribió el mar, 28 febrero 2012 01:39Hi,
I have a form with two controls. The nAlign properties are set to alClient and alRight respectively, but just the first one is shown. It works if I change the order, but I don't want this behavior, ie, the first control MUST be client aligned.
Is there a way to solve it?
In VB there are functions called bringtofront and sendtoback.
Hello,
You just need to change its order creation using the arrow buttons on the object inspector.
Regards,
Attached files
I have a form with two controls. The nAlign properties are set to alClient and alRight respectively, but just the first one is shown. It works if I change the order, but I don't want this behavior, ie, the first control MUST be client aligned.
Is there a way to solve it?
In VB there are functions called bringtofront and sendtoback.
Hello,
You just need to change its order creation using the arrow buttons on the object inspector.
Regards,
Attached files
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
nAlign property
tks, but it is not the problem.
I need to create the controls at runtime.
I need to create the controls at runtime.
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
nAlign property
Roberto escribió el mar, 28 febrero 2012 15:04tks, but it is not the problem.
I need to create the controls at runtime.
Well, then create last the control with the nAlign property set to alCLIENT.
BTW, I suggest you take a look to the sample of Splitters. I hope it can give you some clues to understand how the alignment system works.
Regards,
I need to create the controls at runtime.
Well, then create last the control with the nAlign property set to alCLIENT.
BTW, I suggest you take a look to the sample of Splitters. I hope it can give you some clues to understand how the alignment system works.
Regards,
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
nAlign property
Tks for ur answer, but...
I already know how it works, it's not the problem. what I am asking is if there is a way to modify its behavior, ie, if I can create first the control with nAlign = alClient and then the others like I can do in VB.
I already know how it works, it's not the problem. what I am asking is if there is a way to modify its behavior, ie, if I can create first the control with nAlign = alClient and then the others like I can do in VB.
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
nAlign property
Roberto escribió el mié, 29 febrero 2012 14:27Tks for ur answer, but...
I already know how it works, it's not the problem. what I am asking is if there is a way to modify its behavior, ie, if I can create first the control with nAlign = alClient and then the others like I can do in VB.
NO, I'm afraid it does NOT work on the same way as VB. It has its own mechanism.
Regards,
I already know how it works, it's not the problem. what I am asking is if there is a way to modify its behavior, ie, if I can create first the control with nAlign = alClient and then the others like I can do in VB.
NO, I'm afraid it does NOT work on the same way as VB. It has its own mechanism.
Regards,
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