OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: velasquez on September 11, 2009, 11:15:12 AM

Title: PictureBox Enabled False
Post by: velasquez on September 11, 2009, 11:15:12 AM
Hi Owen 
In OpenDCL 5.1.2.3 the property Enabled equal the false in PictureBox destroys the quality of the image and it creates a bad visual effect. 
This doesn't happen in OpenDCL 4.1.2.2. 
Cannot this process be maintained in the current version? 
I posted an image to show this.
Title: Re: PictureBox Enabled False
Post by: owenwengerd on September 12, 2009, 12:24:05 PM
There may be some room for improvement in the algorithm that paints the "disabled" version of the image. Can you attach (or email) a sample project that demonstrates the problem?
Title: Re: PictureBox Enabled False
Post by: velasquez on September 12, 2009, 01:55:57 PM
I sent an e-mail to you in 10/092009 with the files that show the problems with the current version. 
I am I am sending again today for the address owenw@manusoft.com.
DuctilCAD-2009.zip and DuctilCAD-2010.zip
Title: Re: PictureBox Enabled False
Post by: velasquez on September 12, 2009, 02:08:42 PM
Please see in http://www.opendcl.com/forum/index.php?topic=909.0 (http://www.opendcl.com/forum/index.php?topic=909.0)
Title: Re: PictureBox Enabled False
Post by: owenwengerd on September 13, 2009, 04:51:19 PM
I've looked at your files. I see that you have many picture boxes disabled, but the ones I noticed all look pretty much as I expected. What exactly am I supposed to do or see?
Title: Re: PictureBox Enabled False
Post by: velasquez on September 14, 2009, 04:51:01 AM
Excuse me Owen,   
Didn't I understand your question? 
Did you test my files in OpenDCL 4.1.2.2 and OpenDCL 5.1.3? 
You will see that things that worked well in the old version don't work in the current version. 
Thanks
Title: Re: PictureBox Enabled False
Post by: owenwengerd on September 14, 2009, 08:31:04 AM
I only tested your files with 6.0.0.3. Everything I tested appeared to work correctly.
Title: Re: PictureBox Enabled False
Post by: velasquez on September 16, 2009, 10:27:33 AM
Hi Owen 
Please when you will again be able to test my files click on the image while the form SplashForm is exhibited and see the strange behavior.
Title: Re: PictureBox Enabled False
Post by: owenwengerd on September 16, 2009, 12:27:27 PM
Please define what you mean by "strange behavior". To you it may be obvious, but it is not obvious to me.
Title: Re: PictureBox Enabled False
Post by: velasquez on September 16, 2009, 01:31:42 PM
OK OWEN, 
 
1 - it executes the file that I sent you. 
2 - Click in the image of SplashForm while she appears. 
 
This will work an event of a PictureBox in a form that was not still called. 
I posted the image of SplasForm. 
 
Title: Re: PictureBox Enabled False
Post by: velasquez on September 16, 2009, 03:39:05 PM
Hi Owen 
I posted an image showing what happens when the user click in the image of SplasForm. 
The event of OnClicked doesn't exist in PictureBox. 
Thanks
Title: Re: PictureBox Enabled False
Post by: owenwengerd on September 17, 2009, 01:51:14 AM
Are you referring to the problem of the mouse button release being registered as a click on the dialog that is displayed after the splash dialog is closed? I think I already fixed that in 6.0.
Title: Re: PictureBox Enabled False
Post by: velasquez on September 17, 2009, 11:43:45 AM
Hi Owen, 
This probleam continues with OpenDCL 6.0.0.4.
Title: Re: PictureBox Enabled False
Post by: owenwengerd on September 17, 2009, 12:24:18 PM
I am unable to reproduce this in AutoCAD 2008 with DuctilCAD-2010.lsp. When I press on the splash screen, it remains on the screen until I release the mouse button.
Title: Re: PictureBox Enabled False
Post by: velasquez on September 17, 2009, 01:50:25 PM
I don't know if the probleam this in the version of AutoCAD but it happens with AutoCAD 2009 and AutoCAD 2010.
Title: Re: PictureBox Enabled False
Post by: owenwengerd on September 17, 2009, 11:00:29 PM
I could not reproduce the problem in AutoCAD 2010 either.
Title: Re: PictureBox Enabled False
Post by: velasquez on September 18, 2009, 05:28:37 AM
Please tell me that form is shown after you click on the splash screen.
Title: Re: PictureBox Enabled False
Post by: owenwengerd on September 18, 2009, 08:03:41 AM
The splash screen remains on the screen unless I've enabled one of the events like OnClicked or OnDblClicked for the splash screen picture box control. If I enable e.g. OnDblClicked for the picture box (so that it behaves like a button), the splash screen disappears and I release the button after the next form is displayed.
Title: Re: PictureBox Enabled False
Post by: velasquez on September 18, 2009, 12:29:29 PM
Ok Owen, 
 
In my versions of same AutoCAD with OnClicked incapacitated OnDblClicked the splash screen PictureBox behaves like the button. 
As my image lively display is enough you to press and to release the button. 

The only form that should appear later in any situation is the one that this in the image below. 
And this doesn't happen. 
I don't know how to explain and I asked for a help Fred.
Title: Re: PictureBox Enabled False
Post by: owenwengerd on September 18, 2009, 01:48:14 PM
Perhaps it would help if you create a new project with only the minimum controls and code to reproduce the problem.
Title: Re: PictureBox Enabled False
Post by: velasquez on September 18, 2009, 03:56:28 PM
OK Owen, 
I will work with this. 
Thanks