Jump to content


Photo

X-Gui Creator v0.6.1 [12/7/12]


  • Please log in to reply
103 replies to this topic

#1 nothing

nothing
  • Members
  • 127 posts

Posted 28 April 2012 - 08:03 AM

XGC is a small tool to help you create GUI.
Updated.
ToDoList:
-Font & Color
- Label.

thank #1 guest for the suggestion.
Link:http://www.mediafire...78q78ytnmslz4ia
feel free to reply,report bugs.Have a nice day!



#2 IHatePoly

IHatePoly
  • Guests

Posted 28 April 2012 - 10:49 AM

This is great!

If you can enclosed a code editor with function/label management (like VB), it would be perfect!!!

Thank you!

#3 nothing

nothing
  • Members
  • 127 posts

Posted 28 April 2012 - 11:33 AM

it's on my way!
thanks.

#4 MilesAhead

MilesAhead
  • Members
  • 429 posts

Posted 28 April 2012 - 11:57 PM

I'm missing how to start with this. The program comes up with button checkbox etc.. but no main form/gui. I click stuff and nothing happens.

#5 vahju

vahju
  • Members
  • 327 posts

Posted 29 April 2012 - 02:19 AM

Looks like you have to create the main GUI first.

Click Gui > New
Add title then adjust height and width
Click Done
Then add controls from toolbar

#6 DataLife

DataLife
  • Members
  • 730 posts

Posted 29 April 2012 - 04:22 AM

This is very nice.
The ability to add associated variables, gLabels, Gui Names, ETC.... is GREAT.

Nice work.

What does the Go button do next to the Label edit box on the menu on the left?

It appears the horizontal positioning of controls does not get it exactly in the middle.
Is that what the H and the V is supposed to do?

When I click H it positions it close to the middle vertically.
When I click V it positions it close to the middle horizontally.

Are these reversed or am I looking at it the wrong way?

After positioning a button with the H and it positions it half way down the GUI then I right click and select move my cursor is appx 1 or 2 inches above the control as I move the control.

I am not able to position a text, updown, or picture control and many more controls with the H and V.

Is that fix planned?

Thanks for the great script.

DataLife

#7 nothing

nothing
  • Members
  • 127 posts

Posted 29 April 2012 - 03:55 PM

Hehe.. thanks for your reply!
It gave me a lot of motive force to cancel my day-off plan to continue with this project.
And about the bug. You are right.
I misunderstood the meaning of the 2 words :D.
The "go" button is in my to-do-list that will allow user easily edit the label contents,and so that the gui script can be run instantly after created.
Thanks,
___x@____
---------------------------
Need some help if possible:
- A new nice Icon library for the toolbar :)

#8 DataLife

DataLife
  • Members
  • 730 posts

Posted 30 April 2012 - 04:54 PM

I have always wanted a GUI creator that lets you "Drag To Move" controls to place them exactly and quickly where you want them.

The example below gets the job done but I am sure there are much more advanced ways to do this.

This allows you to drag controls on the SmartGUI Creator. But SmartGUI saves the original control position not the final control position when using this script to move the controls.

~LButton::
WinGetActiveTitle,title
WinGet,SGUIID,id,GUI WorkSpace
CoordMode, Mouse
MouseGetPos, MouseStartX, MouseStartY, MouseWin, Control
if MouseWin <> %SGUIID%
 return
SetTimer, WatchMouse, 10
return
WatchMouse:

CoordMode, Mouse
MouseGetPos, MouseX, MouseY
DeltaX = %MouseX%
DeltaX -= %MouseStartX%
DeltaY = %MouseY%
DeltaY -= %MouseStartY%
MouseStartX = %MouseX%  
MouseStartY = %MouseY%
ControlGetPos,CMX,CMY,,,%Control%, GUI WorkSpace
CMX += %DeltaX%
CMY += %DeltaY%
SetControlDelay, -1
ControlMove ,%Control%,%cmx%,%cmy%,,,GUI WorkSpace
GetKeyState, LButtonState, LButton, P
if LButtonState = U  
 {
  SetTimer, WatchMouse, off
  return
 }
return

Would something like this be possible with X-Gui Creator?

#9 nothing

nothing
  • Members
  • 127 posts

Posted 30 April 2012 - 05:33 PM

Please wait a few days, i have finish the move controls,i think you will be surprised with this feature .now i'm working on the section: "load gui from AHK file". and still need a new Icon library.
------------------
any help 's welcome !

#10 DataLife

DataLife
  • Members
  • 730 posts

Posted 30 April 2012 - 05:49 PM

Please wait a few days, i have finish the move controls,i think you will be surprised with this feature .now i'm working on the section: "load gui from AHK file". and still need a new Icon library.
------------------
any help 's welcome !


I'm looking forward to the latest updates.
thanks

#11 nothing

nothing
  • Members
  • 127 posts

Posted 01 May 2012 - 06:15 PM

:mrgreen:

#12 oldbrother

oldbrother
  • Members
  • 139 posts

Posted 05 May 2012 - 06:24 AM

Bug found.

1)Add a Tab control and then add a Listview to one of the tabs.

Switching the Tabs, the Listview is always showing on the top.

2)ListBox has the same problem.

3)Can not add a tab control to another tab control.

Thanks!

#13 nothing

nothing
  • Members
  • 127 posts

Posted 05 May 2012 - 06:52 AM

@oldborther:fixed!
thank you for the report.

#14 Klark92

Klark92
  • Members
  • 854 posts

Posted 05 May 2012 - 07:04 AM

Yeah, tab is always problem, rajat's version either.. only drugwash solved that problem professionally :)

#15 nothing

nothing
  • Members
  • 127 posts

Posted 05 May 2012 - 07:08 AM

@Klark92: this one can do that.