Jump to content

3.1.1++


jpm
 Share

Recommended Posts

  • Replies 513
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

@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 by Holger
Link to comment
Share on other sites

@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 :dance:

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... :whistle:

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 :dance:

- the other things will not implemented (to much code for to few things that don't work right).

Regards

Holger

Link to comment
Share on other sites

@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

@sven: so why not using just:

GUICtrlSetFont($treeview or -1, 9, 600)?

the same with listview...

Regards

Holger

<{POST_SNAPBACK}>

That's coherent with other controls.

do that will work for fontsize too?

If no doc should reflect the limitation. :whistle:

Link to comment
Share on other sites

@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... :whistle:

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 by Holger
Link to comment
Share on other sites

@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... :whistle:

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 time

you 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_CLOSE

today it is not working to set the font to 12. Certainly I should check to returnerror on GuiCtrlSetFont :dance:

Link to comment
Share on other sites

@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 :whistle:

Cause there are some problems with the font-settings I let them out for now, maybe I find a solution fot his bad clipping...

Link to comment
Share on other sites

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. :whistle:

Link to comment
Share on other sites

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

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

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

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

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). ;)
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...