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
Roberto
Posts: 177
Joined: Tue Oct 16, 2007 11:53 pm

XA_GradientFillH function

Postby Roberto » Wed Jan 09, 2008 2:34 am

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,
User avatar
jfgimenez
Site Admin
Posts: 5619
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

XA_GradientFillH function

Postby jfgimenez » Sat Jan 12, 2008 12:57 pm

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
Posts: 177
Joined: Tue Oct 16, 2007 11:53 pm

XA_GradientFillH function

Postby Roberto » Sun Dec 18, 2011 1:01 am

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!

Return to “English”