-
ListView in a new form?
I have a CommonDial a user uses to select a DB, I want a new form to open containing the ListView populated by the users selected DB. Also how do I send a form a variable. Can I change a forms properties and controls from a different form(like changes options Napster). Thanks for any input on the subject. Please suggest any tutorials as well.
-
Hello,
you can to this in several ways.
Here's a possible one.
When U want to pass a variable from one form to an other you can place it in a global variable in a module file.
Now you can access this variable on each form in your project.
You can also define that variable public in your form.
Public GlobVar as ...
Now you can access it by:
formname.GlobVar
As for your other question concerning changing the properties of a form. Yes, you can change the properties.
Like,
frmName.name = "The formname"
But not all properties can be changed. Like for example changing the borderstyle at runtime is not possible because it is a readonly property. (It is possible of doing this but this concerns some api calls, not of use here)
Greetings.