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 Modify fieprnform2.dfm?

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
w2m Posted - May 30 2013 : 12:25:50
Does anyone know how fieprnform2.dfm can be edited in the Delphi IDE? When you open ieprnform2.pas the ieprnform2.dfm is not loaded into the ide.

Wesley wants a slightly larger image.

With respect to DoPrintPreviewDialog it would be nice to be able to specify the image dimensions and to reposition the ok and cancel buttons to match. So consider adding some params to do this:
DoPrintPreviewDialog(AWidth: integer; AHeight: integer; AImageWidth: integer; AImageHeight: integer; Button1Left: integer; Button2.Left);

This will allow modifications to the dialog at runtime.

// make the image slightly larger for wesley - start w2m
fieprnform2.Width := fieprnform2.Width + 25;
fieprnform2.Height := fieprnform2.Height + 25;
fieprnform2.grpPreview.Width := fieprnform2.GroupBox1.Width + 85;
fieprnform2.ImageEnView1.Width := fieprnform2.ImageEnView1.Width + 25;
fieprnform2.ImageEnView1.Height := fieprnform2.ImageEnView1.Height + 25;
fieprnform2.Button1.Left := fieprnform2.Button1.Left + 25;
fieprnform2.Button2.Left := fieprnform2.Button2.Left + 25;

// make the image slightly larger for wesley - end w2m

Also the TBitButton's should be replaced with TButton to avoid the glyphs with windows vista, windows 7 and 8.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
3   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Jun 02 2013 : 06:57:24
Thanks Prg... I missed the defines.

William Miller
Prg Posted - Jun 01 2013 : 22:04:27
quote:
Does anyone know how fieprnform2.dfm can be edited in the Delphi IDE? When you open ieprnform2.pas the ieprnform2.dfm is not loaded into the ide.

This is very easy and depend to conditional compilation. This is old ide "future".
Comment {$IFDEF IEINCLUDEPRINTDIALOGS} - Save - Close module - Reopen module - Edit form - Uncomment { $IFDEF IEINCLUDEPRINTDIALOGS} - Save module.
But may be you do not need uncoment back { $IFDEF IEINCLUDEPRINTDIALOGS}? (If in ie.inc this is on then left it commented)
wesleybobato Posted - May 30 2013 : 14:38:47
Thanks William became Very Show.
Helped His Very Idea.

Good afternoon.