Hello,
it is possible to do... you just need to read a help little bit...
Now I am sending you example very simple on...
When you click on next button you see next form!!
1. way: Make a double-click on the Command Button in the ViewObject view of
your form That performs, that it should change to the ViewCode view and add
a Sub like this:
Private Sub next_Click()
End Sub
2. way: Directly above your source code you have two dropdown lists. On the
left you could select your object (the next button in this case) and on the
right you could select all events that may be depending on this object
(click, gotfocus, keydown, ...)
Form1 is your form, with the next Button code:
Form2 is the form, that will be displayed after clicking the next button
In Form1 try this:
Private Sub next_Click()
Form2.Show, 0
If it is not working you can also try..
Make a new module under menu Project|Add module
Make a sub called main in it:
Sub main()
Form1.Show
( Form1.Refresh) you can put this but not neccessary..
End Sub
Regards
Irena
Quote:
> I am attempting to write a simple application in eVB which requires
loading
> / showing different forms, but I can't seem to be able to do it.
> My only experience in using VB is within Access 2000, where a simple
> docmd.open does the trick. However this doesn't seem to work in eVB.
> Does someone have a simple example of a program which loads a form when a
> button on another form is clicked?
> If someone could shed some light on my ignorance I would be very grateful.
> Thanks
> Phil