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.

TShiftPanel problems

Xailer professional forum in English
Responder
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TShiftPanel problems

Mensaje por Roberto »

TShiftPanel control is a very nice control but there are some work to be done. For example, nAnchors have a strange behaviour, some properties are not updated when changed (like cText) and so on.
I use it cause it is the only way I know to put a text in a vertical way. I tried TFont:nOrientation, but does not work too. Is there any way to do that??
Avatar de Usuario
orangesocks
Mensajes: 59
Registrado: Jue May 05, 2011 3:28 pm

TShiftPanel problems

Mensaje por orangesocks »

Roberto wrote on Thu, 27 September 2012 13:54
I use it cause it is the only way I know to put a text in a vertical way. I tried TFont:nOrientation, but does not work too. Is there any way to do that??

Hi Roberto,
download this library http://www.xailer.com/download?en&file=37.
It contains some nice label controls including a vertical label.
HTH regards
Giuseppe
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TShiftPanel problems

Mensaje por Roberto »

Hi,
Tks, but there is something wrong:
Error en /download
El siguiente error ha ocurrido: near "ORDER": syntax error SQLITE:SELECT Categories.IdCategory,NameEsp,NameEng,Filename FROM Categories LEFT JOIN Files ON Categories.IdCategory=Files.IdCategory WHERE IdFile=37 AND Rev= ORDER BY Rev DESC XAILER[1]
Llamado desde XSQLITEDATASOURCE:NEWERROR(475)
Llamado desde XSQLITEDATASOURCE:CHECKERROR(270)
Llamado desde XSQLITEDATASOURCE:EXECUTE(0)
Llamado desde HOME(522)
Llamado desde FILEDETAILS(706)
Llamado desde MAIN(111)
any idea?
Regards,
Avatar de Usuario
orangesocks
Mensajes: 59
Registrado: Jue May 05, 2011 3:28 pm

TShiftPanel problems

Mensaje por orangesocks »

Hi,
copy and paste the wrong link
Try this http://www.xailer.com/download
click on Controls & components link
click on Labels.zip link
Regards
Giuseppe
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

TShiftPanel problems

Mensaje por jfgimenez »

Roberto,
> TShiftPanel control is a very nice control but there are
> some work to be done. For example, nAnchors have a strange
> behaviour, some properties are not updated when changed
> (like cText) and so on.
Please, provide us a sample to show the problems, along a detail
description of each one. So, we can fix them.
Respecting the anchors, I assume that you are using the property
nAnchors of the TShiftPanel itself. Well, TShiftPanel is designed to be
aligned to any of its container's border. That is, it should be always
aligned as alTOP, alLEFT, alRIGHT or alBOTTOM. Any other scenario,
including the use of anchors, causes an unpredictable result, which
should be avoided. If you need that the shiftpanel don't touch the
form's borders, then place a container in it (f.e. a bevel transparent
without border) and then place the shiftpanel on top of it.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

TShiftPanel problems

Mensaje por jfgimenez »

Roberto,
> Tks, but there is something wrong:
>
> Error en /download
> El siguiente error ha ocurrido: near "ORDER": syntax error
> SQLITE:SELECT Categories.IdCategory,NameEsp,NameEng,Filename
> FROM Categories LEFT JOIN Files ON
> Categories.IdCategory=Files.IdCategory WHERE IdFile=37 AND
> Rev= ORDER BY Rev DESC XAILER[1]
> Llamado desde XSQLITEDATASOURCE:NEWERROR(475)
> Llamado desde XSQLITEDATASOURCE:CHECKERROR(270)
> Llamado desde XSQLITEDATASOURCE:EXECUTE(0)
> Llamado desde HOME(522)
> Llamado desde FILEDETAILS(706)
> Llamado desde MAIN(111)
>
> any idea?
I'm affraid you have added extra characters to the link. Anyhow, we'll
fix it to avoid the error. Thanks for the info.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TShiftPanel problems

Mensaje por Roberto »

tks so much, it really helped.
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TShiftPanel problems

Mensaje por Roberto »

sorry, but I don't understand.
If something does not work or have no effect I guest it should be removed from the properties/events/methods list cause I just know if it is ok or not when I try to use it. This way I can´t trust the documentation and I spend my time and ur time too.
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TShiftPanel problems

Mensaje por Roberto »

orangesocks wrote on Thu, 27 September 2012 18:58Hi,
copy and paste the wrong link
Try this http://www.xailer.com/download
click on Controls & components link
click on Labels.zip link
Regards
Giuseppe
Tks, Giuseppe!
But I can´t change the font from TLabelVert
Avatar de Usuario
orangesocks
Mensajes: 59
Registrado: Jue May 05, 2011 3:28 pm

TShiftPanel problems

Mensaje por orangesocks »

Hi Roberto,
Roberto wrote on Sat, 29 September 2012 17:24
But I can´t change the font from TLabelVert

Just modify Create() method of XLabelVert and remove the line
::oFont := TFont():Create( 'Arial', 20, 0, 400, 0)
Recompile Lib and Dll projects, and you're done.
Regards
Giuseppe
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TShiftPanel problems

Mensaje por Roberto »

orangesocks wrote on Sun, 30 September 2012 11:31Hi Roberto,
Roberto wrote on Sat, 29 September 2012 17:24
But I can´t change the font from TLabelVert

Just modify Create() method of XLabelVert and remove the line
::oFont := TFont():Create( 'Arial', 20, 0, 400, 0)
Recompile Lib and Dll projects, and you're done.
Regards
Giuseppe
Tks again, but now the cText disappeared!
Avatar de Usuario
orangesocks
Mensajes: 59
Registrado: Jue May 05, 2011 3:28 pm

TShiftPanel problems

Mensaje por orangesocks »

Hi Roberto,
everything is working fine here.
I've tried with the DemoLabels project, modified the Font property of Form4 and everything is OK.
What do you mean by cText disappear ?
Regards
Giuseppe
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TShiftPanel problems

Mensaje por Roberto »

Hi,
it value: "TLabelVer" does not appear in IDE and app.
Avatar de Usuario
orangesocks
Mensajes: 59
Registrado: Jue May 05, 2011 3:28 pm

TShiftPanel problems

Mensaje por orangesocks »

Hi,
Do you mean you can't change the text of the label in the IDE ?
Have you set the correct DLL in the components form of the IDE ?
I'm attaching the working LIB and DLL.
HTH
Regards
Giuseppe

Attached files LabelsLibAndDLL.zip (49.9 KB)Â
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TShiftPanel problems

Mensaje por Roberto »

sorry to boring you, but it did not worked too! I´m not a novice but perhaps I am doing something wrong. For now I give up
tks so much 4 ur time.
Responder