OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: zeeboy on August 12, 2009, 08:54:26 AM

Title: Picture Box control clears when mouse is over, only the first time
Post by: zeeboy on August 12, 2009, 08:54:26 AM
I've been replacing Label controls with Picture Box controls, per http://www.opendcl.com/forum/index.php?topic=865.0 (http://www.opendcl.com/forum/index.php?topic=865.0), and everything seems to be going good except for one set of Picture Box controls.  Their DrawText value is cleared when the mouse is "dragged" over.

I don't have any Events set for the Picture boxes.

I'm guessing this is relative to the dcl_Control_SetToolTipMainText value I'm setting.  When I remove the code setting the tooltip value the clearing of the DrawText value is no longer an issue.

Is this a bug?

Thanks!
Doug
Title: Re: Picture Box control clears when mouse is over, only the first time
Post by: owenwengerd on August 12, 2009, 09:32:18 AM
Does anything change if you call (dcl_PictureBox_StoreImage) after you draw your text?
Title: Re: Picture Box control clears when mouse is over, only the first time
Post by: zeeboy on August 12, 2009, 12:47:50 PM
That resolves the issue!

Thanks!!!