 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
ranomore
Joined: 06 Nov 2004 Posts: 178 Location: Salt Lake City, UT
|
Posted: Fri Jun 03, 2005 1:17 am Post subject: GuiControl and CheckBox |
|
|
| Code: | c_lenderID = 1
lender = z005
gui, Add, Checkbox, Section checked%c_LenderID% vc_lenderID,%lender%
Gui, Add, Edit, ys w50 r1 limit4 uppercase vlender, %lender%
Gui,show
return
#j::
guicontrol, ,c_lenderID, test
return |
The GuiControl command doesn't do anything. I've also tried:
| Code: | #j::
guicontrol,1: ,c_lenderID, test
return
; and
#j::
guicontrol,1:text ,c_lenderID, test
return |
AHK v1.0.35.00 |
|
| Back to top |
|
 |
toralf as guest Guest
|
Posted: Fri Jun 03, 2005 5:36 am Post subject: |
|
|
Hi,
Please give the checkbox some text initially. I think you just do not see the text, because the checkbox text area is created too small at GUI,Show. *just a guess* |
|
| Back to top |
|
 |
toralf as guest Guest
|
Posted: Fri Jun 03, 2005 5:38 am Post subject: |
|
|
| uuupppss, I must have been blind. It is too early in the morning. You gave the checkbox a initial text. Sorry. |
|
| Back to top |
|
 |
niwi
Joined: 27 Feb 2005 Posts: 128 Location: Heidelberg, Germany
|
Posted: Fri Jun 03, 2005 5:02 pm Post subject: |
|
|
Hi,
this works:
| Code: | c_lenderID = 1
lender = z005
gui, Add, Checkbox, Section checked%c_LenderID% vc_lenderID,%lender%
Gui, Add, Edit, ys w50 r1 limit4 uppercase vlender, %lender%
Gui, Add, Button, gButton1, Change
Gui,show
return
Button1:
guicontrol,,c_lenderID, test
return |
I can't try your hotkey because my keyboard has no win-key. I tried to use alt-j, but this also won't work.
I tried with v1.00.34.0.
@Chris:
What do you think about a sticky document here:
In case of problems check the last executed lines, the variables etc.?
NiWi. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Jun 03, 2005 5:26 pm Post subject: |
|
|
This is a new bug, so thanks for reporting it promptly. It has been fixed in today's update:
Fixed "GuiControl, , MyRadio|MyCheckbox, NewText", which was broken in v1.0.35. [thanks ranomore]
| niwi wrote: | What do you think about a sticky document here:
In case of problems check the last executed lines, the variables etc.? | I think it's a little too helpful in the sense that some might be mildly offended. |
|
| Back to top |
|
 |
ranomore
Joined: 06 Nov 2004 Posts: 178 Location: Salt Lake City, UT
|
Posted: Fri Jun 03, 2005 9:06 pm Post subject: |
|
|
Thanks Chris. I always hesitate about submitting "bugs"  |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|