Page 1 of 1

2 things that need to be done in TGradient

PostPosted: July 20th, 2004, 6:49 pm
by Johnny_Bit
1: Results of LinearH and LinearV are swapped (result of LinearH should be Result of LinearV and Vice Versa);

2: I need csAcceptControls In ComponentStyle, it would save me much work, it's only 4 lines in component's unit;

I be apriciated if changes woulbe included as fast as possible.

PostPosted: July 21st, 2004, 7:00 am
by Kambiz
The fastest possible time is weekend. :roll:

PostPosted: July 25th, 2004, 4:29 pm
by Johnny_Bit
It's OK with me... i can wait for it even month...

PostPosted: July 27th, 2004, 7:47 am
by Kambiz
I exchanged name of the following styles:
  • Linear Horizontal / Linear Vertical
  • Linear Forward Diagonal / Linear Backward Diagonal
  • Reflected Forward Diagonal / Reflected Backward Diagonal
TGradient is a non-windowed control, and a non-windowed control cannot be parent of another control. Therefore, for TGradient the csAcceptControls control style is not applicaple.

PostPosted: August 1st, 2004, 2:59 pm
by Johnny_Bit
Well thanks, but accepting transparent controlls would help me a lot.

PostPosted: August 1st, 2004, 3:50 pm
by Kambiz
Could you please describe what do you want to do?

PostPosted: August 8th, 2004, 3:10 pm
by Johnny_Bit
put vertical label on it and put picture below label. it's non sizeable window, ad align of label can be changed and gradient shoutl be visible. It's needed by options dialog for app I'm making on demand.

PostPosted: August 8th, 2004, 8:06 pm
by Kambiz
I suggest to read description of TControl's SendToBack or BringToFront methods in Delphi's help. There, you will see the limitation of these two methods.