Marquee line's alignment ...

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Marquee line's alignment ...

Postby actalk » August 9th, 2010, 1:31 pm

Hello

Thank you for new relese of the Marquee component.

New properties are very good.

While vertical movemet (orientation = moVertical)
I think TMarqueeItem should have an additional property (Alignment Property).

As I can see Drawtext- DT_CENTER, DT_RIGHT, DT_LEFT canges may be enough for text style item.

Thanks.
actalk
Junior Member
Junior Member
 
Posts: 29
Joined: October 5th, 2007, 3:56 pm

Re: Marquee line's alignment ...

Postby Kambiz » August 10th, 2010, 2:28 am

Good suggestion, thanks!
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: Marquee line's alignment ...

Postby Kambiz » August 13th, 2010, 10:00 am

The update is ready to download now.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: Marquee line's alignment ...

Postby HPW » August 15th, 2010, 10:02 am

Hello Kambiz,

Thanks for the new version with the nice additions.

However I have a problem with the new Alignment-property of TMarqueeCollection.

When I open the demo and run it, I see the horzontal scroll centered in the vertical.

Then I go back in the IDE and changed to maLeftOrTop or maRightOrBottom.

In the IDE I see the change happen. It scrolls an the top od bottom.

But when I compile and run it it reverts back to maCenter.

In the demo code I did not find any code about setting it to maCenter in formcreate or somewhere.

I have the same problem in my neobook-plugin-code.

Can you check this problem?


Regards

Hans-Peter
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 230
Joined: February 25th, 2006, 10:19 am
Location: Germany

Re: Marquee line's alignment ...

Postby Kambiz » August 15th, 2010, 10:57 am

Alignment is a property of TMarqueeItem, therefore each item can have its own alignment value. The default value of Alignment property is maCenter.

In the demo, each time the application starts or user clicks on "Apply Text" button, the marquee items are recreated. That means, the item you see at design time, will be deleted at runtime by the demo application.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: Marquee line's alignment ...

Postby HPW » August 15th, 2010, 3:45 pm

Ah, a misunderstanding on my side.

So got it working.
I have released a update of my neobook-plugin here:

http://www.neosoftware.com/forum/viewto ... 9#11199169

Thanks again for the ongoing development.

Hans-Peter
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 230
Joined: February 25th, 2006, 10:19 am
Location: Germany


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 4 guests