Msgbox: Can You Change Size/color?
Is it possible to change the size/color of a msgbox in the code section...if so how is this done and what sort of coding would do this?
Thanks.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
MsgBox Color And Size Change( VB 6.0)
Hi,
My Problems Are
1). I want to display MessageBox Following method
" Please Select UserName XXXXXX "
is it possible using MsgBox?
and also
2). I have a Label field and Lable Caption should be as follows
User ( 100 - XXXXXX ) is Selected
Is it possible to use two different colors & Font
I am using
label.caption = " user(100 - XXXXXX) is Selected
please any one tell me how i can proceed?
Popupmenu Background Color Change As Well As Font Size Change
hi folks
am creating one popupmenu using createpopupmenu() API
and also i insert items dynamically using insertmenuitem API
and display using Trackpopupmenu().
My problem is
1)i want to change the background color of popup menu?????
2 i want to change the font size in popup menu ???????
dynamically .
if any body know API or how to change the font size and change the background color in popupmenu ,please help ur friend.
Important:
I don't need menu editor.
i need only popup menu.
expecting a positve reply.
-------------------------------------------------
"HARD WORK NEVER END FAILS"
-------------------------------------------------
Change Color Of Msg In Msgbox
Does anyone know how I can change the colour of the text in a MSGBOX?
I have a msg I want displayed, but I want a certain piece of it red while the rest remains black...for instance:
<vb> MsgBox "Missing Values in: " & str & ". Please fill in these values." </vb>
I want str to be RED.
Change The Color Of MSGBOX
Hello,
I want to change the back color of MSGBOX to RGB(233,214,214) and fore color to yello. Is there any way ?
Farooq
Change MSGBOX COLOR
Hello
I want to change the VB msgbox Back and fore color. Please help me
Thanks
Farooq
Change FONT/COLOR Of Msgbox
Hi there,
Is there a way i can change the colour of the message box or insert an icon or change the font style of the text to be displayed...
if so..plz send me code snippets....
thanx in anticipation....
regards,
Change Background Color Of Inputbox/msgbox In Vb.net
Hello,
I have developed one application in which i'm using inputbox and
msgbox. I want to change background color of both. how can i do this.
pls help me.
Thanks in advance,
pradip
Yahoo! India Matrimony: Find your life partneronline.
Change Text Color And Size
I have set the text size, color and the font time to print it out.The code below doesn't change the text properties.How to set the text properties?
Code:
Printer.Print "Legend": ForeColor = vbBlack: FontSize = 15: FontName = "Times New Roman"
Unresolved - Can You Change The Menu Bar Color On Forms & The Face Color On SSTabs?
Is there a way to change the menu bar color on particular forms during runtime? I only have 1 form open at any any given time in my app... Also, is there a way to change the back color of an SSTab control during runtime so that the entire surface of the SStab is the new color?? When I change the back color it doesn't change the color of the active SSTab face, but only the color behind the tabs somewhere, as I can see the new color barely displayed between the SSTab tabs.
Thanks!
ddutke
Edited by - ddutke on 2/18/2005 1:42:53 PM
PictureBox Size Change With Form Size [Solved]
I have a toolbar and a statusbar on my form, i want the size of the picturebox to follow the size of the form. So this is my code
Code:
Private Sub Form_Resize()
If Me.WindowState <> 1 Then 'not minimized
On Error Resume Next
Picture1.Top = Toolbar1.Top + Toolbar1.Height
Picture1.Left = 0
Picture1.Width = StatusBar1.Width
Picture1.Height = StatusBar1.Top - (Toolbar1.Top + Toolbar1.Height)
End If
End Sub
This works perfect if the window state is 0 (normal) if it is maximized the size of the picturebox is the same as it was before i maximized.
Below is the testcode
Edited by - anders@dac.se on 6/16/2004 6:37:13 AM
Color Of MsgBox
Hi,
Is it possible to change the color of a message box ?
this is a part of the source code
MsgVal = MsgBox("Some text ", vbQuestion + vbOKCancel, "Toevoegen")
Can anybody help me ?
Thx
Msgbox Color
i know i can create a new form and use it as msgbox
but i want to know is there a way that color of msgbox & its buttons can b changed
thanx
Msgbox Variable Size
Hello,
I like to show a statusdialog when I finished some actions in my program.
When I use a Msgbox the program 'cuts' some informations at the end of the variable!
So my question - how many characters can I display with a Msgbox?
I use a dialog with a textfield as a workaround at the moment, but I would like to use a standard msgbox instead.
Thanks for this info.
Stefan
Font Size On Msgbox
Hi, is there a way to set the font size on a message box? I can't seem to figure it out..
Thanks
John
Msgbox Background Color
Hello Friends.
My intention is to change background color of all Msgboxes (class #32770) SYSTEM-WIDE!!
(without having to change my system settings)
It is possible to change it within an application (see URL below) but how can it be done for foreign applications??
http://www.elitevb.com/content/01,0062,01
Any ideas welcome!
Thanks & Regards
Sanjay.
Color {change Button Color}
This seems like a stupid question but how do you change the text colour on buttons in vb? i have changed the button color but need to also change the text colour to white, anyone?
MSGBOX - SETTING FONT SIZE And STYLE
IS THERE A WAY TO SET THE FONT SIZE AND FONT STYLE (BOLD,ITALICIZED...) WHEN USING THE MESSAGE BOX? I HAVE APPLICATION BUILT AND WOULD LIKE TO PUT FINISHING TOUCHES. HELP WOULD BE GREATLY APPRECIATED
MSGBox - Change Font?
I have the following VB 6 code:
Code:
Private Sub cmdCancel_Click()
MsgBox "Are you really sure you want to cancel?"
Unload Me
End Sub
My question is, can I change the font and font size of the text in the Message box?
How To Change MSGBOX Style
I just wanted to ask how to change the msgbox style, for example, put a Critical or Information picture on the side of the message box
Thanx in advance
How To Change The Position Of A MsgBox
Hi,
When the main window of my app is moved around the screen, msgBoxes are displayed at the center of the screen, regardless of the position of the form.
Is there a way to change the position of a message box?
thanks.
How Can Change MSGBOX Command
How can change the caption of msgbox commands
I want to show "xxxx" and "yyyy" not "Yes" and "No"
or I want to have n command for example :
"Yes" , "No" , "Ignore" ,"Abort", ....
I will very happy if you send a free object or an answer
for this problem.
Cursor Color And Size
I want to change the cursor color and size when the cursor moves from one text box to the other. Could you please help me how I should do it?
Thank you
How Can I Change The Legend In A Msgbox'button?
Hello dear guys
Well. I did a program in VB6.0. I did it in a spanish version. Today, i need to translate it to english. All OK, except when during execution, the program shows a msgbox. I used msgbox with vbOK and in spanish the click button shows legend "aceptar". I'd like that the msgbox in my english version could show the legend "accept" or "OK". Maybe my problem is related to Windows because i use Spanish version of it. Any help will be great appreciated.
Thanks in advance.
Msgbox {change Button Text}
Is there a way to change the "Yes" and "No" of a MsgBox to different text? Spanish text? Using API's?
-xmen64
Change Caption Of Msgbox Buttons
Hi !
The title says it all...
IS there a way to change the caption of msgbox object when calling it
I.E : result-msgbox("Are you OK ?",vbYesNo,"Whocares")
Why Wont The Msgbox Title Change?
I was working on making the msgbox title change to login but It wont work for some reason, I was able to make it blank... But not work.
Code:
Code:
Dim usernames As String
Private Sub cmdlogin_Click()
If txtname.Text = "" Then
MsgBox "Please Enter a Username", , Login
Else
MsgBox "Welcome, " & usernames, , Login
End If
End Sub
Private Sub Form_Load()
txtmain.Text = "Hello and welcome to Text Role-Playing Engine 1.0a" & vbNewLine & "Please Click Login!"
End Sub
Private Sub txtname_Change()
usernames = txtname.Text
End Sub
Was doing the ", ,Login" right? Login is supposed to be the title.
Change Msgbox Screen Position?
app x has a messagebox which pops up from items in an array, each time. user then locates the entity, and modified it, then hit's ok in msgbox, which goes to the next entity, and so on. well the user, has to move the message box, to work on the creen- is there a way to position a message box on show, like you position a form?
Change MsgBox Button Caption
Hi All,
Can we change the caption of the message box? I guess I'll have to use an API. Required a quick answer. Any idea will be highly appreciated. Thanks.
RESOLVED:How To Change Titile Of Msgbox ?
Hi all .I wonder how i can change title of my msgbox . it keep showing me project 1. I be happy if some one tell me how i can change it to some thing meaning full .Thanks
|