|
-
May 17th, 2000, 09:08 PM
#1
Thread Starter
Hyperactive Member
Does anyone know if I can call a property page during runtime???
For instance, i have this control, and the user clicks on a cmd button to call up the property page. I would like the property page to pop up and allow the user to edit the controls properties. Is this possible? Are there examples to show this.
Cheers
Bill Rogers
-
May 17th, 2000, 10:06 PM
#2
Junior Member
If you make your own form with text boxes or something, you can edit the control properties.
For example:
You click the "Properties" button that brings up a command button property list. This one only lists 3 properties. txtCaption, txtHeight, txtWidth. It also has an "Apply" button.
Code:
Private Sub cmdApply_Click()
cmdYourButton.Caption = txtCaption.Text
cmdYourButton.Height = txtHeight.Text
cmdYourButton.Width = txtWidth.Text
End Sub
Just add more properties in the same way.
-CD
[Edited by CreepingDeath on 05-18-2000 at 11:07 AM]
-
May 18th, 2000, 12:57 AM
#3
Thread Starter
Hyperactive Member
that normally would be the approach to use, but I am developing a MMC snapin, and there could multiple snapins and if I use a form it locks out the other snapin where as if i can figure out how to call my property page at runtime it wouldnt lock out the other snapin's.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|