| View previous topic :: View next topic |
| Author |
Message |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Thu May 24, 2007 2:50 pm Post subject: |
|
|
And now ?!?
- resize controls in all 8 directions
- when Ctrl key is pressed the resize and movement is done in 5 pixel steps _________________ Ciao
toralf  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Thu May 24, 2007 3:33 pm Post subject: |
|
|
Do you have some code already or its up to me ? _________________
 |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Thu May 24, 2007 4:10 pm Post subject: |
|
|
I have some very crude stuff I did for SGUI, but that didn't work very well, so maybe you come up with some genious idea. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Thu May 24, 2007 6:35 pm Post subject: |
|
|
Oh, now I must do it, I must prove I am a genious.
Anyway, I was planing to do this for you when I find time. _________________
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Thu May 24, 2007 9:37 pm Post subject: |
|
|
Check out the Lil' Builder geting bigger.
Now you can resize ctrl when you click hold and move on control's corners. Lil' tooltip will show you what type of sizing is needed out of 8 possible.
Its easy to implement full sizing out of this as I already provided all possible flags, but even like this it is possible to set every position using combination of size and move (still on shift).
It flickers but hey.... that is not such limitation. _________________
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Fri May 25, 2007 11:16 am Post subject: |
|
|
Well, I wanted to see how dock works in LilBuilder.
Check it out on first page.
I am now trying to think something that will allow pro resizing, moving, alligment etc... If anybody wants to try to improve or do something about it, you are welcome.
I wll also make creation of 3thd party controls possible, like HiEdit, AniGif, IE, etc... This is the one of the reasons I was suggesting standardisation about control encapsulation. _________________
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Mon May 28, 2007 6:44 pm Post subject: |
|
|
New version. _________________
 |
|
| Back to top |
|
 |
Supercalifragilistic Guest
|
Posted: Mon May 28, 2007 7:23 pm Post subject: |
|
|
Thanks majkinetor.
I didn't tested it yet. It seems very well done. The demo with an animated gif is a good idea.
Will you include other existings controls like Radio buttons, UpDown, Picture, DropDownList, ComboBox, DateTime, MonthCal, Tab, StatusBar ?
Thanks for the good work. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Mon May 28, 2007 7:42 pm Post subject: |
|
|
| Quote: | | Will you include other existings controls like Radio buttons, UpDown, Picture, DropDownList, ComboBox, DateTime, MonthCal, Tab, StatusBar ? |
Anybody can do that in 10 minutes.
Procedure to add combox
- Make the image for toolbox 180x20, name it ComboBox.png and put it in Res folder. You can copy existing one for the start.
- Add picture in Toolbox_Create() function. Just copy/paste any other and change the picture name.
| Code: | | gui %Toolbox_GUI%:add, Picture, gToolbox_OnClick ,res\ComboBox.png |
Resize the Toolbox window to fit control. Adjust height (red)
| Code: | | 29: Dock(0,-1,-10, 0,0,0, 0,130, 0,380) ; left, top |
Add control in the list of AHK controls:
| Code: | | 71: if txt not in Button,Edit,Text,CheckBox,ListBox,ListView,ComboBox |
Kongratz. U added the standard control.
For third party control its 5 minutes more only (no standard). _________________

Last edited by majkinetor on Mon May 28, 2007 8:05 pm; edited 1 time in total |
|
| Back to top |
|
 |
Supercalifragilistic Guest
|
Posted: Mon May 28, 2007 7:46 pm Post subject: |
|
|
Thanks for the info, majkinetor  |
|
| Back to top |
|
 |
Elevator_Hazard
Joined: 28 Oct 2006 Posts: 304 Location: US
|
Posted: Mon May 28, 2007 8:06 pm Post subject: |
|
|
Amazing... And in 2 days? Jeez... My biggest accomplishment (talking about speed of doing something right with ahk) is probably making a lot of a chat program in one day (today), but it doesn't send/recieve messages properly yet, cept maybe the Main Hall chat room...
Anyways this is great and I am a big fan of these custom controls.
PS: Those pictures on toolbar look like they came from VB.NET's Studio control toolbar (was it?).
 _________________ Changed siggy at request of ahklerner  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Mon May 28, 2007 8:37 pm Post subject: |
|
|
Thx Elevator
| Quote: | | PS: Those pictures on toolbar look like they came from VB.NET's Studio control toolbar, was it? |
Yup.
Am I screwed now ?
BTW, messages in AHK are really hard to do (IMO). I must seat sometimes and read everything very very carefuly and meditate about that in some desert for a year or so. Multitasking AHK would change that, so lets all pray for Micha and his dll atempt. _________________
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Tue May 29, 2007 10:43 am Post subject: |
|
|
v004
- Delete
- IE fixed
- All AHK native controls added
- You can not move subcontrols any more of complex controls. _________________
 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Wed May 30, 2007 8:36 pm Post subject: |
|
|
hey maj, this is looking awesome! so glad to see another gui builder coming along so well. all the best!  _________________
 |
|
| Back to top |
|
 |
|