|
-
Nov 8th, 1999, 11:10 AM
#1
Thread Starter
Fanatic Member
Do you have any ideas why this code would not work???
Me.Caption = "Name [" & RecentFileName(Index) & "]"
or
Me.Caption = "Name [" & RecentFileName(Index) & Chr(91)
It doesn't print the last ] thing.
Thanks
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
[This message has been edited by QWERTY (edited 11-08-1999).]
-
Nov 8th, 1999, 11:26 AM
#2
Hyperactive Member
I copied/pasted your code and it worked fine.
A stupid question: do you have enough horizontal space in your form? (I mean Width)
-
Nov 8th, 1999, 11:31 AM
#3
Thread Starter
Fanatic Member
I have a lot of space. This code works for me too... well sometimes. It works when I'm trying to change form's caption from another form, but it doesn't when I want to do it from the same form.
Thanks for your response
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
-
Nov 8th, 1999, 07:39 PM
#4
It should work fine.
Form1.Caption = "Name [" & RecentFileName(Index) & "]"
Regards,
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819
-
Nov 8th, 1999, 08:04 PM
#5
Addicted Member
Try to refresh the form afterwards.
It worked for me.
------------------
Jorge Ledo
[email protected]
Portugal
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
|