AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GuiControl and CheckBox

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
ranomore



Joined: 06 Nov 2004
Posts: 178
Location: Salt Lake City, UT

PostPosted: Fri Jun 03, 2005 1:17 am    Post subject: GuiControl and CheckBox Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
toralf as guest
Guest





PostPosted: Fri Jun 03, 2005 5:36 am    Post subject: Reply with quote

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





PostPosted: Fri Jun 03, 2005 5:38 am    Post subject: Reply with quote

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

PostPosted: Fri Jun 03, 2005 5:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Fri Jun 03, 2005 5:26 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
ranomore



Joined: 06 Nov 2004
Posts: 178
Location: Salt Lake City, UT

PostPosted: Fri Jun 03, 2005 9:06 pm    Post subject: Reply with quote

Thanks Chris. I always hesitate about submitting "bugs" Smile
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group