Solved

Delphi 2.0 experts

Posted on 1998-02-03
2
148 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 100 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

821 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