| Mirage Source http://web.miragesource.net/forums/ |
|
| Custom Msg Box http://web.miragesource.net/forums/viewtopic.php?f=201&t=3678 |
Page 1 of 1 |
| Author: | wisefire [ Sat May 03, 2008 5:32 am ] |
| Post subject: | Custom Msg Box |
Allright, Im trying to make a custom msgbox, The basic one is ugly as, well you know. So I made a form, Added a lable and a button, Wahoo. Now, the sub; Code: Public Sub MsgBox(Msg As String) frmMsgBox.Visible = True Msg = frmMsgBox.MsgLabel.Caption End Sub So basicly, this is called, Code: Call MsgBox("Bound Item ; This Item may not be dropped nor traded.") The Box will pop up, set the label and you can click ok to close it. Yet. It dosn't work Someone wanna let me know why? |
|
| Author: | Dragoons Master [ Sat May 03, 2008 6:12 am ] |
| Post subject: | Re: Custom Msg Box |
I think... Msg = frmMsgBox.MsgLabel.Caption should be frmMsgBox.MsgLabel.Caption = Msg |
|
| Author: | wisefire [ Sat May 03, 2008 6:24 am ] |
| Post subject: | Re: Custom Msg Box |
Dragoons Master wrote: I think... Msg = frmMsgBox.MsgLabel.Caption should be frmMsgBox.MsgLabel.Caption = Msg Aw, Such an easy fix. Thanks! |
|
| Author: | Dragoons Master [ Sat May 03, 2008 7:32 am ] |
| Post subject: | Re: Custom Msg Box |
It happens hehehe. |
|
| Author: | Tony [ Sat May 03, 2008 9:04 pm ] |
| Post subject: | Re: Custom Msg Box |
Yeah, lblCaption would've been nothing and your just setting the variable Msg to what lblCaption would be. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|