ericire Posted April 1, 2019 Share Posted April 1, 2019 colored rectangleHello,a basic trick that does not work and I do not understand why.I want to put a colored rectangle on a tabin my tab I tried without success (nothing appears at all) $GUICtrlCreateTabItem = GUICtrlCreateTabItem("Paramètres") ;cadre $cadre1 = GUICtrlCreateGraphic($left+4, $top+4, 1162, 450,0) ; $SS_GRAYRECT, $SS_GRAYFRAME GUICtrlSetColor($cadre1, 0xE69CFF ) GUICtrlSetBkColor($cadre1, 0xE69CFF);660066 I also tried without it, 0 as I saw in some examples, without more successalso play on the $ COLOR_RED color with the corresponding constants Link to comment Share on other sites More sharing options...
ericire Posted April 1, 2019 Author Share Posted April 1, 2019 i can't edit my own topic ?! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 1, 2019 Moderators Share Posted April 1, 2019 New users are not allowed to edit topics until you have a number of posts under your belt. Simply post an addendum as needed. "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...
Nine Posted April 2, 2019 Share Posted April 2, 2019 here a very simple way to do it : GUICtrlCreateLabel("", 30, 80, 50, 20) GUICtrlSetBkColor (-1,0xFF0000) “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
ericire Posted April 2, 2019 Author Share Posted April 2, 2019 yes an empty label thanks ! Link to comment Share on other sites More sharing options...
ericire Posted April 2, 2019 Author Share Posted April 2, 2019 yes but this label prevents to click on control GUICtrlCreateRadio for example Link to comment Share on other sites More sharing options...
Nine Posted April 4, 2019 Share Posted April 4, 2019 On 4/2/2019 at 3:03 PM, ericire said: yes but this label prevents to click on control GUICtrlCreateRadio for example GUICtrlCreateLabel("", 30, 80, 50, 20) GUICtrlSetBkColor (-1,0xFF0000) GUICtrlSetState(-1, $GUI_DISABLE) will work now “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy 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