Community
SCI Programming => SCI Syntax Help => Topic started by: Cloudee1 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
= 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.
(http://s3.postimg.org/ozj1mn1yb/sciv_000.png)
I can live with it as is, but it would be nice to get rid of the border if anyone knows how
-
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.