AutoHotkey Community

It is currently May 24th, 2012, 6:13 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Help with GUI....
PostPosted: February 15th, 2007, 12:20 am 
Offline

Joined: September 10th, 2006, 1:41 pm
Posts: 157
Hi



Code:
Gui, 3:Add, Text, x20 y20, Transparency:
Gui, 3:Add, Slider, vTransSlider, %TransValuePerc%
Gui, 3:Add, Checkbox, x25 y85 Checked%AlwaysOnTopValue% vAlwaysOnTopValue, Always On Top:
[b]Gui, 3:Add, Text, x20 y140, Columns:[/b]
Gui, 3:Add, UpDown, [b]x20 y120 [/b]Range2-32 vColumns, %Columns%
Gui, 3:Add, Button, h40 w100 x180 y240, Apply
Gui, 3:Add, Button, h40 w100 x280 y240, Cancel
Gui, 3:Show, h300 w400, Options
return

3ButtonCancel:
ExitApp

3GuiClose:
ExitApp


I cant see Columns: text ?
And what happened with Updown positions.. "x20 y120"
Which is the problem ?

Tnx in advance


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2007, 9:48 am 
Offline

Joined: June 6th, 2005, 11:35 pm
Posts: 179
Location: Northern Virginia
I think the updown is trying to attach itself to a text control, when it is meant to be used with an Edit control.

_________________
_AiK


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Help with GUI....
PostPosted: February 15th, 2007, 11:22 am 
Offline

Joined: January 18th, 2006, 7:39 am
Posts: 274
Location: Conway, Arkansas
DJAnonimo wrote:
I cant see Columns: text ?
And what happened with Updown positions.. "x20 y120"
Which is the problem ?


As AiKscroll said, an UpDown control is designed to be used with an Edit control.

Code:
Gui, 3:Add, Text, x20 y20, Transparency:
Gui, 3:Add, Slider, vTransSlider, %TransValuePerc%
Gui, 3:Add, Checkbox, x25 y85 Checked%AlwaysOnTopValue% vAlwaysOnTopValue, Always On Top:
Gui, 3:Add, Text, x20 y140, Columns:
Gui, 3:Add, Edit,
Gui, 3:Add, UpDown, x20 y120 Range2-32 vColumns, %Columns%
Gui, 3:Add, Button, h40 w100 x180 y240, Apply
Gui, 3:Add, Button, h40 w100 x280 y240, Cancel
Gui, 3:Show, h300 w400, Options
return

3ButtonCancel:
ExitApp

3GuiClose:
ExitApp


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2007, 2:17 pm 
Offline

Joined: September 10th, 2006, 1:41 pm
Posts: 157
oh

tnx a lot :)


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: 0x150||ISO, engunneer, Google Feedfetcher, Kgalv, rbrtryn and 72 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