DBPICSHOW how to send to back?

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

DBPICSHOW how to send to back?

Postby kidjake28 » October 18th, 2013, 4:46 pm

I'm trying to place other components (i.e. label) on top of a dbpicshow component but it always seem to stay on top.

Is there any way of being able to place other components on top of the dbpicshow?
kidjake28
Active Member
Active Member
 
Posts: 11
Joined: February 26th, 2010, 3:12 am

Re: DBPICSHOW how to send to back?

Postby Kambiz » November 3rd, 2013, 2:22 pm

Sorry but PicShow and DBPicShow control do not accept child controls.

As a workaround, you can use a StaticText control, and put it in the form on top of the PicShow/DBPicShow control. Of course, you can't have transparency for the StaticControl. If you want transparency, manually set the Parent property of the StaticText to the PicShow/DBPicShow control. In this case, when a transition is running, you may see some flickers on the StaticText.

However, I do suggest to use OnAfterDrawFrame event to write your text directly on the Screen bitmsap.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron