LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
ion ion is offline
external usenet poster
 
Posts: 12
Default Caption on UserForm only setting in Subclass

Hiya.
The Caption property seems to not refer to my windowtitle if I cast my
userform to the UserForm interface. Is that clear? When I go
function example(smork as UserForm)
dim bulb as frmMine
smork.caption = "Floom" ' writes 'Floom' in Title Bar
set bulb = smork
bulb.caption = "But, I'm on the form itself!" ' writes on the form body
end function

What's up with this? I'd like to use my function against different
types of UserForms, but I'd need to be able to set the title bar.
Help!
Ion

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Userform Caption Jason Zischke Excel Programming 2 April 5th 06 08:49 AM
setting caption of field in table in db x taol Excel Programming 0 January 31st 06 12:32 AM
Setting Caption for the RefEdit box? Bruce E. Stemplewski Excel Programming 3 December 26th 04 12:25 AM
setting the caption in a button control Andy Dorph Excel Programming 4 December 15th 04 05:03 PM
UserForm Caption Soniya Excel Programming 2 October 4th 03 01:53 PM


All times are GMT +1. The time now is 06:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"