|
-
Aug 24th, 2001, 12:57 PM
#1
Thread Starter
New Member
Save property to be edited in a variable?
I'm writing a program where the property that will be changed will vary but all the other code will not. I'd like to write a subroutine, but how do I pass a subroutine what property of the object to edit. Is this possible to do without assigning a string "FontBold" or something and then doing a case statement in the subroutine to determine what property to modify? I'm going to be working with around 30 properties so I don't want a huge case statement. Any help would be greatly appreciated. Thanks in advance
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
|