Jump to content

Recommended Posts

Posted (edited)

It doesn't return the correct flag.

here is the code

Func SETUP_And_Return_Check_Boxes()

Select

Case $J >= 1 And $J <= 19

IF $CHKBXSW = "PUT" Then

$CHKBX[$J] = GUICtrlCreateCheckbox (" ", 13, $RowDisplay[$J]-4, 10)

GUICtrlSetState($CHKBX[$J],$RKND[$J])

EndIf

If $CHKBXSW = "GET" Then $RKND[$J] = GUICtrlRead($CHKBX[$J])

GUISetState(@SW_SHOW)

Case Else

MsgBox(4096, "Error", "Too Many Checkboxes for this screen")

EndSelect

EndFunc

Edited by TheGOG
Posted

It doesn't return the correct flag.

here is the code

Func SETUP_And_Return_Check_Boxes()

Select

Case $J >= 1 And $J <= 19

IF $CHKBXSW = "PUT" Then

$CHKBX[$J] = GUICtrlCreateCheckbox (" ", 13, $RowDisplay[$J]-4, 10)

GUICtrlSetState($CHKBX[$J],$RKND[$J])

EndIf

If $CHKBXSW = "GET" Then $RKND[$J] = GUICtrlRead($CHKBX[$J])

GUISetState(@SW_SHOW)

Case Else

MsgBox(4096, "Error", "Too Many Checkboxes for this screen")

EndSelect

EndFunc

I believe this is what you need to change:

If $CHKBXSW = "GET" Then $RKND[$J] = GUICtrlRead($CHKBX[$J])
oÝ÷ ÚÚºÚ"µÍBBRY ÌÍÐÒÐÕÈH ][ÝÑÑU   ][ÝÈ[BBBRY]S
ÕRPÝXY
    ÌÍÐÒÐÉÌÍÒJK    ÌÍÑÕRWÐÒPÒÑQ
HH  ÌÍÑÕRWÐÒPÒÑQ[BBBBIÌÍÔÓÉÌÍÒHH    ÌÍÑÕRWÐÒPÒÑQBBBQ[ÙBBBBBIÌÍÔÓÉÌÍÒHH ÌÍÑÕRWÕSÒPÒÑQBBBQ[YBBQ[Y

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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
  • Recently Browsing   0 members

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