Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

inno setup - How to display a larger license box in an InnoSetup installer? -


innosetup default displays license agreement in tiny text area user can't make bigger in way.

while know people don't read these, feel providing in format makes particularly hard read bad idea, , might form part of defense in court.

is there way in innosetup display license in large separate window? pre-rolled pascal script perhaps?

you can change wizardform size , rearrange controls in if want make bigger. made example show how change form height license page.

[setup] appname=stackoverflow large license box appversion=1.0 createappdir=no disableprogramgrouppage=yes defaultgroupname=my program uninstalldisplayicon={app}\myprog.exe licensefile=license.txt ;outputdir=userdocs:inno setup examples output  [code]  var   defaulttop,    defaultleft,    defaultheight,   defaultbacktop,    defaultnexttop,    defaultcanceltop,   defaultbeveltop,    defaultouterheight: integer;  const    licenseheight = 600;  procedure initializewizard(); begin   defaulttop := wizardform.top;   defaultleft := wizardform.left;   defaultheight := wizardform.height;   defaultbacktop := wizardform.backbutton.top;   defaultnexttop := wizardform.nextbutton.top;   defaultcanceltop := wizardform.cancelbutton.top;   defaultbeveltop := wizardform.bevel.top;   defaultouterheight := wizardform.outernotebook.height;    wizardform.innerpage.height := wizardform.innerpage.height + (licenseheight - defaultheight);   wizardform.innernotebook.height :=  wizardform.innernotebook.height + (licenseheight - defaultheight);   wizardform.licensepage.height := wizardform.licensepage.height + (licenseheight - defaultheight);   wizardform.licensememo.height := wizardform.licensememo.height + (licenseheight - defaultheight);   wizardform.licensenotacceptedradio.top := wizardform.licensenotacceptedradio.top + (licenseheight - defaultheight);   wizardform.licenseacceptedradio.top := wizardform.licenseacceptedradio.top + (licenseheight - defaultheight);  end;  procedure curpagechanged(curpageid: integer); begin   if curpageid = wplicense   begin     wizardform.top := defaulttop - (licenseheight - defaultheight) div 2;     wizardform.height := licenseheight;     wizardform.outernotebook.height := wizardform.outernotebook.height + (licenseheight - defaultheight);     wizardform.cancelbutton.top := defaultcanceltop + (licenseheight - defaultheight);     wizardform.nextbutton.top := defaultnexttop + (licenseheight - defaultheight);     wizardform.backbutton.top := defaultbacktop + (licenseheight - defaultheight);     wizardform.bevel.top := defaultbeveltop + (licenseheight - defaultheight);   end   else    begin     wizardform.top := defaulttop;     wizardform.left := defaultleft;     wizardform.height := defaultheight;     wizardform.outernotebook.height := defaultouterheight;     wizardform.cancelbutton.top := defaultcanceltop;     wizardform.nextbutton.top := defaultnexttop;     wizardform.backbutton.top := defaultbacktop;     wizardform.bevel.top := defaultbeveltop;   end; end; 

copy new iss file , provide valid license.txt file in order compile successfully. script tested inno 5.4.0 should work 5.x.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -