Borders around textarea/textfield

BlitzPlus Forums/BlitzPlus Programming/Borders around textarea/textfield

Lazze(Posted 2004) [#1]
Are there any way to make textareas and textfields WITHOUT the standard borders?


rdodson41(Posted 2004) [#2]
Im not quite sure what you mean, I dont think textareas and textfields have borders. If you mean the little black line, then i doubt there is a way to change it.


EOF(Posted 2004) [#3]
The only way I can think of doing this is the place the textfield/textarea inside a smaller panel to hide the borders:
win=CreateWindow("borderless textfield/textarea",100,100,240,260,0,1)

tfpanel=CreatePanel(10,10,80,18,win)
tf=CreateTextField(-2,-2,84,22,tfpanel)

tapanel=CreatePanel(30,60,120,100,win)
ta=CreateTextArea(-3,-2,124,104,tapanel)

Repeat
Until WaitEvent()=$803
End



Lazze(Posted 2004) [#4]
Well ofcourse.... why didn't I think of this :o)

At least it looks the way I wanted, allthough there ought to be a "better" way of doing this.