4 BackColor = &H00C0C0C0&
18 strikethrough = 0 'False
20 ForeColor = &H80000008&
31 Begin VB.CommandButton ShowFmt
33 BackColor = &H80000005&
34 Caption = "Show &Formatted"
36 name = "MS Sans Serif"
42 strikethrough = 0 'False
50 Begin Threed.SSPanel message_panel
60 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
61 name = "MS Sans Serif"
67 strikethrough = 0 'False
72 Begin VB.TextBox message_text
74 BackColor = &H00C0C0C0&
83 strikethrough = 0 'False
88 ScrollBars = 2 'Vertical
94 Begin VB.CommandButton save_button
96 BackColor = &H80000005&
99 name = "MS Sans Serif"
105 strikethrough = 0 'False
113 Begin VB.CommandButton cancel_button
115 BackColor = &H80000005&
118 name = "MS Sans Serif"
124 strikethrough = 0 'False
133 Attribute VB_Name = "EditInfo"
134 Attribute VB_Creatable = False
135 Attribute VB_Exposed = False
137 Private Sub cancel_button_Click()
142 Private Sub Form_Load()
144 EditInfo.Caption = "Room Info for " + CurrRoomName$
145 message_text.FontName = GetPrivateProfileVBString("Preferences", "VariFontName", "MS Serif", "WINCIT.INI")
146 message_text.FontSize = GetPrivateProfileInt("Preferences", "VariFontSize", 12, "WINCIT.INI")
151 If begin_trans() = True Then
154 If Left$(a$, 1) = "1" Then
158 If c$ <> "000" Then b$ = b$ + c$ + Chr$(13) + Chr$(10)
159 Loop Until c$ = "000"
160 message_text.Text = Cit_Format(b$)
165 message_text.SetFocus
169 Private Sub Form_Resize()
172 EditInfo.Width = MainWin.Width
173 EditInfo.Height = MainWin.Height - 450
175 cancel_button.Top = Abs(EditInfo.Height - 520)
176 save_button.Top = Abs(EditInfo.Height - 520)
177 ShowFmt.Top = Abs(EditInfo.Height - 520)
178 message_text.Width = Abs(EditInfo.Width - 336)
179 message_text.Height = Abs(EditInfo.Height - 864)
180 message_panel.Height = Abs(EditInfo.Height - 624)
181 message_panel.Width = Abs(EditInfo.Width - 100)
184 Private Sub hold_button_Click()
185 HoldMessage$ = message_text.Text
190 Private Sub InsQuote_Click()
192 message_text.SelText = Clipboard.GetText()
197 Private Sub save_button_Click()
199 a$ = message_text.Text
200 Do While Right$(a$, 2) = Chr$(13) + Chr$(10)
201 a$ = Left$(a$, Len(a$) - 2)
203 message_text.Text = Cit_Format(a$)
206 If begin_trans() = True Then
210 If Left$(a$, 1) <> "4" Then
214 Transmit_Buffer (message_text.Text)
225 Private Sub ShowFmt_Click()
226 a$ = message_text.Text
227 Do While Right$(a$, 2) = Chr$(13) + Chr$(10)
228 a$ = Left$(a$, Len(a$) - 2)
230 message_text.Text = Cit_Format(a$)