Max GUI Useful Extra Commands..

(Posted 2 years ago) hardcoal

Im gonna post here some Useful time saving MaxGui Commands.. To save other People's Time

Function GetTextAreaSelectedText:String(TextArea:TGadget)

        Local Length = TextAreaSelLen(TextArea)

        Local Start = TextAreaCursor(TextArea)

        Return TextAreaText(TextArea, Start, Length)

End Function

I didnt get how to post code here..

(Posted 2 years ago) RonTek commented:

Thanks for the code HC and I see you're still having trouble with archives, are you still not familiar with the use and how to enter the needed tags? I will be making a short video guide just to make things easier.

(Posted 2 years ago) hardcoal commented:

regardless of the archive it should be useful to allow to post code here as well..
I didnt try using the archive yet.. sorry Ron

(Posted 2 years ago) RonTek commented:

No worries and yes, you can post it anywhere you like as long as you see fit. If you're talking about the new syntax hilighting, just add blitzmax after the first ``` of your code.

Here's an example:


print "Hello, World"



Reply To Topic (minimum 10 characters)

Please log in to reply