Sign in to follow this  
Followers 0
greenmachine

Helpfile Issues

3 posts in this topic

A couple of things:

1.

In the remarks section of the GUICtrlRead function, it says "In 'advanced' mode the return value is a two-dimensional array." It's not 2-dimensional, it has 2 elements (1 dimension).

Proof because I had to test it myself to find out:

GUICreate ("radio?")
$radio = GUICtrlCreateRadio ("something radio-ish", 10, 10)
GUICtrlSetState ($radio, $GUI_CHECKED)
GUISetState ()

$RadioRead = GUICtrlRead ($radio, 1)
MsgBox (0, "", UBound ($RadioRead, 1) & @CRLF & UBound ($RadioRead, 2))
MsgBox (0, "vals", $RadioRead[0] & @CRLF & $RadioRead[1])

2.

"Note: not for all known controls there is additional data available!"

^ I don't like how that is worded. I think it should be closer to "some known controls do not have additional data available."

3.

Reworded:

"For Checkbox, Radio control several states can be returned as $GUI_FOCUS and $GUI_CHECKED,. So use BitAnd(GUICtrlRead($Item),$GUI_CHECKED) to test if the control is checked."

For Checkbox and Radio controls several states can be returned at once, such as $GUI_FOCUS and $GUI_CHECKED, so use BitAnd(GUICtrlRead($Item),$GUI_CHECKED) to test if the control is checked.

4.

Since the GUIEventCompatibilityMode is being renamed to GUIEventOptions, shouldn't GUIEventOptions be an item in the index, and GUIEventCompatibilityMode say it is renamed to GUIEventOptions? I know it's in the changelog, but if someone is looking for it and doesn't read the changelog....

I could have sworn I had more, but I can't find them right now. Just had to post the first one because it bothered me. I also don't really know where to put this (it isn't quite a bug), and I am aiming it at the developers, so here it is in the Developers forum.

Share this post


Link to post
Share on other sites



In GUI Control update under GUICtrlSetBkColor...Beta Help File 3.1.1.121

Under Remarks:

Checkox should be Checkbox Thanks lol


My Programs:Dissolve (Updated 5-30-06)Credit Card Validator (Not created as of yet)Master Lock Combination Cracker (Updated 7-08-07)Go Siteseeing:My Website: - Click HereCyberZeroCool's Website - Click Here

Share this post


Link to post
Share on other sites

A couple of things:

1.

In the remarks section of the GUICtrlRead function, it says "In 'advanced' mode the return value is a two-dimensional array." It's not 2-dimensional, it has 2 elements (1 dimension).

Proof because I had to test it myself to find out:

GUICreate ("radio?")
$radio = GUICtrlCreateRadio ("something radio-ish", 10, 10)
GUICtrlSetState ($radio, $GUI_CHECKED)
GUISetState ()

$RadioRead = GUICtrlRead ($radio, 1)
MsgBox (0, "", UBound ($RadioRead, 1) & @CRLF & UBound ($RadioRead, 2))
MsgBox (0, "vals", $RadioRead[0] & @CRLF & $RadioRead[1])

2.

"Note: not for all known controls there is additional data available!"

^ I don't like how that is worded. I think it should be closer to "some known controls do not have additional data available."

3.

Reworded:

"For Checkbox, Radio control several states can be returned as $GUI_FOCUS and $GUI_CHECKED,. So use BitAnd(GUICtrlRead($Item),$GUI_CHECKED) to test if the control is checked."

For Checkbox and Radio controls several states can be returned at once, such as $GUI_FOCUS and $GUI_CHECKED, so use BitAnd(GUICtrlRead($Item),$GUI_CHECKED) to test if the control is checked.

4.

Since the GUIEventCompatibilityMode is being renamed to GUIEventOptions, shouldn't GUIEventOptions be an item in the index, and GUIEventCompatibilityMode say it is renamed to GUIEventOptions? I know it's in the changelog, but if someone is looking for it and doesn't read the changelog....

I could have sworn I had more, but I can't find them right now. Just had to post the first one because it bothered me. I also don't really know where to put this (it isn't quite a bug), and I am aiming it at the developers, so here it is in the Developers forum.

For #2 would you settle for "some controls do not have additional data available"

For #3 I agree but perhaps the "at once" is not required?


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0