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
 How to hide controls in build in dialogs of IE?

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

Size 
UserName:
Password:
Mode 
Format  BoldItalicizedUnderline Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailBrowse for an image to attach to your post Browse for a zip to attach to your post Insert CodeInsert QuoteInsert List
   
Message 

 

Smilies
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 - May 02 2019 : 07:45:03
Hello,

I am using following code to allow use to correct image using HSL:
ieViewMain.Proc.PreviewsParams := ieViewMain.Proc.PreviewsParams +
    [prppDefaultLockPreview];
  ieViewMain.Proc.DoPreviews([peHSL]);

But in the dialog that comes up I do now want to show following controls:




How to do it?

TIA


Yogi Yang
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 06 2019 : 04:11:30
Hi

You will need to do that programmatically.

You should open the forms in Delphi to get a better idea what you are dealing with.

Note: The forms include conditional defines, so to view them you need to:
- open the unit, e.g. previews.pas
- Remove the IFDEF at the start of the unit, and then ELSE/ENDIF block at the end
- Close the unit
- Reopen it


Nigel
Xequte Software
www.imageen.com
yogiyang Posted - May 06 2019 : 01:44:06
Hello Nigel,

Thanks for the sample code.

After I do this will the controls visible re-arrange themselves or will we have to do that programmatically?

TIA


Yogi Yang
xequte Posted - May 02 2019 : 22:55:29
Hi

Actually, there is a way, but is it not easy. You can use the OnShowDialog event:

https://www.imageen.com/help/ImageEn/TIEView.OnShowDialog.html

So something like:

procedure TMainForm.ImageEnView1ShowDialog(Sender: TObject; DlgType: TIEDlgType; Form: TForm);
begin
  // add Previews to uses
  if DlgType = iefProcPreview then
    with TfPreviews(Form) do
    begin
      ImageEn1.Visible := False;
      Label1.Visible := False;
      ResultToSourceButton.Visible := False;
      // And fix layout...
    end;
end;


Nigel
Xequte Software
www.imageen.com
w2m Posted - May 02 2019 : 08:59:04
I don't think it is possible. You can make your own dialog to do the same thing or add controls to your main form to set HSL to the TImageEnView.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development