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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Locked controls in MDI app in Delphi XE6

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - Mar 09 2015 : 06:04:27
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
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 11 2015 : 20:08:39
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
yogiyang Posted - Mar 10 2015 : 23:38:59
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
xequte Posted - Mar 09 2015 : 21:47:26
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