2 Begin VB.Form EnterMessage
4 BackColor = &H00C0C0C0&
18 strikethrough = 0 'False
20 ForeColor = &H80000008&
31 Begin VB.CommandButton hold_button
33 BackColor = &H80000005&
36 name = "MS Sans Serif"
42 strikethrough = 0 'False
50 Begin VB.CommandButton ShowFmt
52 BackColor = &H80000005&
53 Caption = "Show &Formatted"
55 name = "MS Sans Serif"
61 strikethrough = 0 'False
69 Begin Threed.SSPanel CurrPos
80 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
81 name = "MS Sans Serif"
87 strikethrough = 0 'False
93 Begin VB.CommandButton InsQuote
95 BackColor = &H80000005&
96 Caption = "Insert &Quote"
98 name = "MS Sans Serif"
104 strikethrough = 0 'False
112 Begin Threed.SSPanel message_panel
122 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
123 name = "MS Sans Serif"
129 strikethrough = 0 'False
134 Begin VB.TextBox message_text
136 BackColor = &H00C0C0C0&
137 BorderStyle = 0 'None
145 strikethrough = 0 'False
150 ScrollBars = 2 'Vertical
156 Begin VB.CommandButton save_button
158 BackColor = &H80000005&
161 name = "MS Sans Serif"
167 strikethrough = 0 'False
175 Begin Threed.SSPanel room_panel
185 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
186 name = "MS Sans Serif"
192 strikethrough = 0 'False
198 Begin Threed.SSPanel date_panel
208 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
209 name = "MS Sans Serif"
215 strikethrough = 0 'False
221 Begin Threed.SSPanel to_panel
231 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
232 name = "MS Sans Serif"
238 strikethrough = 0 'False
244 Begin VB.CommandButton cancel_button
246 BackColor = &H80000005&
249 name = "MS Sans Serif"
255 strikethrough = 0 'False
263 Begin Threed.SSPanel from_panel
273 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
274 name = "MS Sans Serif"
280 strikethrough = 0 'False
286 Begin VB.Label Label5
287 Alignment = 1 'Right Justify
289 BackColor = &H80000005&
290 BackStyle = 0 'Transparent
293 name = "MS Sans Serif"
299 strikethrough = 0 'False
301 ForeColor = &H80000008&
308 Begin VB.Label Label4
309 Alignment = 1 'Right Justify
311 BackColor = &H80000005&
312 BackStyle = 0 'Transparent
315 name = "MS Sans Serif"
321 strikethrough = 0 'False
323 ForeColor = &H80000008&
330 Begin VB.Label Label3
331 Alignment = 1 'Right Justify
333 BackColor = &H80000005&
334 BackStyle = 0 'Transparent
337 name = "MS Sans Serif"
343 strikethrough = 0 'False
345 ForeColor = &H80000008&
352 Begin VB.Label Label2
353 Alignment = 1 'Right Justify
355 BackColor = &H80000005&
356 BackStyle = 0 'Transparent
359 name = "MS Sans Serif"
365 strikethrough = 0 'False
367 ForeColor = &H80000008&
375 Attribute VB_Name = "EnterMessage"
376 Attribute VB_Creatable = False
377 Attribute VB_Exposed = False
379 Private Sub cancel_button_Click()
385 Private Sub Form_Load()
387 message_text.FontName = GetPrivateProfileVBString("Preferences", "VariFontName", "MS Sans Serif", "WINCIT.INI")
388 message_text.FontSize = GetPrivateProfileInt("Preferences", "VariFontSize", 10, "WINCIT.INI")
389 If Len(HoldMessage$) > 0 Then
390 message_text.Text = Cit_Format(HoldMessage$)
392 to_panel.Caption = recp$
393 room_panel.Caption = CurrRoomName$
397 message_text.SetFocus
401 Private Sub Form_Resize()
403 EnterMessage.Left = 0
405 EnterMessage.Width = MainWin.Width
406 EnterMessage.Height = MainWin.Height - 450
408 cancel_button.Top = Abs(EnterMessage.Height - 520)
409 save_button.Top = Abs(EnterMessage.Height - 520)
410 InsQuote.Top = Abs(EnterMessage.Height - 520)
411 ShowFmt.Top = Abs(EnterMessage.Height - 520)
412 hold_button.Top = Abs(EnterMessage.Height - 520)
413 CurrPos.Top = Abs(EnterMessage.Height - 520)
414 message_text.Width = Abs(EnterMessage.Width - 336)
415 message_text.Height = Abs(EnterMessage.Height - 1664)
416 message_panel.Height = Abs(EnterMessage.Height - 1424)
417 message_panel.Width = Abs(EnterMessage.Width - 100)
420 Private Sub hold_button_Click()
421 HoldMessage$ = message_text.Text
426 Private Sub InsQuote_Click()
428 message_text.SelText = Clipboard.GetText()
433 Private Sub message_text_Click()
435 CurrPos.Caption = Str$(message_text.SelStart) + " / " + Str$(Len(message_text.Text))
439 Private Sub message_text_KeyDown(KeyCode As Integer, Shift As Integer)
441 CurrPos.Caption = Str$(message_text.SelStart) + " / " + Str$(Len(message_text.Text))
445 Private Sub save_button_Click()
447 a$ = message_text.Text
448 Do While Right$(a$, 2) = Chr$(13) + Chr$(10)
449 a$ = Left$(a$, Len(a$) - 2)
451 message_text.Text = Cit_Format(a$)
454 If begin_trans() = True Then
455 a$ = "ENT0 1|" + recp$
458 If Left$(a$, 1) <> "4" Then
462 Transmit_Buffer (message_text.Text)
473 Private Sub ShowFmt_Click()
474 a$ = message_text.Text
475 Do While Right$(a$, 2) = Chr$(13) + Chr$(10)
476 a$ = Left$(a$, Len(a$) - 2)
478 message_text.Text = Cit_Format(a$)