Jump to content
Sign in to follow this  
Lazycat

GUI Designer: Koda 1.7.3.0

Recommended Posts

Hi JLogan,

There is not any code yet, this is just the initial setting up of a form in Koda. It has not yet been saved to Autoit.

I'm just trying to find out if there is something like a %num% syntax for numbers in the same manner that %var% works for strings.

Thank you

Share this post


Link to post
Share on other sites

@millisys

What you want to achieve is not supported by Koda and Lazycat as Koda's developer is not here anymore.

Koda helps to visually design AutoIt's forms and generate AU3 code for such GUIs.

It's not meant for any dynamic or non-GUI code.

You have to manually modify generated GUI code in such case.

Edited by Zedna

Share this post


Link to post
Share on other sites

Thank you Zedna, 

I think Koda is really helpful and I wanted to check in to see if it could manage dynamic values before I began editing the AutoIt code.

Share this post


Link to post
Share on other sites

Hello,

When creating groups & putting stuff inside them, then changing the font to something (does not matter wich font) Koda randomly ignores some of the labels, checkboxes and so on, and does not put the GUICtrlSetFont for the variable when generating code. Tried with both using -1 and non-1 variants for variables , same results. It skips some of them for unknown reason.

It's not that much pain in the a$$ to add them by hand, but wondering what might be wrong. I tried with a new form, opened some old ones i have and added stuffs to them, problem exist. 

Using version 1.7.3.0 build 252

Any suggestions ?

Share this post


Link to post
Share on other sites

Today I discovered limitation of Koda:

In Koda you can't change order of existing TabItems in Tab control.

I hope I haven't overlooked it somewhere, I searched a lot but it seems it can't be done inside Koda GUI designer,

it can be done only by manual editing either of Koda's KXF file or generated AU3 code.

:(

EDIT:

I got answer for my problem/question:

You can change tabs order, but this is only done with keyboard: choose the tab needed and use Alt+Arrows to rearrange it.

 

 

I tested it and it really works.

Koda is really great tool which I use a lot.

:thumbsup:

Edited by Zedna

Share this post


Link to post
Share on other sites

I have a problem with 1.7.2.1

The attached form doesn't load back into Koda correctly. It was designed with 1.7.2.1 and other forms seem ok but this one becomes impossible to edit and the form cannot be dragged (in Koda). The script runs fine and I've tried recreating the form by importing from the design code of the script.
I have tried it with poFixed and poDesigned.

Share this post


Link to post
Share on other sites

hi Lazycat

designer is awesome, it reminds me wonderful time programming in Delphi, thank you for this good designer!

i have a bug report:

cant create modal window with style keys: WS_DLGFRAME, WS_SYSMENU, WS_CAPTION

if i choose WS_DLGFRAME then WS_CAPTION disables and vice versa

WS_OVERLAPPED does not remove in any cases.

Share this post


Link to post
Share on other sites

Your bug report needs to be redirected to Microsoft I think :)

Have a look at the definition of windows styles

WS_DLGFRAME   Creates a window with a double border but no title.

So you cannot have a caption and the WS_DLGFRAME style.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

LazyCat, Hi, maybe you should share Koda's sources over here, so someone can continue programming your project ? What do you think about that ?

 

Будет обидно если сурсы потеряются и труд пойдет на смарку, как думаешь ?

Edited by Enforcer

Share this post


Link to post
Share on other sites

It's possibly the load of au3 files it's no more working on koda ?? I have created a previous .au3 from koda to scite. But before to close all i don't have saved the kxf files (damn...).

 

Now i have tryed to load directly the .au3 files...... but nothings appends... and nothings it's been opened...... how i can fix this ?

 

*EDIT*

Apparently the files it's no more appears on "All supported format"  . I have also tryed to select manually au3 and my files appears... selected.. press on "open" but apparently nothigs has been loaded.....

 

*EDIT 2*

Apparently the Import:

http://koda.darkhost.ru/wiki/doku.php?id=koda:en:documentation:file_import_autoit_gui

Working good.

Edited by DjDiabolik

Share this post


Link to post
Share on other sites

Hello:

I'm new to both AutoIt and Koda, so my questions may indicate a lack of some basic knowledge...

I used Koda for the first time a couple days ago and it makes it very easy to create gui's.  A couple things I couldn't figure out.  Like with a Combo Box, probably be similar with a List Box... is there a way to tell Koda, like perhaps in the string editor?, that you want one of the entries to be a default entry.  I did figure out how to do it in the AutoIt code generated by Koda, but then if you make changes to the Koda gui file, it doesn't know about those changes you made to the generated AutoIt code, so every time you make a change to the gui in Koda you have to go through the generated AutoIt code and set the default entries again.  I suppose one workaround is just to finish everything about the gui first, then generate the code and only then put in your default entries.  But, is there some way to tell Koda you want to make one of the entries a default entry?

Another thing... this might be AutoIt, or even GUI creation, both of which I have little experience with...  When I make a Combo Box, say ComboBox1, Koda, or AutoIt, also includes the name of the ComboBox, say ComboBox1 here, in the list of entries listed in the items for the Combo Box.  Is there a way to stop Koda, and/or AutoIt, from listing the name of the Combo Box in the item listing?  Thanks.

Take care,

Paul

Share this post


Link to post
Share on other sites

Koda has a bug. On multi-monitor system "Code" and Options windows appears not in center, but on the borders of the screen. Or even worse. It's ugly.

rSAvhHu.jpg

Edited by mike2003

Share this post


Link to post
Share on other sites

It doesn't appear to be that Koda is being actively developed any longer. Time to use another form designer or live with the issues.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

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  

×
×
  • Create New...