Jump to content

Recommended Posts

Posted
3 minutes ago, ISI360 said:

Oh ok..thanks for the info! I will fix it!

My pleasure.  Great software by the way, overlooking the trivial translation issues.

Posted

Found another bug.

For example, on this line:

Assign("File" & $Count, GUICtrlCreateInput("", 64, $Count * $GUI_Height + 0, 225, 21))

If you add a comma at:

Assign("File" & $Count, GUICtrlCreateInput("", 64, $Count * $GUI_Height + 0, 225, 21),)

then it is suppose to show help for Assign, but instead it shows help for GUICtrlCreateInput. I'm mobile so forgive my lack of a code box 

 

 

Posted
1 hour ago, ISI360 said:

thx.
You are a real bughunter! Maybe for the future you can use my bugtracker for bugreporting.  (isnetwork.at/bugtracker)
Make´s it easier for me ;)
 

Hi ISI

Is there some ware I can change the language of the bug tracker to english? - My german is really poor, haven't used it sins I stopped sailing 20 years ago.

Cheers
/Rex

Posted (edited)

I have created a new Project called "ISN AutoIt Studio - English" in the bugtracker. If you select this project in the dropdown in the upper left corner it should switch to english!

Edited by ISI360
Posted

@ISI360 ,

I am practising to make my own gui designer for autoit. I have some doubts which i think ask to you. 

1. How to make selection out line around a control ? Is that GDI ?

2. How to move a control inside the form ? Should i need to check the mouse drag event ?

3. Is controls in the tool box are actual controls or bitmap images of button, label, listview ?

I know you are pretty busy these days. I hope you will suggest some links to read more about this.

Spoiler

My Contributions

Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language.

UDF Link Viewer   --- A tool to visit the links of some most important UDFs 

 Includer_2  ----- A tool to type the #include statement automatically 

 Digits To Date  ----- date from 3 integer values

PrintList ----- prints arrays into console for testing.

 Alert  ------ An alternative for MsgBox 

 MousePosition ------- A simple tooltip display of mouse position

GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function

Access_UDF  -------- An UDF for working with access database files. (.*accdb only)

 

Posted

1) The selections are simple picture controls, witch are created around the klicked control. (De Dot is only a picture.) Yeah it would also be possible with GDI :P
2) Check this example from the german forum: The formstudio does it exactly like this.
 

; *** Start added by AutoIt3Wrapper ***
#include <StaticConstants.au3>
; *** End added by AutoIt3Wrapper ***
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <ListviewConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <SliderConstants.au3>
#Include <GuiListView.au3>
#Include <Array.au3>
#Include <File.au3>
#Include <Misc.au3>

Opt("GUIOnEventMode", 1)
;Global $posXStart, $posYStart, $posXStop, $posYStop, $pic, $hGui, $Pos_M2 = MouseGetPos()

$hGUI = GUICreate("Transparent", 575, 510)
GUISetOnEvent($GUI_EVENT_CLOSE, "_Ex")
$insert = GuiCtrlCreateButton("Insert Pic" ,10,10)
GuiCtrlSetOnEvent(-1, "_insert")
$Pic=GUICtrlCreatePic("", 50, 50)
GuiCtrlSetOnEvent(-1, "_DragMe")
$hsplitter1 = GUICtrlCreateLabel("",270, 125, 8, 205,-1,$SS_BLACKFRAME)
;GUICtrlSetColor(-1,0xffffff)
;GUICtrlSetResizing(-1, $GUI_DOCKLEFT +$GUI_DOCKSIZE + $GUI_DOCKTOP)
GUICtrlSetOnEvent($hsplitter1,"_DragMe")
    $hlabel = GUICtrlCreateLabel("Verschieb mich",20,120,100,25)
GUICtrlSetOnEvent($hlabel,"_DragMe")

GUISetState(@SW_SHOW)

While 1
    sleep(100)
WEnd

