Author Topic: Removing border from EditPrint  (Read 908 times)

0 Members and 1 Guest are viewing this topic.

Offline Cloudee1

Removing border from EditPrint
« on: November 04, 2014, 07:02:30 PM »
Ok so I am attempting to place an edit print on a black screen. I have a changeState script which places the input prompt on the screen. As part of it, in one of the cases I have changed the background color to black and the text to white, then forced the input with

Code: [Select]
= gWndColor clWHITE
= gWndBack clBLACK

EditPrint(@inputStr 34 "" #at 75 136 #font 0)

So when it displays on screen, it seems to work out pretty well for what I want. The only issue is the border that is drawn around the input.



I can live with it as is, but it would be nice to get rid of the border if anyone knows how


Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline MusicallyInspired

Re: Removing border from EditPrint
« Reply #1 on: November 05, 2014, 12:47:12 AM »
I took a quick look. The EditPrint procedure simply utilizes the Print procedure and its #edit flag, which is in turn calling the DEdit class, which contains code to generate a rect. You may have to make a new class without the rect code and add a new flag for Print (#editnoborder or something). Or maybe you can just add to the DEdit class and make the rect optional somehow via the extra flag.
Brass Lantern Prop Competition


SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.107 seconds with 22 queries.