Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Delphi 2.0 experts

Posted on 1998-02-03
2
Medium Priority
?
152 Views
Last Modified: 2010-04-04
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
Comment
Question by:pfefferboog
2 Comments
 
LVL 4

Expert Comment

by:d003303
ID: 1358207
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
 
LVL 3

Accepted Solution

by:
d4jaj1 earned 200 total points
ID: 1358208
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question