[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 153
  • Last Modified:

Delphi 2.0 experts

I would like my program to guide the user with a, sorry ;-), "Microsoft"-style expert but I do not have a glue how to manage this (I looked at the ExpertDemo Demo but it did not seem to provide the right functions). Does anybody have a demoprogram or the Code needed to do this ?
0
pfefferboog
Asked:
pfefferboog
1 Solution
 
d003303Commented:
Yo,

a base point to start is to create a form in the layout you want for the expert (a blank panel for the content, buttons on the bottom) and put it into the repository (as, say TExpertForm). Use this form template to generate all forms you need for the expert and set visible to false. Then use the template to generate your 'master' form. It contains only the empty panel and the buttons.
Create an array of TExpertForm, say MyExpertForms, in the master, assign all forms in the right order of appearance. Now build a step-logic that increments/decrements a form pointer index on prev/next. When the pointer is about to be modified, assign MyExpertForms[Index].ThePanel.Parent := MyExpertForms[Index], increment/decrement the pointer, then assign MyExpertForms[Index].ThePanel.Parent := Self and you have a nice, quick step-by-step logic.
Note that the logic of the components in the panel resists on the form where they were created.

Hope this helps,
Slash/d003303
0
 
d4jaj1Commented:
here are two freeware compoenents called FormPlacement and PageManager, which automatically take care of making sure your 'experts' forms look alike and are positioned the same way.  These two components are part of a freeware set called RXLib.  You can download RxLib lib from http://rx.demo.ru.

There are over 25 other useful compoenents in this set.

Good Luck.

Jay
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now