Angel Posted August 31, 2005 Share Posted August 31, 2005 I hope that the next thing that gets color capabilities are buttons! :"> Link to comment Share on other sites More sharing options...
Holger Posted August 31, 2005 Share Posted August 31, 2005 (edited) @Wooltown: not in the near future.. Edit: found a way - but only for setting bold with GUICtrlSetState(id, $GUI_DEFBUTTON) cause setting the size/font of the items will give strange clip/overlapping effects... Edited August 31, 2005 by Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
Holger Posted September 1, 2005 Share Posted September 1, 2005 @Angel: I started it a few weeks ago - but needs time...you know... @wooltown: I will extend the GUICtrlSetState for treeviewitem with GUI_DEFBUTTON which 'bolds' the itemtext. otherwise using fonts will be displayed often very ugly See the screenshots and you know what I mean... Cause there are things that can be done with ownerdrawn and so on but it is to much code for these small things. There are some really stupid things - in icon/smallicon view the fonts will be displayed right but if you change to report or list then the size effect. And for treeview you cannot change directly the width of an item, only the height... Conclusion: - bold items for treeview are possible (not like on the screenshot - the API function can set the state to TVIS_BOLD, which not exitsts for a listview and on a treeview it will be right displayed - the other things will not implemented (to much code for to few things that don't work right). Regards Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
Angel Posted September 1, 2005 Share Posted September 1, 2005 @Angel: I started it a few weeks ago - but needs time...you know...Cool! I did not know if you were already working on this, although I knew that you wanted to do it sometime. I did not meant to put pressure on you!Thanks!!!Angel Link to comment Share on other sites More sharing options...
Wooltown Posted September 2, 2005 Share Posted September 2, 2005 Holger ! Making the items bold in TreeViev/ListView is exactly what I need, not making an individual item a differnet size. Regards Sven Link to comment Share on other sites More sharing options...
Holger Posted September 2, 2005 Share Posted September 2, 2005 @sven: so why not using just:GUICtrlSetFont($treeview or -1, 9, 600)?the same with listview...RegardsHolger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
jpm Posted September 2, 2005 Author Share Posted September 2, 2005 @sven: so why not using just:GUICtrlSetFont($treeview or -1, 9, 600)?the same with listview...RegardsHolger<{POST_SNAPBACK}>That's coherent with other controls. do that will work for fontsize too?If no doc should reflect the limitation. Link to comment Share on other sites More sharing options...
Holger Posted September 2, 2005 Share Posted September 2, 2005 (edited) @jpm: I don't know what you mean!? I tested it and it's working normal with treeview and listview - I never had a problem with this, also with the fontsize... Maybe I don't understand it right... This is my testing sample: #include <GUIConstants.au3> GUICreate("Treeview with fonts") $treeview = GUICtrlCreateTreeView(10, 10, 300, 300) GUICtrlSetFont(-1, 12, 400) ; GUICtrlSetFont(-1, 9, 600); just bold $item1 = GUICtrlCreateTreeViewItem("Item1", $treeview) $item2 = GUICtrlCreateTreeViewItem("Item2", $treeview) GUICtrlCreateTreeViewItem("Item3", $item1) GUICtrlCreateTreeViewItem("Item4", $item1) $item5 = GUICtrlCreateTreeViewItem("Item5", $item2) Do $msg = GUIGetMsg () Until $msg = $GUI_EVENT_CLOSE Edited September 2, 2005 by Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
jpm Posted September 2, 2005 Author Share Posted September 2, 2005 @jpm: I don't know what you mean!?I tested it and it's working normal with treeview and listview - I never had a problem with this, also with the fontsize...Maybe I don't understand it right... This is my testing sample:#include <GUIConstants.au3> GUICreate("Treeview with fonts") $treeview = GUICtrlCreateTreeView(10, 10, 300, 300) GUICtrlSetFont(-1, 12, 400) ; GUICtrlSetFont(-1, 9, 600); just bold $item1 = GUICtrlCreateTreeViewItem("Item1", $treeview) $item2 = GUICtrlCreateTreeViewItem("Item2", $treeview) GUICtrlCreateTreeViewItem("Item3", $item1) GUICtrlCreateTreeViewItem("Item4", $item1) $item5 = GUICtrlCreateTreeViewItem("Item5", $item2) Do $msg = GUIGetMsg () Until $msg = $GUI_EVENT_CLOSE<{POST_SNAPBACK}>I was just a quick comment.today do the GuiCtrlSetFont works on treeviewitem? If Yes just ignore my comment.I don't tyhink you were speaking about treeview to manage all the item at the same timeyou example can be#include <GUIConstants.au3> GUICreate("Treeview with fonts") $treeview = GUICtrlCreateTreeView(10, 10, 300, 300) $item1 = GUICtrlCreateTreeViewItem("Item1", $treeview) $item2 = GUICtrlCreateTreeViewItem("Item2", $treeview) GUICtrlCreateTreeViewItem("Item3", $item1) GUICtrlSetFont(-1, 12, 400) ; GUICtrlSetFont(-1, 9, 600); just bold GUICtrlCreateTreeViewItem("Item4", $item1) $item5 = GUICtrlCreateTreeViewItem("Item5", $item2) GUISetState() Do $msg = GUIGetMsg () Until $msg = $GUI_EVENT_CLOSEtoday it is not working to set the font to 12. Certainly I should check to returnerror on GuiCtrlSetFont Link to comment Share on other sites More sharing options...
Holger Posted September 2, 2005 Share Posted September 2, 2005 @jpm: yeah, cause I never spoke of an _item_ - only the treeview/listview (parent control). But you are right, a small info were good in Remarks like: "! Fonts can not be changed for separate treeview-items or listview-items !" I don't know if this is good englisch Cause there are some problems with the font-settings I let them out for now, maybe I find a solution fot his bad clipping... Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
jpm Posted September 2, 2005 Author Share Posted September 2, 2005 2nd September, 2005 - v3.1.1.73 (beta)Fixed : For...In...Next doc example. (Thanks quick_sliver007) Fixed : @SW_TRAY... doc removal. (Thanks JoeCool) Fixed : GuiCtrlCreateIcon icon size in multiple icon .ico file (Thanks this-is-me) Fixed : Send("{SHIFTDOWN}") , ... before Jon reanalysis. (Thanks Potto) Fixed : ControlSetText not refreshing group control. (Thanks gafrost/Holger) Updated : Slight doc precision. (Thanks ...) Updated : RegEnum... doc examples. Fixed : Pic control size inside a group control. (Thanks van renier/Holger) Updated : UDF v1.35 (31 August 2005)- Fixed _IsPressed Example. (gafrost)try not to discuss new problem in this tread. open a new one.it is easier for the comprehension. at least for me. Link to comment Share on other sites More sharing options...
w0uter Posted September 2, 2005 Share Posted September 2, 2005 thank you. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
layer Posted September 3, 2005 Share Posted September 3, 2005 Thanks jpm, keep it up FootbaG Link to comment Share on other sites More sharing options...
jpm Posted September 7, 2005 Author Share Posted September 7, 2005 07th September, 2005 - v3.1.1.74 (beta)Added : TCPRecv,UPDRecv optional parameter to convert received data in Hex. (Thanks FrashMX) Fixed : _StringToHex, _HexToString return error. (by jpm) Updated : RegRead doc. (Thanks gafrost) Fixed : Plugins for AU3_SetString. (/dev/null/Jon) Added : ContinueCase to keywords allowed after IF. (by Nutster) Changed : Set _ to be a continuation character only after whitespace. It does not matter if a comment follows the continuation character or not. \ is not a continuation character. (by Nutster) Added : Switch, EndSwitch, ContinueCase, Default to list of keywords in documentation file. (by Nutster) Update : regular expression classes to match those in use by other regular expression engines. Added blank, graph, print, cntrl classes. (by Nutster) (MISSING DOC) Fixed : bug in zero-count predictor that prevented characters from matching properly if skipped. (by Nutster) Changed : Added 1 to the result of \# to compensate for the fact that c-strings are 0-based and AutoIt strings are 1-based. (by Nutster) Fixed : bug that prevented pattern "^$" from matching an empty string. (by Nutster) Fixed : listview repainting on tab. (Thanks HansH/Holger) Updated : UDF v1.36 (5 September 2005)- Updated _DateTimeFormat: Added option 5 which returns time in 24 hour HH:MM:SS format. (jdeb) - Updated _NowTime: Added optional parameter to select the return format. (jdeb)- Fixed Documentation _MouseTrap() (JPM)- Fixed _GUICtrlTreeViewDeleteItem bug in delete of item after adding child items. (gafrost)- Updated _StringToHex() and _HexToString() error testing. (JPM)- Updated Doc return Value formating. (JPM) Link to comment Share on other sites More sharing options...
datskat Posted September 8, 2005 Share Posted September 8, 2005 just install v 3.1.1.74, Getting "ERROR: error parsing function call" message when any function has an _ . example: language_db_update(0,_ "err",_ "en",_ "English language database error.") Link to comment Share on other sites More sharing options...
GaryFrost Posted September 8, 2005 Share Posted September 8, 2005 just install v 3.1.1.74, Getting "ERROR: error parsing function call" message when any function has an _ .example: language_db_update(0,_ "err",_ "en",_ "English language database error.")<{POST_SNAPBACK}>See the following post:#107174 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
datskat Posted September 8, 2005 Share Posted September 8, 2005 Thanks gafrost.. Link to comment Share on other sites More sharing options...
jpm Posted September 8, 2005 Author Share Posted September 8, 2005 just install v 3.1.1.74, Getting "ERROR: error parsing function call" message when any function has an _ .example: language_db_update(0,_ "err",_ "en",_ "English language database error.")<{POST_SNAPBACK}>NEXT TIME can you open separate thread for support/bug reporting.Thanks Link to comment Share on other sites More sharing options...
Valik Posted September 8, 2005 Share Posted September 8, 2005 NEXT TIME can you open separate thread for support/bug reporting.Thanks <{POST_SNAPBACK}>Jon, perhaps you should give JP (or the entire Developers group) moderator access to this sub-forum so JP can create a locked (and sticky?) thread so he can stop saying this. As long as the thread is open, people will continue to disregard his request. Link to comment Share on other sites More sharing options...
Josbe Posted September 8, 2005 Share Posted September 8, 2005 Jon, perhaps you should give JP (or the entire Developers group) moderator access to this sub-forum so JP can create a locked (and sticky?) thread so he can stop saying this. As long as the thread is open, people will continue to disregard his request.<{POST_SNAPBACK}>Completely in agreement with you. Several members still continue commenting, even though JP suggests them bugs and other things are not reported here. This post would have to be only for the updates (good news). AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Recommended Posts