Page 1 of 1

DBPICSHOW how to send to back?

PostPosted: October 18th, 2013, 4:46 pm
by kidjake28
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?

Re: DBPICSHOW how to send to back?

PostPosted: November 3rd, 2013, 2:22 pm
by Kambiz
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.