Página 1 de 1
TShiftPanel problems
Publicado: Jue Sep 27, 2012 1:54 pm
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??
TShiftPanel problems
Publicado: Jue Sep 27, 2012 2:22 pm
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
TShiftPanel problems
Publicado: Jue Sep 27, 2012 4:24 pm
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,
TShiftPanel problems
Publicado: Jue Sep 27, 2012 6:58 pm
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
TShiftPanel problems
Publicado: Jue Sep 27, 2012 7:18 pm
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
TShiftPanel problems
Publicado: Jue Sep 27, 2012 7:23 pm
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
TShiftPanel problems
Publicado: Vie Sep 28, 2012 2:19 pm
por Roberto
tks so much, it really helped.
TShiftPanel problems
Publicado: Vie Sep 28, 2012 2:26 pm
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.
TShiftPanel problems
Publicado: Sab Sep 29, 2012 5:24 pm
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
TShiftPanel problems
Publicado: Dom Sep 30, 2012 11:31 am
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
TShiftPanel problems
Publicado: Lun Oct 01, 2012 3:04 am
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!
TShiftPanel problems
Publicado: Lun Oct 01, 2012 8:47 am
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
TShiftPanel problems
Publicado: Lun Oct 01, 2012 3:27 pm
por Roberto
Hi,
it value: "TLabelVer" does not appear in IDE and app.
TShiftPanel problems
Publicado: Lun Oct 01, 2012 6:03 pm
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)Â
TShiftPanel problems
Publicado: Lun Oct 01, 2012 7:33 pm
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.