Sign in to follow this  
Followers 0
TrickyDeath

Grid in AutoIT for "Database"

6 posts in this topic

#1 ·  Posted (edited)

Hy everyone again,

Here are my new questions.:
- Do AutoIT have buttons with image/icon like in Delphi BitBtn?
- Do AutoIT have a way to make a grid like Delphi DBGrid and navigation buttons for it like DBNavigator?

For the second question any other simple solution is good enough for me.

What i want, why i want:
I get tired to write down on a paper all my registration for forums, emails, programs, etc.
It is kinda messed up, and papers start missing. I know i can write down them in TXT file, or excel, but not everyone
have office installed... So i want a database what is enough flexibil, moveable, and can make protection on it ofc.
Other reason is, it is still kinda challenge for me, and i can learn new and more thing in AutoIT, so can know better this language.

(Too many registration, too many data, what you have to remember, and if you let the Windows remember that for you...
After Windows, HDD crash / reinstal you gona loes your stored passwords, etc. And some kinda cleaner programs also
deleting thise kinda stored files...)

Up till now, i made a little program, and i am able to store all the data what i want in separated files.
Can read it back if i want, but the "interface" is kinda crapy / bad looking if i write the data in GUICreateInput,
and even if i do it, i am still able to see only the curent data at same time.

If i have a grid and as i saw, i can make it somehow, like with _arraydisplay i will be able to see multiple lines,
can search in / on it easyer, and better looking. :)
I am thinking on read all the data from files, and add them into a multi dimensional array, and then, i can use
_ArrayDisplay. But with this still can not search directly in that grid or change, and it open the grid in another dialog box, not
on the form where i want to use. :(

First i just wana know does it posible to make it in simple way or it is complicated? Before you start posting codes, just type only logical way to make, or what do you think how to do it on easyest way. Maybe i am just make it too complex... :/

Tricky

Edited by TrickyDeath

Sry for my bad English, and double sry, but I am learning AutoIT language by myself. :)

[u]Tricky[/u]

You can't teach a man anything, you can only help him, find it within himself. (Galileo Galilei)

Share this post


Link to post
Share on other sites



your answers: yes and yes

your AutoIt means: ListView

your real-life solution: KeePass

http://keepass.info/

Share this post


Link to post
Share on other sites

Keepass. The 1.x branch is completely stand alone, whereas the 2.x branch needs .Net. There are implementations for Linux and other OS available.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Thank you the answares.

Well the KeePass will solve my problem, but then i did not learn anything new in AutoIT. :)

So button with icon is like a ButtonEx or something, or what i shell searc to see what it is?

ListView... Hum, in help file / examples i saw a formated version with multi row a colums. I have and idea then, how to make it. :)

I guess the DBNavigator buttons will be simple buttons, wich are (self) programed as navigation on list elements.

Example left arrow button will say, move 1 posicion left from curent element if it is not the first one. Do i think right?


Sry for my bad English, and double sry, but I am learning AutoIT language by myself. :)

[u]Tricky[/u]

You can't teach a man anything, you can only help him, find it within himself. (Galileo Galilei)

Share this post


Link to post
Share on other sites

Hum... Can i have letter and bitmap or icon on button together same time?

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GuiButton.au3>

$gui = GUICreate("BitBTN test", 300, 300)
$BitBtn = GUICtrlCreateButton("BitButton", 10, 10, 50, 50, $BS_BITMAP)
_GUICtrlButton_SetImage($BitBtn, "blue.bmp")
GUISetState(@SW_SHOW)

While 1
    $Msg = GUIGetMsg()
    If $Msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd

Somehow with this i have only bmp on it, even if i make the button size large


Sry for my bad English, and double sry, but I am learning AutoIT language by myself. :)

[u]Tricky[/u]

You can't teach a man anything, you can only help him, find it within himself. (Galileo Galilei)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0