|
-
Feb 9th, 2011, 01:52 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Toolbar return key
Good day!..
I'm using a toolbar component in the Microsoft Windows Common Control 6.0 (SP6).
I am wondering if this is possible in the toolbar button's caption:
Instead of this:
The caption of the button is like this:
It's like a return key is press after the word "Add a"..
Manny Pacquiao once posted in his twitter:
It doesn't matter if the grammar is wrong, what matter is that you get the message
-
Feb 9th, 2011, 04:38 AM
#2
Re: Toolbar return key
depending if the caption is multi line you could try
vb Code:
caption = "Add a" & vbnewline & "Student"
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Feb 9th, 2011, 04:48 AM
#3
Thread Starter
Fanatic Member
Re: Toolbar return key
Thanks for the reply.
I already tried that but it didn't work. The vbnewline shows a [] squares and boxes..
I think new lines are impossible in the caption of the tool bar...
Manny Pacquiao once posted in his twitter:
It doesn't matter if the grammar is wrong, what matter is that you get the message
-
Feb 9th, 2011, 08:38 AM
#4
Re: Toolbar return key
So use a graphic app like MS Paint to create a bmp
which has your multiline caption, put it
in an imagelist and assign the imagelist pic to the button.
-
Feb 9th, 2011, 09:00 AM
#5
Thread Starter
Fanatic Member
Re: Toolbar return key
probably the best solution for my problem..
thanks vbclassicrocks
Manny Pacquiao once posted in his twitter:
It doesn't matter if the grammar is wrong, what matter is that you get the message
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
|