Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 Msgbox color

Author  Topic 

sarikavbhosale
Starting Member

24 Posts

Posted - 2005-12-06 : 01:12:17
Hello ....
Is there any method to change the backcolor of msgbox....
or any method by which we can change the appearance of the msgbox displayed....
Please give me some idea...
Thank u

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-12-06 : 02:28:16
If you are using VB6, Instead of message box, you can use Form as your Message box and customise it

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

sarikavbhosale
Starting Member

24 Posts

Posted - 2005-12-06 : 03:21:39
But is surely increases complexity of project...b'coz thr r no.of msg's required....
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-12-06 : 03:47:20
Use the same form for all the messages and change the content accordingly

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

sarikavbhosale
Starting Member

24 Posts

Posted - 2005-12-06 : 03:50:06
Yes,this will be a proper way...
Thank U....
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2005-12-06 : 08:51:28
Learn about CLASSES. They are your friend!
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2005-12-06 : 09:29:09
VB6 and classes... are you sure you want to go there?

Go with the flow & have fun! Else fight the flow
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-12-06 : 09:33:24
>>VB6 and classes... are you sure you want to go there?

What are you recommending?


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2005-12-06 : 09:53:25
don't do VB6
this is just my opinion...
I'm a child of C++ so i always disliked VB.
i always did stuff in VC++ not VB.

Go with the flow & have fun! Else fight the flow
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2005-12-06 : 10:02:55
VB6 does implement classes in a really poor way, especially when it comes to forms. A form named "Form1" is both a class AND an object which is an instance of that class at the same time!

But, still, even in VB6, you can easily create a single, generic CustomMessageBox form and call it whenever you need.
Go to Top of Page
   

- Advertisement -