Func _insert()
    GuiCtrlDelete($pic)
    $bild = FileOpenDialog("Wählen Sie eine Datei aus!", @WindowsDir & "\", "Bilder (*.jpg;*.bmp)", 1 + 4 )
    $Pic = GUICtrlCreatePic($bild, 150, 150)
    GuiCtrlSetOnEvent(-1, "_DragMe")
EndFunc

Func _DragMe() ;Orginal zum verschieben von 1 Bild von ChaosKeks
    Local $Pos_C, $Pos_M, $Pos_M2, $Opt_old
    Local $dll = DllOpen("user32.dll")
    $Opt_old = Opt('MouseCoordMode', 0)
    $Pos_C = ControlGetPos($hGui, "", @GUI_CtrlId);$pic)
    $Pos_M = MouseGetPos()
    $Pos_W = WinGetPos($hGui)
    $x_Offset = $Pos_M[0] - $Pos_C[0]
    $y_Offset = $Pos_M[1] - $Pos_C[1]
    _MouseTrap($Pos_W[0]+$x_Offset,$Pos_W[1]+$y_Offset,$Pos_W[0]+$Pos_W[2],$Pos_W[1]+$Pos_W[3])
    While _IsPressed('01', $dll)
        $Pos_M = MouseGetPos()
        If $Pos_M <> $Pos_M2 Then
            GUICtrlSetPos(@GUI_CtrlId,$Pos_M[0] - $x_Offset, $Pos_M[1] - $y_Offset)
            sleep(10)
        EndIf
        $Pos_M = $Pos_M2
        sleep(50)
    WEnd
    DllClose($dll)
    Opt('MouseCoordMode', $Opt_old)
    _MouseTrap()
EndFunc

Func _Ex()
    Exit
EndFUnc

3) The Toolbox on the left side is a Listview with Icons.

Posted (edited)

@ISI360 ,

Wow !, Thanks for the fast and clear reply. Let me read the example. 

Edit - Tested that code. Superb ! Now it's time to read the code. Thanks a lot. 

Edited by kcvinu
Spoiler

My Contributions

Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language.

UDF Link Viewer   --- A tool to visit the links of some most important UDFs 

 Includer_2  ----- A tool to type the #include statement automatically 

 Digits To Date  ----- date from 3 integer values

PrintList ----- prints arrays into console for testing.

 Alert  ------ An alternative for MsgBox 

 MousePosition ------- A simple tooltip display of mouse position

GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function

Access_UDF  -------- An UDF for working with access database files. (.*accdb only)

 

Posted (edited)

Hi ISI360,

For a long time i have an eye on ism studio, and yesterday, decided to give it a try to see the evolution.

 

But i have a big problem, perhaps i am stupid but... I can't run any code, despite with F5 or launch shortcut from toolbar, it does nothing :

20160623_11h34m49_capture.png

Tested with installed or portable version, same problem ( and like your testprojekt, nothing happen )

 

Thanks !

Edited by pinkfoyd
Posted

Please check the paths to your autoit installation. (Program settings -> Program paths -> Autoit Paths)
Maybe there is something wrong...

Posted

Ok ISI360, i found the problem, new GPO on my work computer, I need to launch ISN Studio with administrator right, all is good now, thanks !

Posted

Hello sir.  Along with the previous translation error when attempting to create/edit menu controls in the GUI editor, I have found another issue when attempting to nest functions within another function.  Well...Less of an issue and more of an extreme inconvenience, but I think the product would be much better off if it were fixed.  The issue occurs after you have finished calling a particular function within another function: if the top-most function still has parameters to set, the tooltip which displays what those parameters are still displays the information for the nested function.  Illustration in attached picture.

func.jpg

  • 3 weeks later...
Posted

Hi

MsgBox Generator Text error

txt.png

in addition
Please improve support for Asian Languages (double byte characters)
The double byte characters easily garbled
Form Studio 2 if it contains double byte characters, the generated code is not complete

Guest
This topic is now closed to further replies.
×
×
  • Create New...