Reinhardt1julian Posted February 7, 2013 Posted February 7, 2013 I want to have an edit with multiple lines inputtet. Like GUICtrlSetData($Edit, "123") *next line in edit* GUICtrlSetData($Edit, "456") I already got the $es multiline thingy
Moderators Melba23 Posted February 8, 2013 Moderators Posted February 8, 2013 (edited) Reinhardt1julian,Some pointers: - What makes a "new line" - and how do you tell AutoIt you want to do this?Hint:Look in the Help file under "Macros"- GUICtrlSetData replaces all the current data in the control. So how do you think you might add something to what is already there?Hint:GUICtrlRead might be a good thing to look up in the Help fileFinally, $ES_MULTILINE is a forced style for edit controls so you do not need to add it yourself. You might like to look at the Setting Styles tutorial in the Wiki - it explains about styles and how to use them correctly. M23Edit: I see you double posted this question - please do not do so again. Edited February 8, 2013 by Melba23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts