HiNoTora Posted January 1, 2014 Posted January 1, 2014 How i can make my Console transpert? so my GUI background image will be visible Global $hGUI = GUICreate("HiNoTora", 300, 300, -1, -1, -1, $WS_EX_TOPMOST) $pic = GUICtrlCreatePic('D:\lmao.jpg', 0, 0, 450, 300) GUICtrlSetState( -1, $GUI_DISABLE) Global $hEdit = GUICtrlCreateEdit("", 0, 0, 150, 145, BitOR($ES_READONLY, $ES_AUTOVSCROLL))
Moderators Melba23 Posted January 1, 2014 Moderators Posted January 1, 2014 HiNoTora,This thread shows how to do it - but you need to use a RichEdit control. 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
HiNoTora Posted January 1, 2014 Author Posted January 1, 2014 HiNoTora, This thread shows how to do it - but you need to use a RichEdit control. M23 This is my full script expandcollapse popup#include <GUIConstantsEx.au3> #include <EditConstants.au3> #include <GUIEdit.au3> #include <ScrollBarConstants.au3> #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <WindowsConstants.au3> Opt("GUICloseOnESC", 1) Opt("GUIOnEventMode", 1) Global $hGUI = GUICreate("HiNoTora", 300, 300, -1, -1, -1, $WS_EX_TOPMOST) $pic = GUICtrlCreatePic('D:\lolol.jpg', 0, 0, 450, 300) GUICtrlSetState( -1, $GUI_DISABLE) Global $hEdit = GUICtrlCreateEdit("", 0, 0, 150, 145, BitOR($ES_READONLY, $ES_AUTOVSCROLL)) Global $hButton = GUICtrlCreateButton("Start", 0, 250, 120, 50) GUICtrlSetColor(-1, 0xFF68000) GUICtrlSetFont(-1, 20, 800, 0, "Comic Sans Ms") GUICtrlSetOnEvent($hButton, "_StartProgram") Global $hButton2 = GUICtrlCreateButton("Pause", 120, 250, 120, 50) GUICtrlSetColor(-1, 0xFF68000) GUICtrlSetFont(-1, 20, 800, 0, "Comic Sans Ms") GUICtrlSetOnEvent($hButton2, "_PauseProgram") GUISetOnEvent($GUI_EVENT_CLOSE, "Terminate") GUISetState(@SW_SHOW, $hGUI) Global $start = 0, $wait = 1 _WriteToEditBox("Console") While 1 If $start = 1 Then _MainProgram() Sleep(100) wend Func _StartProgram() _WriteToEditBox("Starting program") $wait = 1 $start = 1 EndFunc ;==>_StartProgram Func _PauseProgram() _WriteToEditBox("Pausing program") $start = 0 EndFunc ;==>_Pauserogram Func _MainProgram() EndFunc ;==>_MainProgram Func _WriteToEditBox($sText) $iEnd = StringLen(GUICtrlRead($hEdit)) _GUICtrlEdit_SetSel($hEdit, $iEnd, $iEnd) _GUICtrlEdit_Scroll($hEdit, $SB_SCROLLCARET) If $iEnd = 0 Then GUICtrlSetData($hEdit, @HOUR & ":" & @MIN & ":" & @SEC & " - " & $sText, 1) Else GUICtrlSetData($hEdit, @CRLF & @HOUR & ":" & @MIN & ":" & @SEC & " - " & $sText, 1) EndIf EndFunc ;==>_WriteToEditBox Func Terminate() Exit EndFunc ;==>Terminate
Moderators Melba23 Posted January 1, 2014 Moderators Posted January 1, 2014 HiNoTora,This is my full scriptExcellent. So all you have to do it adapt it as shown in the other thread. You know where we are if you run into problems - but no-one is going to do it all for you. 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
HiNoTora Posted January 1, 2014 Author Posted January 1, 2014 HiNoTora, Excellent. So all you have to do it adapt it as shown in the other thread. You know where we are if you run into problems - but no-one is going to do it all for you. M23 Git it transpert, but now Text wont appere... >.< im bad with autoit expandcollapse popup#include <GUIConstantsEx.au3> #include <EditConstants.au3> #include <GUIEdit.au3> #include <ScrollBarConstants.au3> #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <WindowsConstants.au3> #include <GuiRichEdit.au3> Opt("GUICloseOnESC", 1) Opt("GUIOnEventMode", 1) Global $hGUI = GUICreate("HiNoTora", 300, 300, -1, -1, -1, $WS_EX_TOPMOST) $pic = GUICtrlCreatePic('D:\jujuj.jpg', 0, 0, 450, 300) GUICtrlSetState( -1, $GUI_DISABLE) Global $hRichEdit = _GUICtrlRichEdit_Create($hGui, "." & @CRLF & _ "", 0, 0, 300, 100, BitOR($ES_MULTILINE, $ES_AUTOVSCROLL), $WS_EX_TRANSPARENT) Global $hButton = GUICtrlCreateButton("Start", 0, 250, 120, 50) GUICtrlSetColor(-1, 0xFF68000) GUICtrlSetFont(-1, 20, 800, 0, "Comic Sans Ms") GUICtrlSetOnEvent($hButton, "_StartProgram") Global $hButton2 = GUICtrlCreateButton("Pause", 120, 250, 120, 50) GUICtrlSetColor(-1, 0xFF68000) GUICtrlSetFont(-1, 20, 800, 0, "Comic Sans Ms") GUICtrlSetOnEvent($hButton2, "_PauseProgram") GUISetOnEvent($GUI_EVENT_CLOSE, "Terminate") GUISetState(@SW_SHOW, $hGUI) Global $start = 0, $wait = 1 _WriteToEditBox("Console") While 1 If $start = 1 Then _MainProgram() Sleep(100) wend Func _StartProgram() _WriteToEditBox("Starting program") $wait = 1 $start = 1 EndFunc ;==>_StartProgram Func _PauseProgram() _WriteToEditBox("Pausing program") $start = 0 EndFunc ;==>_Pauserogram Func _MainProgram() EndFunc ;==>_MainProgram Func _WriteToEditBox($sText) $iEnd = StringLen(GUICtrlRead($hRichEdit)) _GUICtrlEdit_SetSel($hRichEdit, $iEnd, $iEnd) _GUICtrlEdit_Scroll($hRichEdit, $SB_SCROLLCARET) If $iEnd = 0 Then GUICtrlSetData($hRichEdit, @HOUR & ":" & @MIN & ":" & @SEC & " - " & $sText, 1) Else GUICtrlSetData($hRichEdit, @CRLF & @HOUR & ":" & @MIN & ":" & @SEC & " - " & $sText, 1) EndIf EndFunc ;==>_WriteToEditBox Func Terminate() Exit EndFunc ;==>Terminate
Moderators Melba23 Posted January 1, 2014 Moderators Posted January 1, 2014 HiNoTora,[i[GUICtrlSetData only works with controls created by a native function - for UDF create controls you need the UDF function: expandcollapse popup#include <GUIConstantsEx.au3> #include <EditConstants.au3> #include <GUIEdit.au3> #include <ScrollBarConstants.au3> #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <WindowsConstants.au3> #include <GuiRichEdit.au3> Opt("GUICloseOnESC", 1) Opt("GUIOnEventMode", 1) Global $start = 0, $wait = 1 Global $hGUI = GUICreate("HiNoTora", 300, 300, -1, -1, -1, $WS_EX_TOPMOST) GUISetOnEvent($GUI_EVENT_CLOSE, "Terminate") $pic = GUICtrlCreatePic('D:\jujuj.jpg', 0, 0, 450, 300) GUICtrlSetState( -1, $GUI_DISABLE) Global $hRichEdit = _GUICtrlRichEdit_Create($hGui, "", 0, 0, 300, 100, BitOR($ES_MULTILINE, $ES_AUTOVSCROLL), $WS_EX_TRANSPARENT) Global $hButton = GUICtrlCreateButton("Start", 0, 250, 120, 50) GUICtrlSetOnEvent($hButton, "_StartProgram") Global $hButton2 = GUICtrlCreateButton("Pause", 120, 250, 120, 50) GUICtrlSetOnEvent($hButton2, "_PauseProgram") GUISetState(@SW_SHOW, $hGUI) _WriteToEditBox("Console") While 1 If $start = 1 Then _MainProgram() Sleep(10) wend Func _StartProgram() _WriteToEditBox("Starting program") $wait = 1 $start = 1 EndFunc ;==>_StartProgram Func _PauseProgram() _WriteToEditBox("Pausing program") $start = 0 EndFunc ;==>_Pauserogram Func _MainProgram() EndFunc ;==>_MainProgram Func _WriteToEditBox($sText) _GUICtrlEdit_AppendText($hRichEdit, @HOUR & ":" & @MIN & ":" & @SEC & " - " & $sText & @CRLF) EndFunc ;==>_WriteToEditBox Func Terminate() Exit EndFunc ;==>TerminateAll clear? 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
HiNoTora Posted January 1, 2014 Author Posted January 1, 2014 HiNoTora, [i[GUICtrlSetData only works with controls created by a native function - for UDF create controls you need the UDF function: expandcollapse popup#include <GUIConstantsEx.au3> #include <EditConstants.au3> #include <GUIEdit.au3> #include <ScrollBarConstants.au3> #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <WindowsConstants.au3> #include <GuiRichEdit.au3> Opt("GUICloseOnESC", 1) Opt("GUIOnEventMode", 1) Global $start = 0, $wait = 1 Global $hGUI = GUICreate("HiNoTora", 300, 300, -1, -1, -1, $WS_EX_TOPMOST) GUISetOnEvent($GUI_EVENT_CLOSE, "Terminate") $pic = GUICtrlCreatePic('D:\jujuj.jpg', 0, 0, 450, 300) GUICtrlSetState( -1, $GUI_DISABLE) Global $hRichEdit = _GUICtrlRichEdit_Create($hGui, "", 0, 0, 300, 100, BitOR($ES_MULTILINE, $ES_AUTOVSCROLL), $WS_EX_TRANSPARENT) Global $hButton = GUICtrlCreateButton("Start", 0, 250, 120, 50) GUICtrlSetOnEvent($hButton, "_StartProgram") Global $hButton2 = GUICtrlCreateButton("Pause", 120, 250, 120, 50) GUICtrlSetOnEvent($hButton2, "_PauseProgram") GUISetState(@SW_SHOW, $hGUI) _WriteToEditBox("Console") While 1 If $start = 1 Then _MainProgram() Sleep(10) wend Func _StartProgram() _WriteToEditBox("Starting program") $wait = 1 $start = 1 EndFunc ;==>_StartProgram Func _PauseProgram() _WriteToEditBox("Pausing program") $start = 0 EndFunc ;==>_Pauserogram Func _MainProgram() EndFunc ;==>_MainProgram Func _WriteToEditBox($sText) _GUICtrlEdit_AppendText($hRichEdit, @HOUR & ":" & @MIN & ":" & @SEC & " - " & $sText & @CRLF) EndFunc ;==>_WriteToEditBox Func Terminate() Exit EndFunc ;==>Terminate All clear? M23 XD its good, But there is no mre autoscroll text
Moderators Melba23 Posted January 1, 2014 Moderators Posted January 1, 2014 HiNoTora,So looking through the _GUICtrlEdit commands, which do you think might be the one to use to get the control to scroll down? And which of the parameters to that function might be the best suited to this case? 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
HiNoTora Posted January 1, 2014 Author Posted January 1, 2014 HiNoTora, So looking through the _GUICtrlEdit commands, which do you think might be the one to use to get the control to scroll down? And which of the parameters to that function might be the best suited to this case? M23 e.e i have no idea, $ES_AUTOVSCROLL is only thing where i can read of autoscroll
Moderators Melba23 Posted January 1, 2014 Moderators Posted January 1, 2014 HiNoTora,No, not the parameters for _GUICtrlEdit_Create - a whole new function: _GUICtrlRichEdit_******. There is one in the Help file specifically designed to scroll the control if you take the effort to look. 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
HiNoTora Posted January 1, 2014 Author Posted January 1, 2014 HiNoTora, No, not the parameters for _GUICtrlEdit_Create - a whole new function: _GUICtrlRichEdit_******. There is one in the Help file specifically designed to scroll the control if you take the effort to look. M23 sry, but i dont get it
Moderators Melba23 Posted January 1, 2014 Moderators Posted January 1, 2014 (edited) HiNoTora,I am not going to spoon-feed you this one. Open the Help file and put "_GUICtrlEdit" into the "Index" search box - a whole slew of _GUICtrlEdit_***** functions appear in the results pane. Look through them and see which of them might have something to do with scrolling. Let me know when you have done that and what function(s) you have found. M23Edit: And when you reply, please use the "Reply to this topic" button at the top of the thread or the "Reply to this topic" editor at the bottom rather than the "Quote" button - I know what I wrote and it just pads the thread unneccessarily. Edited January 1, 2014 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
HiNoTora Posted January 1, 2014 Author Posted January 1, 2014 _GUICtrlEdit_Scroll is only1 i found wheres something with scrolling, but that dosent seem to be this
Moderators Solution Melba23 Posted January 1, 2014 Moderators Solution Posted January 1, 2014 HiNoTora,Ah, but it is! Use this function to scroll the edit after each line is written: expandcollapse popup#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <ScrollbarConstants.au3> #include <GuiRichEdit.au3> #include <GuiEdit.au3> Opt("GUICloseOnESC", 1) Opt("GUIOnEventMode", 1) Global $start = 0, $wait = 1 Global $hGUI = GUICreate("HiNoTora", 300, 300, -1, -1, -1, $WS_EX_TOPMOST) GUISetOnEvent($GUI_EVENT_CLOSE, "Terminate") ;$pic = GUICtrlCreatePic("M:\Program\Au3 Scripts\Images\Melba23.jpg", 0, 0, 450, 300) ;GUICtrlSetState( -1, $GUI_DISABLE) Global $hRichEdit = _GUICtrlRichEdit_Create($hGui, "", 0, 0, 300, 100, BitOR($ES_MULTILINE, $ES_AUTOVSCROLL), $WS_EX_TRANSPARENT) Global $hButton = GUICtrlCreateButton("Start", 0, 250, 120, 50) GUICtrlSetOnEvent($hButton, "_StartProgram") Global $hButton2 = GUICtrlCreateButton("Pause", 120, 250, 120, 50) GUICtrlSetOnEvent($hButton2, "_PauseProgram") GUISetState(@SW_SHOW, $hGUI) _WriteToEditBox("Console") While 1 If $start = 1 Then _MainProgram() EndIf Sleep(10) wend Func _StartProgram() _WriteToEditBox("Starting program") $wait = 1 $start = 1 EndFunc ;==>_StartProgram Func _PauseProgram() _WriteToEditBox("Pausing program") $start = 0 EndFunc ;==>_Pauserogram Func _MainProgram() EndFunc ;==>_MainProgram Func _WriteToEditBox($sText) _GUICtrlEdit_AppendText($hRichEdit, @HOUR & ":" & @MIN & ":" & @SEC & " - " & $sText & @CRLF) _GUICtrlEdit_Scroll($hRichedit, $SB_LINEDOWN) ; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< EndFunc ;==>_WriteToEditBox Func Terminate() Exit EndFunc ;==>TerminateM23 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
HiNoTora Posted January 1, 2014 Author Posted January 1, 2014 Func _WriteToEditBox($sText) $iEnd = StringLen(GUICtrlRead($hRichEdit)) _GUICtrlEdit_Scroll($hRichEdit, $SB_SCROLLCARET) _GUICtrlEdit_AppendText($hRichEdit, @HOUR & ":" & @MIN & ":" & @SEC & " - " & $sText & @CRLF) If $iEnd = 0 Then GUICtrlSetData($hRichEdit, @HOUR & ":" & @MIN & ":" & @SEC & " :-: " & $sText, 1) Else GUICtrlSetData($hRichEdit, @CRLF & @HOUR & ":" & @MIN & ":" & @SEC & " :-: " & $sText, 1) EndIf EndFunc ;==>_WriteToEditBox Tahats what i did, nd didnt get to work, tryng to see what u did
HiNoTora Posted January 1, 2014 Author Posted January 1, 2014 Man ur genius thank you so much of your help and time =) I've been messing with the font to, but thats another thing i cant find. im having bit to darck image on background and fontcolour is black.. Dunno if i can figure it out.
Moderators Melba23 Posted January 1, 2014 Moderators Posted January 1, 2014 HiNoTora,So search in the Help file for a _GUICtrlRichEdit_***** function which changes the colour of the text - there is one there if you look. 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
HiNoTora Posted January 1, 2014 Author Posted January 1, 2014 Global $lblMsg, $hRichEdit GUICtrlRichEdit_SetCharColor($hRichEdit, "304050") D:Autoit examplesGood UI.au3 (16) : ==> Variable used without being declared.: :S
HiNoTora Posted January 1, 2014 Author Posted January 1, 2014 (edited) yey i did change font And a colour _GUICtrlRichEdit_SetCharColor($hRichEdit, "304050") Func _StartProgram() _GUICtrlRichEdit_SetFont($hRichEdit, 12, "Comic Sans Ms") _WriteToEditBox("Starting program") $wait = 1 $start = 1 EndFunc ;==>_StartProgram Func _PauseProgram() _GUICtrlRichEdit_SetFont($hRichEdit, 12, "Comic Sans Ms") _WriteToEditBox("Pausing program") $start = 0 EndFunc ;==>_Pauserogram Edited January 1, 2014 by HiNoTora
Moderators Melba23 Posted January 1, 2014 Moderators Posted January 1, 2014 HiNoTora,See - you can do it when you try. 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
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