Zedna Posted November 28, 2007 Posted November 28, 2007 > some new funktions like: ToolBar with icons, statusbar, splitter, richedit something like that will be more interesting Splitter, RichEdit are not in standard AutoIt UDFs (but ToolBar and StatusBar are included)so I dont think these will be implemented in Koda for now.- if you create textlabel, then resize it, then save and open it again, his size will be dafault, thats not nice ... p.s: need normal status bar (in Koda) i'm tired to create it from text label... :\Switch OFF AutoSize label's property :-) Resources UDF ResourcesEx UDF AutoIt Forum Search
Lazycat Posted November 28, 2007 Author Posted November 28, 2007 > When you double click on control it opens you event editor like in delphi> In background i think always need opened editor so you can view and edit what you creating> some new funktions like: ToolBar with icons, statusbar, splitter, richedit something like that will be more interesting > will be interesting to see some of speed/macross buttons to quick paste some of scripts in projectssooo i think thats all... for first time...It's planned - found a bug or kind of that - when creating a window and control on it, with the same color, control color not changing...This worked for me...p.s: need normal status bar (in Koda) i'm tired to create it from text label... :\I'm missing StatusBar support in Koda very much too.EDIT: and ToolBar tooThis was planned a long time. I think, possible to add new tab "Custom Controls" and place controls that done via UDF there. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Zedna Posted November 29, 2007 Posted November 29, 2007 This was planned a long time. I think, possible to add new tab "Custom Controls" and place controls that done via UDF there.This will be GREAT Lazycat!! Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted December 4, 2007 Posted December 4, 2007 (edited) I found some bug in Koda 1.7.0.1 Here is KXF: expandcollapse popup<?xml version="1.0" encoding="windows-1251"?> <object type="TAForm" name="Form1"> <properties> <property name="Left" vt="Int16">259</property> <property name="Top" vt="Int16">158</property> <property name="Width" vt="Int16">538</property> <property name="Height" vt="Int16">394</property> <property name="Caption" vt="String">Form1</property> <property name="Color" vt="Ident">clBtnFace</property> <property name="Font.Charset" vt="Ident">DEFAULT_CHARSET</property> <property name="Font.Color" vt="Ident">clWindowText</property> <property name="Font.Height" vt="Int8">-11</property> <property name="Font.Name" vt="String">MS Sans Serif</property> <property name="Font.Style" vt="Set"/> <property name="OldCreateOrder" vt="False">False</property> <property name="Position" vt="Ident">poDesktopCenter</property> <property name="Visible" vt="True">True</property> <property name="Style" vt="Int32">-1798701056</property> <property name="ExStyle" vt="Int16">264</property> <property name="Version" vt="String">1.03</property> <property name="PixelsPerInch" vt="Int8">96</property> <property name="TextHeight" vt="Int8">13</property> </properties> <components> <object type="TAList" name="List1"> <properties> <property name="Left" vt="Int8">4</property> <property name="Top" vt="Int8">4</property> <property name="Width" vt="Int16">522</property> <property name="Height" vt="Int16">357</property> <property name="ItemHeight" vt="Int8">13</property> <property name="TabOrder" vt="Int8">0</property> <property name="CtrlStyle" vt="Int32">1350631427</property> <property name="CtrlExStyle" vt="Int16">512</property> <property name="Resizing" vt="Set"/> </properties> <components/> </object> </components> </object> Here is generated AU3 code: #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 531, 368, -1, -1, -1, BitOR($WS_EX_TOPMOST,$WS_EX_WINDOWEDGE)) $List1 = GUICtrlCreateList("", 4, 4, 522, 357) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd When I Import This AU3 code into Koda form is behind the corner (Left and Top are negative) and I can't correct it by changing Left,Top properties - when I change it it goes back to negative ones and I can't move Form by mouse dragging. Edited December 4, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Lazycat Posted December 5, 2007 Author Posted December 5, 2007 When I Import This AU3 code into Koda form is behind the corner (Left and Top are negative)and I can't correct it by changing Left,Top properties - when I change it it goes back to negative onesand I can't move Form by mouse dragging.Yes, it still not work. This is problem with incorrect handling of -1 while import... For instance for such forms replace all -1 to their corresponding values. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Lazycat Posted December 6, 2007 Author Posted December 6, 2007 This will be GREAT Lazycat!!I'm tried to play with it, and this is not so simple as thought. This is easy to add new control, but here become a problem with consistency. Internal controls return ID, where for example statusbar - handle, so it's not usable in standard loop; event mode is not applicable; setting text/color etc done with different methods, an so on. Afraid this will be quite messing... Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Lazycat Posted December 7, 2007 Author Posted December 7, 2007 Well, let begin next beta cycle Here is current beta: http://www.autoitscript.com/fileman/users/lookfar/koda_2007-12-07.zipWhat done:- dummy control- external import- recent files list- colors customizing- bugfixes (of course)In this version changed some rather critical code, need stability testing. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Enforcer Posted December 11, 2007 Posted December 11, 2007 ahahah Dummy control Mega powerful control... )) So whats that ? What can I do with this super-mega object??? And where is our super-cool status bar ? ) [RU] Zone
Lazycat Posted December 12, 2007 Author Posted December 12, 2007 ahahah Dummy control Mega powerful control... )) So whats that ? What can I do with this super-mega object???Isn't you think this was done in Autoit without a reason?..And where is our super-cool status bar ? )Where, yeah? I'm explained my doubts about it two posts above. As you see, no ideas or responses yet. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Zedna Posted December 12, 2007 Posted December 12, 2007 This will be GREAT Lazycat!!I'm tried to play with it, and this is not so simple as thought. This is easy to add new control, but here become a problem with consistency. Internal controls return ID, where for example statusbar - handle, so it's not usable in standard loop; event mode is not applicable; setting text/color etc done with different methods, an so on. Afraid this will be quite messing...I will be happy with it also if it will be inconsistent: control ID/control handle.I use Koda only for GUI part. Every script logic is done by hand in my case.So I know where I can expect control ID and where control handle.If you would write your GUI with statusbar and button by hand (without Koda)you must know where is control ID and where is control handle too.So my suggestion: Implement StatusBar even if it will return control handle.and users can handle these differences by hand in script logic. Resources UDF ResourcesEx UDF AutoIt Forum Search
Lazycat Posted December 15, 2007 Author Posted December 15, 2007 (edited) I will be happy with it also if it will be inconsistent: control ID/control handle.I use Koda only for GUI part. Every script logic is done by hand in my case.So I know where I can expect control ID and where control handle.If you would write your GUI with statusbar and button by hand (without Koda)you must know where is control ID and where is control handle too.So my suggestion: Implement StatusBar even if it will return control handle.and users can handle these differences by hand in script logic.The another problem (internal) here - support functions now are common for all controls, custom controls will requre separate handling... But if the change I talk about couple posts before will not cause a problems, this can be solved relatively painless.Well, this is beta, at least we can try. Edited December 15, 2007 by Lazycat Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Zedna Posted December 15, 2007 Posted December 15, 2007 The another problem (internal) here - support functions now are common for all controls, custom controls will requre separate handling... But if the change I talk about couple posts before will not cause a problems, this can be solved relatively painless.Well, this is beta, at least we can try.Yes. Thanks Lazycat. Resources UDF ResourcesEx UDF AutoIt Forum Search
Lazycat Posted December 15, 2007 Author Posted December 15, 2007 Uploaded a version with test custom controls support. http://www.autoitscript.com/fileman/users/lookfar/koda_2007-12-15.zipImplemented StatusBar and IPAddress controls, that rely on standard UDFs.Also, %INCLUDES% substitute in the teplates now have a matter. Mentioned custom controls are already generate corresponding includes, and internal autoit ones will be too in near future (instead of GUIConstants.au3), due to upcoming rewrite of standard UDF library. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
LOULOU Posted December 15, 2007 Posted December 15, 2007 I want to import an external window in Koda with Form Captor.au3 but i don't know ho to do the help isn't suffisant. May be someone can help me ?
Zedna Posted December 15, 2007 Posted December 15, 2007 Uploaded a version with test custom controls support. http://www.autoitscript.com/fileman/users/lookfar/koda_2007-12-15.zipImplemented StatusBar and IPAddress controls, that rely on standard UDFs.That's awesome!!! Little note:In StatusBar control last panel should have width=-1 according to HelpFile - _GUICtrlStatusBar_SetParts RemarksIf an element is -1, the right edge of the corresponding part extends to the border of the window. Resources UDF ResourcesEx UDF AutoIt Forum Search
Enforcer Posted December 16, 2007 Posted December 16, 2007 YEa thats great but please tell what i need to do when happens error like: _GUICtrlStatusbar... (Unknown Function Name) [RU] Zone
Lazycat Posted December 16, 2007 Author Posted December 16, 2007 YEa thats great but please tell what i need to do when happens error like: _GUICtrlStatusbar... (Unknown Function Name)Update standard includes to latest production version - they are was changed in Autoit last beta cycle. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Lazycat Posted December 16, 2007 Author Posted December 16, 2007 I want to import an external window in Koda with Form Captor.au3 but i don't know ho to do the help isn't suffisant. May be someone can help me ?When window with finder appear, drag "target" cursor over window you want to capture (just like in au3info) and release mouse. Then press OK button and you done.Note, this work only with standard windows contols, so programs made in Delphi, VB etc will not captured. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Zedna Posted December 26, 2007 Posted December 26, 2007 Uploaded a version with test custom controls support. http://www.autoitscript.com/fileman/users/lookfar/koda_2007-12-15.zipImplemented StatusBar and IPAddress controls, that rely on standard UDFs.Also, %INCLUDES% substitute in the teplates now have a matter. Mentioned custom controls are already generate corresponding includes, and internal autoit ones will be too in near future (instead of GUIConstants.au3), due to upcoming rewrite of standard UDF library.This new implemented StatusBar control is wonderfull. So can you please implement also ToolBar control on the same (GuiToolbar UDF) basis? This would be GREAT. Resources UDF ResourcesEx UDF AutoIt Forum Search
Lazycat Posted December 26, 2007 Author Posted December 26, 2007 (edited) So can you please implement also ToolBar control on the same (GuiToolbar UDF) basis? This would be GREAT.I'll probably try toolbar in holidays. Also thought about bands but not sure - thing looks damn complicated to handle...Edit: Btw, here is problem with images, which Koda should keep somewhere. Edited December 26, 2007 by Lazycat Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now