Solved

Form Designer Example

Posted on 1999-01-09
10
154 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
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!

 
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

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

749 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