1. Win32lib.ew & Mletext
- Posted by Grape_ Vine_ <g__vine at HOTMAIL.COM> Jan 26, 2000
- 477 views
I want to make a single line mletext window & a mletext read only window but i ccan only make one or the other if i edit classStyle[ MleText ] = or_all( { WS_CHILD, WS_VISIBLE, WS_TABSTOP, --WS_HSCROLL, WS_VSCROLL, WS_BORDER, ES_LEFT, ES_MULTILINE} ) -- ES_AUTOHSCROLL, -- ES_AUTOVSCROLL} ) Is there a way to edit them for each window or do i need to make a new class , eg sletext or ect of that nature, Id prefer not to have to make niblets out of win32lib.ew J Reeves Grape Vine ICQ# 13728824 ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
2. Win32lib.ew & Mletext
- Posted by Grape_ Vine_ <g__vine at HOTMAIL.COM> Jan 26, 2000
- 466 views
<code> --I ripped this out of win32lib.ew ver 0.42e to create a few mletext windows include win32lib.ew global constant gv_MleText_1 = 15 constant EDIT = 3 className [ gv_MleText_1 ] = "edit" classType [ gv_MleText_1 ] = EDIT classStyle[ gv_MleText_1 ] = or_all({ WS_CHILD, WS_VISIBLE, WS_TABSTOP, --WS_HSCROLL, --WS_VSCROLL, WS_BORDER, ES_LEFT, ES_MULTILINE, ES_AUTOHSCROLL}) --ES_AUTOVSCROLL <end code> This gives a mle with the atribs ^^^^ But it doesnt let me enter text, hit enter, and move down a line even tho i have es_multiline in the atribs, What am i doing wrong?(i tried with h & v scroll on, dint work the way i want it to) ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
3. Re: Win32lib.ew & Mletext
- Posted by Brian Broker <bkb at CNW.COM> Jan 26, 2000
- 501 views
On Wed, 26 Jan 2000 14:23:27 PST, Grape_ Vine_ wrote: >I want to make a single line mletext window Like an 'EditText' control? (the mle stands for multi-line edit, if you don't want multi-lines then the EditText is the way to go) >& a mletext read only window You have three styles to choose from here: LText, CText, and RText (I believe they will wrap to multiple lines if the box is big enough...) Refer to the Controls section in Win32Lib.htm for more details. -- Brian