Solved

Form Designer Example

Posted on 1999-01-09
10
155 Views
Last Modified: 2010-05-03

Would like to know if any of my fellow experts have
seen a Form Designer example.

One that adds Labels, Command Buttons, TextBoxes, etc.
during Run Time.

Resize and Moveing of controls.
0
Comment
Question by:idcanada
[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
  • 5
  • 4
10 Comments
 
LVL 15

Expert Comment

by:ameba
ID: 1455073
What exactly do you need?
0
 
LVL 4

Author Comment

by:idcanada
ID: 1455074
A form designer example...

0
 
LVL 12

Accepted Solution

by:
mark2150 earned 0 total points
ID: 1455075
In VB5 you cannot create additional controls unless you've 'seeded' your form with a control array. You can then add additional elements to the control array to have additional buttons, labels, etc. appear. Hard part tho is to get the controls to *DO* anything! You'll have to have preset code in the various event subroutines *ALREADY SET*. You can't dynamically alter the code (after all, this is a *COMPILER*). Anyway, once you have created the new control you can tweak it's properties to your hearts content.

M
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 15

Expert Comment

by:ameba
ID: 1455076
idcanada,
you will need:
1. Empty form with grid (frmDesigner)
2. Toolbox
3. Properties window

I suggest you start with 1 - showing the grid.
Your Options Form should have this settings:
Show grid (checkbox)
Width
Height (default=60, i.e. 4 pixels)

When user resizes Form, be sure to update grid.
Looks like simple task. Can you do this?
0
 
LVL 4

Author Comment

by:idcanada
ID: 1455077
Grid is done and so is the ToolBox,
can you help with the properties window?
0
 
LVL 4

Author Comment

by:idcanada
ID: 1455078
Grid is done and so is the ToolBox,
can you help with the properties window?
0
 
LVL 15

Expert Comment

by:ameba
ID: 1455079
You can buy one for $30. 'Excalibur PropertyList'
0
 
LVL 4

Author Comment

by:idcanada
ID: 1455080
Out of the Question.
I like the fact that my project is dependent on no other then
the VM and a few Microsoft controls.
Therefore, project can be easily passed on as it has full source.

However, someone has done it. Therefore, can be done.
Can you help?

0
 
LVL 15

Expert Comment

by:ameba
ID: 1455081
It is good idea to see what it does.
Author: Ben Baird
http://www.cyberhighway.com/~psy/

>Can you help?
Don't know (e-mail me for details, my e-mail is in my profile)
0
 
LVL 4

Author Comment

by:idcanada
ID: 1455082

Well, I at least know what it should do...
I do know of this web site, and have seen the control in action.
However, I do not think that we will get much information since he is makeing a small
profit from it at the momment.


0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

739 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