Valhalla Legends Archive

Programming => General Programming => Topic started by: FuzZ on July 09, 2003, 10:32 PM

Title: Creating RTB/Resizing form
Post by: FuzZ on July 09, 2003, 10:32 PM
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 :)
Title: Re:Creating RTB/Resizing form
Post by: Grok on July 10, 2003, 05:52 AM
Search the forum.  Resize code has been pasted more than once.
Title: Re:Creating RTB/Resizing form
Post by: FuzZ on July 10, 2003, 01:57 PM
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 ;\
Title: Re:Creating RTB/Resizing form
Post by: Camel on July 13, 2003, 06:17 PM
Why are you putting constant numbers in quotes?