right-click adds some extra features without effort! Like printing.
Also, you can zoom in/out using ctrl+mouse wheel.
[Class] Console - Standardized Console GUI with Methods
Re: [Class] Console - Standardized Console GUI with Methods
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
*poke*
Is it December 21, 2012 yet?
- AfterLemon
- Posts: 85
- Joined: 30 Sep 2013, 14:27
- Location: Ohio, USA
Re: [Class] Console - Standardized Console GUI with Methods
Thank you Sjc1000. We did, in fact, talk about the use of the right-click menu. We want this console to serve as great a purpose as it can, so we decided to leave that feature in. In fact, the ability to save information to it and print directly from the control is pretty useful.
I appreciate the heads-up about the options for it, though. Keep up the good work guys! I might be able to code, but I don't have nearly as many good ideas as you all.
I appreciate the heads-up about the options for it, though. Keep up the good work guys! I might be able to code, but I don't have nearly as many good ideas as you all.
HOME: Windows 11 Pro | AMD Ryzen 7 5800X 8-Core @ 4.50GHZ | 64GB RAM
MOBILE: Samsung Galaxy Note 10+
MOBILE: Samsung Galaxy Note 10+
Re: [Class] Console - Standardized Console GUI with Methods
Fast request, if doable
Give automatically focus to the console when the mouse is on top, to ease scrolling operations. Writing something returns the scrolling to the edit field automatically.
Give automatically focus to the console when the mouse is on top, to ease scrolling operations. Writing something returns the scrolling to the edit field automatically.
ABCza on the old forum.
My GitHub.
My GitHub.
Re: [Class] Console - Standardized Console GUI with Methods
That would require event listeners (onmessage or settimer) to constantly be running. We wanted to avoid that as it would possibly interfere with your main program.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
*poke*
Is it December 21, 2012 yet?
Re: [Class] Console - Standardized Console GUI with Methods
Thank you both for such a helpful tool! I have used this every single day since I found it.
I'm sure you're probably aware, but I wanted to make sure: it gives an error when you have a COM object stored in an object and you try to append/log the object:
I tried to attach an image of the error. The first error makes sense, you would never try to get the "value" of the COM object. But often I'll store Excel COM objects in the same object as other variables that all relate to each other as a way of keeping things connected and organized. Just wanted to bring it to your attention.
Thanks to you both, this is an amazing tool!
I'm sure you're probably aware, but I wanted to make sure: it gives an error when you have a COM object stored in an object and you try to append/log the object:
Code: Select all
Class_Console("the_debug_console",100,100,800,735)
the_debug_console.Show()
the_excel_COM_object := ComObjActive( "Excel.Application" )
my_object := Object()
the_debug_console.append( "the COM object by itself: ")
the_debug_console.append( the_excel_COM_object )
the_debug_console.append( "now the Object: ")
my_object["A String"] := "my string"
my_object["A Number"] := 11
my_object["excel application"] := the_excel_COM_object
my_object["excel workbook"] := the_excel_COM_object.Workbooks(1)
my_object["excel sheet"] := the_excel_COM_object.Workbooks(1).Worksheets(1)
the_debug_console.append( my_object )
;the_debug_console.log( my_object )
my_object["excel sheet"].Range("A1").value := "test"
the_excel_COM_object := ""
Thanks to you both, this is an amazing tool!
Return to “Scripts and Functions (v1)”
Who is online
Users browsing this forum: No registered users and 109 guests