AutoHotkey Community

It is currently May 26th, 2012, 1:47 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: GuiControl and CheckBox
PostPosted: June 3rd, 2005, 1:17 am 
Offline

Joined: November 6th, 2004, 11:03 am
Posts: 170
Location: Salt Lake City, UT
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 3rd, 2005, 5:36 am 
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*


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 3rd, 2005, 5:38 am 
uuupppss, I must have been blind. It is too early in the morning. You gave the checkbox a initial text. Sorry.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 3rd, 2005, 5:02 pm 
Offline

Joined: February 27th, 2005, 5:51 pm
Posts: 139
Location: Heidelberg, Germany
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 3rd, 2005, 5:26 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 3rd, 2005, 9:06 pm 
Offline

Joined: November 6th, 2004, 11:03 am
Posts: 170
Location: Salt Lake City, UT
Thanks Chris. I always hesitate about submitting "bugs" :)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group