• Welcome to Valhalla Legends Archive.
 

Creating RTB/Resizing form

Started by FuzZ, July 09, 2003, 10:32 PM

Previous topic - Next topic

FuzZ

I'm working on a moderation bot, and I don't want the console to be viewable at all times, only for debugging/user specified. I was wondering whether I could just hide the RTB or just resize the form, or how I'd go about doing this, any help with this would be greatly appreciated and would be noted for doing so. Thanks for reading :)

Grok

Search the forum.  Resize code has been pasted more than once.

FuzZ

#2
This is what I ended up with.

Public Function FrmResize(ByVal level As Integer)
   If level = 1 Then
       console.Width = "1"
       console.Height = "1"
       frmMain.Width = "5500"
       frmMain.Height = "650"
   Else
       console.Height = "3135"
       console.Width = "8175"
       frmMain.Width = "8325"
       frmMain.Height = "3855"
   End If
End Function



I did a search, wasn't exactly what I was looking for but I can use it as an example. Sorry for the thread post.. I hadn't even thought of searching ;\

Camel

Why are you putting constant numbers in quotes?