InunoTaishou Posted December 15, 2015 Share Posted December 15, 2015 Using Rich Edit to make a simple editor and I wanted to add a menu that would let you select the text attributes (Button that has Font and clicking it brings up a list of fonts, button for Color and brings up a color box that lets you select color, button for size that brings up a drop down list of sizes, etc. exactly like what you can use to make a post)I did some googling, couldn't quite find what I needed. It looks like _GUICtrlToolBar might give me what I need but there aren't a whole lot of posts on the topic.Can anyone point me in the right direction? Link to comment Share on other sites More sharing options...
JohnOne Posted December 15, 2015 Share Posted December 15, 2015 Is it a context menu you are trying to describe? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jdelaney Posted December 15, 2015 Share Posted December 15, 2015 (edited) Or a combobox? I think the best you can do is take a screenshot of all the fonts, create gifs, and load those images into the box...I'm not seeing a way to set the text style on an item by item basis. Edited December 15, 2015 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
InunoTaishou Posted December 15, 2015 Author Share Posted December 15, 2015 This is what I'm trying to accomplish in AutoIt on a form. Link to comment Share on other sites More sharing options...
jdelaney Posted December 15, 2015 Share Posted December 15, 2015 (edited) The best I can do you:_GUICtrlComboBoxEx_SetItemImageCheck the example in the helpfile.An equivalent can still be done by stringing together combo boxes.I suppose you can also do a toolbar, and on click, open a second child window. Edited December 15, 2015 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
InunoTaishou Posted December 15, 2015 Author Share Posted December 15, 2015 Mmmm I'll poke around it and see what I can do. My other option was going to be creating a small GUI with all of the colors myself. The Font/Size should be accomplishable with the _GUICtrlToolBar, but it looks a bit complicated to use.Also, I didn't realize that I posted in the general support, not the GUI. Sorry. Link to comment Share on other sites More sharing options...
JohnOne Posted December 15, 2015 Share Posted December 15, 2015 So you click a button and it shows a combo box?I'm not sure where you are having difficulties. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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