Solved

Form Designer Example

Posted on 1999-01-09
10
152 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
  • 5
  • 4
10 Comments
 
LVL 15

Expert Comment

by:ameba
Comment Utility
What exactly do you need?
0
 
LVL 4

Author Comment

by:idcanada
Comment Utility
A form designer example...

0
 
LVL 12

Accepted Solution

by:
mark2150 earned 0 total points
Comment Utility
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
 
LVL 15

Expert Comment

by:ameba
Comment Utility
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
Comment Utility
Grid is done and so is the ToolBox,
can you help with the properties window?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 4

Author Comment

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

Expert Comment

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

Author Comment

by:idcanada
Comment Utility
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
Comment Utility
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
Comment Utility

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now