Jump to content
Sign in to follow this  
InvalidSyntax

Best way to make a table in a GUI

Recommended Posts

InvalidSyntax

Im trying to make a table in a GUI much like one you could build in word. I would like to have it so the user could select rows or columns. What would be the best way to do this?

Share this post


Link to post
Share on other sites
monoscout999

hi

Start looking for help about GUICtrlCreateListView() funciton... and related functions... also you have the include files GuiListView.au3 and GuiImageList.au3 with many functions about list management... and there are UDFs on the forum with many function about setting the cells bkcolor styles, etc... very good!!!

Sorry my mediocre english i`m learning using google translator and my own common sence :S

Edited by monoscout999

Share this post


Link to post
Share on other sites
InvalidSyntax

Very helpful indeed! Thank you!

Share this post


Link to post
Share on other sites
InvalidSyntax

Doesn't look like you can copy and paste rows though.

Share this post


Link to post
Share on other sites
monoscout999

I´m very recently starts using list.. i dont know to much about them

But it is posible look at the _arraydisplay() function.. it display a list.. and you can copy rows.. also i know you can click cells and start an event from that..

EDIT : maybe this _GUICtrlListBox_GetSelItemsText() look at the example in the help file

Edited by monoscout999

Share this post


Link to post
Share on other sites
UEZ

Have a look to martin's example:

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites
InvalidSyntax

Looks amazing but when I run the script I get the error "can not redeclare a constant"

Share this post


Link to post
Share on other sites
InvalidSyntax

Nevermind got it working. Thanks!

Share this post


Link to post
Share on other sites
monoscout999

This is great also!

that´s useful to me too... thanks :unsure:

Share this post


Link to post
Share on other sites
Trent123

Thanks UEZ for link , its really helpful for me to get rid from problem.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.