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.

XA_GradientFillH function

XBase programming language in english
Responder
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

XA_GradientFillH function

Mensaje por Roberto »

first, sorry if I'm asking too much, but I have no other source to solve my
doubts.
I whould like to fill a tbevel with a gradient and put a label inside it.
I tried to use the function XA_GradientFillH with the events paint and painted
of the tbevel, but the label does not apear.
Can you show me any simple example?
Tks,
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5653
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

XA_GradientFillH function

Mensaje por jfgimenez »

Roberto,
Sorry for the delay.
> first, sorry if I'm asking too much, but I have no other source to solve
> my
> doubts.
Don't worry. Feel free to ask anything, but please, use the appropiate
forum, that is local.xailer.english or local.xailer.spanish in this same
server.
> I whould like to fill a tbevel with a gradient and put a label inside it.
> I tried to use the function XA_GradientFillH with the events paint and
> painted
> of the tbevel, but the label does not apear.
> Can you show me any simple example?
Attached is a simple sample that shows how to use the event OnPainted to
draw a gradient.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info


Attached files GradFill.zip (1.9 KB)Â
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

XA_GradientFillH function

Mensaje por Roberto »

Hi, Jose
Tks again.
I whould like to use this sample with a TExplorerBar, but the TOptionList does show correctly.
Any idea?
btw, xailer 2.5 is working very fine!
Responder