Jump to content

Recommended Posts

Posted

@Andreik

This time TreeView click ? Double or single ?

 

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

@Andreik,

Oh I see. That's interesting. Let me check. 

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

Hi all,

I just pushed a bug fixed version of Glance gui lib. Please check. Changed some stack generated strings to heap strings. 

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

@Andreik,

Thanks. Let me check what I can do with x86. I had very little priority when it came to the X86. 

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

Hi all,

A script braking change !!!

I just improved the way of using property getter/setter and event.

New way.

; Set a property
Local $btn1 = glf_NewButton($frm, "Normal", 15)
glf_ControlSetProperty($btn2, $btn2.backColor, 0x90be6d)

; Get a property
Local $txt = glf_ControlGetProperty($tb, $tb.text)

; Set an event handler
glf_ControlAddHandler($btn1, $btn1.onClick, "onBtnClick")
glf_MainMenuAddHandler($frm, "Basic Job", $frm.onMenuClick, "menuClick")

Please download the updated files from git repo

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

Hi first of alle great looking GUI. 

I have problems Running your Demo APP i get this Error

image.png.425ddbde8435261fcdbc30a3759d281a.png

I use Visual Studio Code with the Autoit Plugin by Damian. 

But also when i compile into an Exe with the Aut2exe_x64.exe the error stays the same. Any Idea what am i doing wrong?

Posted

Sorry for spamming but i could not Edit my Post maybee because I am new to the Forum. I activated the Consolewrite in the glance.au3 and i get "-1" Result from the DllOpen, also replaced the File Name with the Full File Path but still the same Result 

Posted

@akanada,

I think that's because of not setting the working directory. You can check this with these steps.
1. Open your script folder and start cmd from there.

2. Copy & paste the run command from SciTE editor to cmd and run. (SciTE will show you the running command in output window.)

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)
14 hours ago, akanada said:

I have problems Running your Demo

I added this:

#AutoIt3Wrapper_UseX64=y
If Not @AutoItX64 And Not @Compiled Then Exit ShellExecute(StringTrimRight(@AutoItExe, 4) & "_x64.exe", '"' & @ScriptFullPath & '"')
If AutoItIsTooOld() Then Exit MsgBox(0, @ScriptName, "Your version of AutoIt is too old." & @LF & "Update and try again.", 60)
Func AutoItIsTooOld($sMinVer = "3.3.15") ; also this. just in case map[] is not available
    If Version2Int($sMinVer) > Version2Int(@AutoItVersion) Then Return 1
EndFunc   ;==>AutoItIsTooOld
Func Version2Int($sVersion) ; works ok for upto 5 digit long
    Local $aArray = StringSplit(StringStripWS(StringReplace($sVersion & "....", ",", "."), 8), ".")
    Return Int(Int($aArray[1]) & StringRight('00000' & Int($aArray[2]), 5) & _
            StringRight('00000' & Int($aArray[3]), 5) & StringRight('00000' & Int($aArray[4]), 5))
EndFunc   ;==>Version2Int

to make sure I'm running x64, and the version support maps.

Edited by argumentum
better code

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Posted (edited)

Thanks for your Tips Guys, yes I am using the X64 Version. Working directory could be an issue because i have a mostly portable Version of Scite and Autoit. 

I will try on Monday, thank you and have a nice Weekend. 

Edited by akanada
  • 3 weeks later...
Posted

Hi,

First, thanks @kcvinker for this great work!

I have a suggestion: can be add navigation through the controls using the keyboard? Something like what $ws_tapstop does. I ran the example code, but keyboard navigation (for example, using tab key) isn't possible. This can be useful to improve accessibility for blind people.

Posted

@Mateocedillo,

Thanks for trying the library. Let me check the key navigation. 

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
19 hours ago, kcvinu said:

@Mateocedillo,

Thanks for trying the library. Let me check the key navigation. 

Hi @kcvinu,

Thank you! I hope key accelerators or navigating  will be implemented, I read through the wrapper glance.au3 and only found possible things that can be done with EventHandler (key_handle and key_press) of which I doubt that key accelerators can be set for all GUI controls that possible to create, I think it is related to the library in Nym. Please let me know news about this, and if you need to do tests regarding this function (eg. With a screen reader), I will be happy to do it.

Posted

@Mateocedillo

Hi, It can be implemented from the Nim side. But I was busy in these days. I will sure look into it.  

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)

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...