Solved

Form Designer Example

Posted on 1999-01-09
10
153 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
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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

776 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