- Timestamp:
- Aug 3, 2008, 3:58:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/TestCase/UI_Sample/step11_TextEditoer.ab
r561 r575 22 22 Sub MyForm() 23 23 AddResize(AddressOf(OnResize)) 24 Create ()24 CreateForm() 25 25 myEdit = New EditBox 26 myEdit.Create(This, ES_MULTILINE Or ES_WANTRETURN Or ES_AUTOHSCROLL Or ES_AUTOVSCROLL Or WS_HSCROLL Or WS_VSCROLL, WS_EX_CLIENTEDGE) 27 myEdit.SendMessage(WM_SETFONT, GetStockObject(DEFAULT_GUI_FONT) As WPARAM, 0) 26 With myEdit 27 .Create(This, ES_MULTILINE Or ES_WANTRETURN Or ES_AUTOHSCROLL Or ES_AUTOVSCROLL Or WS_HSCROLL Or WS_VSCROLL, WS_EX_CLIENTEDGE) 28 .SendMessage(WM_SETFONT, GetStockObject(DEFAULT_GUI_FONT) As WPARAM, 0) 29 End With 28 30 Show(SW_SHOWDEFAULT) 29 31 End Sub
Note:
See TracChangeset
for help on using the changeset viewer.