Hi Scott -- Thanks for the detailed response. I'm looking forward to trying out your suggestions. On my own, I didn't even know I needed to use WizardRouteMapList in addition to the basic JvWizard component! I'm sure you saved me lots of time.
Thanks again; I really appreciate you taking the time to respond -- Al >From: <[EMAIL PROTECTED]> >Reply-To: Borland's Delphi Discussion List <[email protected]> >To: "'Borland's Delphi Discussion List'" <[email protected]> >Subject: RE: JvWizard Sample Code >Date: Fri, 30 Dec 2005 00:08:30 -0500 > >Hi Alan, >I don't think there are any samples supplied for JvWizard with 3.0, >although >the source code for the JVCL installer which uses JvWizard is supplied and >that is what I studied to figure out what to do. I just got done developing >a fairly sophisticated wizard this week and was able to get up to speed in >about 45m. > >Here are the basic steps and threw together and attached a simple three >page >sample wizard for you that shows the important things you'll want to do. If >you have more questions, post them to the group > >1. Drop a JvWizard on a form > >2. Drop a WizardRouteMapList on the form (If you want a map) > >3. Right click on the wizard and select New Interior Page (Repeat this a >couple of times).(I've never bothered using the "New Welcome Page") > >4. For each page, give it a name, set its title and sub-title using the OI. >(I usually set its caption value to "") > >5. Set the WizardRouteMapList.ItemText property where it get its text. I >usually set it to Title which will cause it to display the value of the >title.text for the current page > >6. For each page use using the EnableButtons and VisibleButtons properties >to control the buttons that appear below. > >7. Typical event used are: > OnEnterPage: To setup controls on a particular page before >transitioning to the page. (Note that the page is not yet visible at this >point so you can't set focus to a particular page) > OnPage: Page is fully rendered and visible so you can set focus. > OnNextButtonClick: When the user clicks the next button. I normally >capture the values off the page at this point and decide whether to show or >hide subsequent pages (thereby making the wizard dynamic). > >8. To show or hide a page use <pagename>.Enabled := True/False > >9. To enable/disable a button, use <pagename>.EnableButton(<btKind>, >True/False) ie, EnableButton(bkNext, False), disables the Next button. I'll >do this to prevent the use from moving forward if they haven't properly >filled out a control on the current page. > >10. Each page exposes ButtonClick events corresponding to each button type >(Cancel, Next, Back etc). The event handler provides a Stop parameter which >you can set to True to prevent the page switch. I'll use this sometimes if >there if there is an invalid field on the current page. > > >Thank you, >Scott > >--- Today's Quote --- > >Murphy's Computer Law 52: Badness comes in waves. > >_____________________________________________ >Scott Kellish >SoftSystem Solutions, LLC >18 Ridge Road >Clark, NJ 07066 > >Voice/Fax: 732.382.1873 >Cell: 732.261.5856 >ICQ: 161-756-325 >E-Mail: [EMAIL PROTECTED] >Web: www.softsystemsolutions.com >_____________________________________________ > > > > > > > > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On >Behalf >Of Alan Colburn >Sent: Thursday, December 29, 2005 11:24 AM >To: [email protected] >Subject: JvWizard Sample Code > >Can anybody point me toward sample code for using the JvWizard component(s) >in Project JEDI? If examples for this component set are included with the >project, I can't find where they are. > >Thanks, as always -- Al C. > >_________________________________________________________________ >Express yourself instantly with MSN Messenger! Download today - it's FREE! >http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > >_______________________________________________ >Delphi mailing list -> [email protected] >http://www.elists.org/mailman/listinfo/delphi >_______________________________________________ >Delphi mailing list -> [email protected] >http://www.elists.org/mailman/listinfo/delphi _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

