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
 Checkboxes in TImageEnFolderMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jenswahl

Germany
71 Posts

Posted - Apr 07 2017 :  02:48:57  Show Profile  Reply
Hello,

I'm again with another problem: I want to use a TImageEnFolderMView with Checkboxes. I set it in the ObjectInspector to iecbAlways (see checkboxes.jpg), but I can't see a checkbox on runtime. So I tried it in the code:

    	iefmvMain.Checkboxes := iecbAlways;
    	iefmvMain.CheckboxPos := iecpTopLeft;
    	iefmvMain.SetCheckboxParams(1, 1, nil, nil);


But the same - no checkbox is shown (see checkboxes2.jpg). What have I to change?

KidnRegards

Jens



xequte

38610 Posts

Posted - Apr 07 2017 :  18:39:22  Show Profile  Reply
That's weird. Are you doing any custom drawing with the TImageEnMView?

Does the checkbox demo work correctly for you:

Demos\Multi\Checkboxes\Checkboxes.dpr

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

jenswahl

Germany
71 Posts

Posted - Apr 10 2017 :  01:55:22  Show Profile  Reply
Hello Nigel,

I call only SetModernStyling(False) but removing it brings the same. No other custom drawing. The demo runs correctly. If I use a TImageEnMView it works OK but not the TImageEnFolderMView. I compared the properties of the demo's ImageEnMView with my FolderMView and set other properties to the demo one. No effect.

Jens
Go to Top of Page

xequte

38610 Posts

Posted - Apr 10 2017 :  19:48:16  Show Profile  Reply
Hi Jens

I just tried the FolderMView demo and added this code to a button:

    	IEFolderMView.Checkboxes := iecbAlways;
    	IEFolderMView.CheckboxPos := iecpTopLeft;
    	IEFolderMView.SetCheckboxParams(1, 1, nil, nil);
        IEFolderMView.Update();

It works as expected.

Are you able to create a simple demo that shows the 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: