electrico Posted January 24, 2011 Posted January 24, 2011 Hello every one. Is it possible to make Tab (not tab contents and background, but tab item itself!) transparent or colored? Thanks in advance!!!
Moderators Melba23 Posted January 24, 2011 Moderators Posted January 24, 2011 electrico, I think this should help you along the way to a solution. 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
electrico Posted January 29, 2011 Author Posted January 29, 2011 M23 - the only man who replyed. Thx to u!
gpence Posted February 16, 2011 Posted February 16, 2011 M23: I followed your link to the previous thread and I can see how it changed the color for each tab, but if I understand the original question, can you change only the tab area and not the whole tab page... I'm still not getting that. I thinking this would work like Excel's colored tabs work. For example, I want all of the "pages" to be white, but I want the first tab to be yellow, the second red, etc. After a quick look, I didn't see how to do that with the code example cited. What am I missing? Thanks! GPence
Moderators Melba23 Posted February 16, 2011 Moderators Posted February 16, 2011 gpence, What am I missing?Nothing - you actually need to remove some code! Delete the _GUICtrlTab_SetBkColor($hGUI, $hTab, $aTabColours[$i]) line and all of the _GUICtrlTab_SetBkColor function. Then you only get the tabs headers coloured. You may need to adjust the depth of the label so that it does not overlap the tab client area - it will all depend on your machine settings. I had to change the final 5 at the end of the GUICtrlSetPos($hColourTab, ...) line to 2. All good? 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
gpence Posted February 16, 2011 Posted February 16, 2011 All good? All good! It makes sense now (duh!). Now I'm trying to figure out how your location could be at 30,000 ft... :-)
Moderators Melba23 Posted February 16, 2011 Moderators Posted February 16, 2011 gpence, While I am here it is not.....but sometimes it is a lot higher than that! 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
Mat Posted February 16, 2011 Posted February 16, 2011 He's got his head in the clouds when he's not down here AutoIt Project Listing
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