Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

C++ Builder Question

Posted on 2000-04-20
2
Medium Priority
?
249 Views
Last Modified: 2010-04-10
Would anybody know how to output the contents of a Linked list onto a different MDI Child form (Not open Yet).
Also do you know how to open a form for use and make it invisible when There are No instances of another Child form.

There are two details which I need to print on the one line:  Err Number and Err Description.

Any help is very much appreciated!! Cheers.
Elmo
0
Comment
Question by:Elmo_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
LordDragon earned 200 total points
ID: 2734759
Well, this is a vague question, so I'll answer it as best I can...

1) Place a memo on to the form, step through the list and output it to the text box

(assuming you are not using the STL ... )

memo1->Lines->Clear();
for (l = head_of_list; l; l = l->next)
   memo1->Lines->Append(l->text);

2) Set the Visible attrribute to false (Visible = false) and the form will
go away

form1->Visible = false;

3)

AnsiString s = AnseiString((int) ErrNumber) + ":" + ErrDescription;

then output s where and when you want to
0
 
LVL 3

Author Comment

by:Elmo_
ID: 2738899
Cheers,

Great help - I thought That you can not make an MDI Child Form Invisible though!!!

Cheers for the help!!

Elmo_
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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
Suggested Courses

609 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