guner7 Posted March 22, 2019 Share Posted March 22, 2019 (edited) Hi, I try to put this in simple explanation about what I've been doing and the outcome I desired. Refer to the Source (1st) image, it is a terminal console. The output display text were adjusted nicely as it has their own column. Refer to the Destination (2nd) image, it is the GuiCtrlEdit where the output from terminal console is being streamed in real-time by using _GUICtrlEdit_AppendText(). However, its text were not adjusted as how the terminal console had. I copied the same text from terminal console and pasted it on Notepad.exe (in 3rd image), the text were able to be adjusted as what in terminal console. Does anyone can advise what is the trick behind for the text to be adjusted in column and can this be replicate in GuiCtrlEdit as well. Appreciate for any input. Edited March 22, 2019 by guner7 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted March 22, 2019 Moderators Share Posted March 22, 2019 (edited) @guner7 If you would like columns, take a look at GUICtrlCreateListView in the help file. Edited March 22, 2019 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 22, 2019 Moderators Share Posted March 22, 2019 guner7, It looks to me as if you have a mono-spaced font in Notepad and a proportional font in the RichEdit - try using _GUICtrlRichEdit_SetFont to set a mono-spaced font in the RichEdit control and see if it gives you columns then. M23 guner7 1 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 Link to comment Share on other sites More sharing options...
guner7 Posted March 22, 2019 Author Share Posted March 22, 2019 (edited) 3 hours ago, Melba23 said: mono-spaced font Hi Melba23, It seems that I can't set font in RichEdit (may I'm missing something), however, I was able to get it done by using GUICtrlSetFont($hwd, "", "", "Lucida Console") for GuiCtrlEdit. I couldn't be happier for that, thank you for your insight and also appreciate for JLogan3o13's input. 😀 Edited March 22, 2019 by guner7 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 23, 2019 Moderators Share Posted March 23, 2019 guner7, Glad I could help. M23 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 Link to comment Share on other sites More sharing options...
mikell Posted March 23, 2019 Share Posted March 23, 2019 12 hours ago, guner7 said: I couldn't be happier for that If the items are tab delimited then maybe _GUICtrlEdit_SetTabStops could work Link to comment Share on other sites More sharing options...
guner7 Posted March 24, 2019 Author Share Posted March 24, 2019 22 hours ago, mikell said: _GUICtrlEdit_SetTabStops I am taking note for that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now