ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Locked controls in MDI app in Delphi XE6
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
727 Posts

Posted - Mar 09 2015 :  06:04:27  Show Profile  Reply
Hello,

I think this is not directly related to ImageEn but still I am posting here for help here.

In the software in question I have used original ImageEX (ImageEn\Samples\others1\photoen) sample and modified it heavily.

The original app was build when ImageEn 3.x ruled the image processing world :).

Original software was built using D7 and then later upgraded to D2007.

Now I want to upgraded to XE6. But when I compile the software in XE6 and run it. It seems to work just fine but the moment we open an image (MDI child) all the controls placed on MDI Parent like for example Panels, Edit controls, Memo controls, Buttons, etc. get locked. By locked I mean become readonly and we cannot edit them or click on them in case of buttons.

Anyone know as to what must this problem.

Please guide me. I have also posted this query on SO: http://stackoverflow.com/questions/28939611/panel-and-controls-on-it-get-locked-in-a-mdi-in-delphi-xe6-why

TIA






Yogi Yang

xequte

38496 Posts

Posted - Mar 09 2015 :  21:47:26  Show Profile  Reply
Hi Yogi

Does the ImageEx demo do the same thing on your system.

Assuming it does not, then check any of your code that sets the Enabled property of your controls. Step through the code from the time the form is created to when it is displayed and see where the control change.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

yogiyang

India
727 Posts

Posted - Mar 10 2015 :  23:38:59  Show Profile  Reply
Nigel,

Instead of debugging my code what I did was added two new (T)Panel controls in the MDI Parent. Then I placed a few standard VCL controls like Edit, Memo, Button, etc on each panel.

I ran the software now if I do not open any MDI child everything works as expected. But once I open an MDI child all the controls on these panels get locked. This behavior persists even after closing the MDI child.

Now I am really confused as to what the hell is happening...

Any ideas please.

TIA

Yogi Yang


Yogi Yang
Go to Top of Page

xequte

38496 Posts

Posted - Mar 11 2015 :  20:08:39  Show Profile  Reply
Hi

I think you are likely to get a better response to this on Stack Overflow. It is not really an ImageEn issue.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: