Solved

Form Designer Example

Posted on 1999-01-09
10
156 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

632 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