Jump to content

Koda ver 1.5 uploaded


lookfar
 Share

Recommended Posts

Quite strange... For me it give correct result (no new version). Even if you have page cached somewhere, this should give correct result... No thoughts atm.

On my home WIN98SE it's OK. But that problem is on my WINXP in work.

This is exact text of message:

New version (beta) of Koda was found. Do you want to open page to download?

In work are these conditions:

- WINXP Pro SP2 Czech

- test takes much longer (time) than home

- we have proxy

EDIT:

I think there is maybe some error during test for new version and this error state is badly recognized/resolved so text about new version instead of error text appears.

Edited by Zedna
Link to comment
Share on other sites

  • Replies 297
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Sometimes when I click a control to change the properties, it moves.

Could you add the ability to lock position of the controls?

Make it a checkbox on the main window.

Would be great.

Oh, another request.

Why do I need to use the clipboard?

Let us save the generated code to an Au3 file.

Thanks.

Edited by SlimShady
Link to comment
Share on other sites

- we have proxy

...

I think there is maybe some error during test for new version and this error state is badly recognized/resolved so text about new version instead of error text appears.

I assume, your proxy is non-transparent? Yes, most likely version checking will not work via proxy - isn't this overhead to have proxy setup for just version checking? :)

But you right, now error status is not recognized correctly. I'll add check and message that will say if it's fail.

Sometimes when I click a control to change the properties, it moves.

Could you add the ability to lock position of the controls?

This feature here from the beginning :whistle: Select controls you want to lock, go to context menu -> Control -> Lock (and UnLock). Locked controls will have red grips.

Oh, another request.

Why do I need to use the clipboard?

Let us save the generated code to an Au3 file.

Very timely - this is planned to next beta. Second button near "Copy..." I think.
Link to comment
Share on other sites

I assume, your proxy is non-transparent? Yes, most likely version checking will not work via proxy - isn't this overhead to have proxy setup for just version checking? :)

Hi Lazycat.

One note: Function InetGet is working right also on that proxy, so I expect it takes settings for profy from Internet Explorer Settings.

My program Radar (see my signature) is using InetGet and is working fine also in work on proxy.

But I don't know much about things inside InetGet and your internet functions for update checking,

so I'm happy with Koda even without this (proxy) functionality :whistle:

Link to comment
Share on other sites

QUOTE(Zedna @ Aug 11 2006, 06:27 PM)

another cosmetic one

button Apply In Options:

Yeah, this thing was not updated since first versions

Will be away on this weekend, so will fix it monday.

This is not fixed in all checkboxes, for example Designer/Advanced Event editor

And another one:

When I click Apply it always changes active tab in Options dialog to Language - it's quite iritating :whistle:

EDIT:

One idea for improvement:

In object treeview could be drag and drop functionality for posibility move controls that was created outside container control into container control (and back outside it). In that case could be little problem with position (absolute outside/relative inside), but it can be calculated as maintaining it's relative position to its parent (relative calculated also to size of parent, not only position)

Edited by Zedna
Link to comment
Share on other sites

One note: Function InetGet is working right also on that proxy, so I expect it takes settings for profy from Internet Explorer Settings.

But I don't know much about things inside InetGet and your internet functions for update checking,

so I'm happy with Koda even without this (proxy) functionality :)

Well, I'll check it. I'm used functions from wininet.dll, probbaly out here is better way.

This is not fixed in all checkboxes, for example Designer/Advanced Event editor

I'm walked through all controls, wonder how I can missed it :whistle:

But note that association functions and working with templates should not enable apply button, because they are directly saving in config file.

When I click Apply it always changes active tab in Options dialog to Language - it's quite iritating

Yes, as always after one fix appear another bug... This one is caused by fix for caption translation...

One idea for improvement:

In object treeview could be drag and drop functionality for posibility move controls that was created outside container control into container control (and back outside it). In that case could be little problem with position (absolute outside/relative inside), but it can be calculated as maintaining it's relative position to its parent (relative calculated also to size of parent, not only position)

Yes, I had this thought and tried it when making treeview, but this is complicated enough, and this can cause a lots of new bugs. I added this in todo "after release".

Request: When saving a form if no file extension is given it should append the default ".kxf".

Agree, this should be so. Edited by Lazycat
Link to comment
Share on other sites

New beta with latest fixes and improvements here:

http://www.autoitscript.com/fileman/users/lookfar/koda_2006.08.16.zip

One note: Function InetGet is working right also on that proxy, so I expect it takes settings for profy from Internet

I'm compared realization of InetGet and mine - they are quite the same, except parameters for creating connection. I'm changed this, so probably now this will work via proxy (if this set in IE, of course).
Link to comment
Share on other sites

New beta with latest fixes and improvements here:

http://www.autoitscript.com/fileman/users/lookfar/koda_2006.08.16.zip

I'm compared realization of InetGet and mine - they are quite the same, except parameters for creating connection. I'm changed this, so probably now this will work via proxy (if this set in IE, of course).

For now it looks good with proxy:

- it's very quick

- it says "You have the most current version"

We will see what it say when new version will be on net :P

Link to comment
Share on other sites

New beta with latest fixes and improvements here:

http://www.autoitscript.com/fileman/users/lookfar/koda_2006.08.16.zip

I found strange bug :P

Create new form then place something onto it

and now try delete form by button in Form list

now dialog about saving appears but sometimes it gets covered by form (is hidden behind form)

and now when you click on form Messagebox appears with text "dd"

when dialog about save is shown there are strange things when I'm teasing it:

for example when close form by right upper close button in form

then form dissapear but it remains in form list (after click on it in form list it's sjown)

EDIT:

also try to click on delete button in form list more then once ...

messageboxes about saving are created for each click

now when you close form and start to click on "No" in each messageboxes then AV (access violation) appears on second one

Edited by Zedna
Link to comment
Share on other sites

I found strange bug :P

Create new form then place something onto it

and now try delete form by button in Form list

now dialog about saving appears but sometimes it gets covered by form (is hidden behind form)

and now when you click on form Messagebox appears with text "dd"

Doh, just forget debug msgbox...

when dialog about save is shown there are strange things when I'm teasing it:

for example when close form by right upper close button in form

then form dissapear but it remains in form list (after click on it in form list it's sjown)

Hm, can't reproduce situation. Maybe I'm not fully understand.

Got it, weird thing...

also try to click on delete button in form list more then once ...

messageboxes about saving are created for each click

now when you close form and start to click on "No" in each messageboxes then AV (access violation) appears on second one

Not good behaviour... try to fix it. Edited by Lazycat
Link to comment
Share on other sites

I sometimes empty the name property of a control, usually from labels.

Because I don't need events and variables from those controls.

When I generate the code with the 'Generate events for all...' option, the result is this.

#include <GUIConstants.au3>

### Koda GUI section start ### Form=
Global $Form1 = GUICreate("AForm1", 413, 302, 303, 219)
Global $Input1 = GUICtrlCreateInput("AInput1", 32, 24, 113, 21)
Global $Button1 = GUICtrlCreateButton("AButton1", 176, 24, 73, 25, 0)
GUICtrlCreateLabel("Some text...", 32, 64, 60, 17)
GUISetState(@SW_SHOW)
### Koda GUI section end   ###

While 1
   $nMsg = GUIGetMsg()
   Switch $nMsg
      Case $GUI_EVENT_CLOSE
         Exit
      
      Case $Input1

      
      Case $Button1

      
      Case $Label2
   EndSwitch
WEnd

I understand Koda gets confused. But could you add in a check so the variable doesn't get added in the loop?

Link to comment
Share on other sites

I sometimes empty the name property of a control, usually from labels.

Because I don't need events and variables from those controls.

When I generate the code with the 'Generate events for all...' option, the result is this.

...

I understand Koda gets confused. But could you add in a check so the variable doesn't get added in the loop?

Agree. In events mode those labels can have the event, but variables in loop have no sense. Will fix it.
Link to comment
Share on other sites

Today's beta here:

http://www.autoitscript.com/fileman/users/lookfar/koda_2006.08.18.zip

Hi Lazycat.

Here is updated Czech language file - for version 1.5.1.15

***

Here are some problems/ideas with Koda:

1) Translation issues (lang_eng.xml):

- lblShooseHint --> lblChooseHint (bad spelling in property name)

- Tab Order editor is not translated (missing)

- frmMenuBuilder was not preserved in czech - when I used czech language file from version 1.15.1.11

and created new template from it (for version 1.5.1.15) it was back in english

2) history.txt consistency stucture

instead of: Beta 2006-08-18

should be: Beta 1.5.1.15 (2006-08-18)

3) create 2 forms

after delete second one by butoon in Form list (but also by closing it by pressing cross button on form)

now in Form list is only first form (it's OK) but it's not selected (should be selected)

now when no form is selected you can cause AV error by these steps:

- go to Object Inspector (is empty) and Tab styles

- press Reset --> AV error, see screenshot ...

also popupmenu in Form list has command "Close form" which does nothing in this situation

4) Bad refreshing of overlaped controls when moving:

Place on form button and groupbox. Now move button over groupbox (or partially over it).

And now move groupbox --> groupbox is not redrawn correctly.

This issue is related to all controls, not only groupbox.

5) when change tab order of controls their order maybe should be changed also in object treeview,

but this one I'm not sure

***

And what about release version? Last one was in February it's too long - almost like AutoIt :-)

I think now it's time for release because it can be bundled with new Scite4Autoit (with new release 3.2 of Autoit).

This release can be also without some features which are not ready yet:

- help file

- import from Au3

- more gui's

- ...

It's no problem that there will be missing some features because today's betas of Koda

are ready for use and noobies which are not so oriented in AutoIt forum and only instal

AutoIt and Scite4Autoit will have profit from this (because now there is very old release of Koda).

Edited by Zedna
Link to comment
Share on other sites

Another issues:

1) menu designer:

instead of:

GUISetState(@SW_SHOW)
$MenuItem1 = GUICtrlCreateMenu("MenuItem1")oÝ÷ ÚÈhºW[y«­¢+ØÀÌØí5¹Õ%Ñ´ÄôU%
Ñɱ
ÉÑ5¹Ô ÅÕ½Ðí5¹Õ%Ñ´ÄÅÕ½Ðì¤)U%MÑMÑÑ¡M]}M!=¤oÝ÷ ÚØ^±©Æ¥²è®)ºæö>º ­ë,ý¶§u)buêߢºk¢«·#è²+b¢x§9¸ÞrÒ'²¶ì¥u· zw«j×r^jëh×6$Progress1 = GUICtrlCreateProgress(...)
GUICtrlSetData(-1, $position)oÝ÷ ÚØ^±©Æ¥²è­)buêÛÜGbµ©©RèÂÛ¦VxGbµ©ÝRèÂv§v)íz·(w¶Ø^z0ué^µéÚêØ­rí®b§z¶­y×(uè¬jëh×6GUICtrlCreateInput("0", 120, 96, 136, 21)
$Updown1 = GUICtrlCreateUpdown($Input1)

It has error when you try to run it:

ERROR: $Input1: undeclared global variable.

I know that this is incorrect action, but you should avoid to achieve this...

4) Code window (F9)

Edit control should have scrollbars (mainly vertical for bigger scripts with lots of controls)

5) Picture editor

on button Load/Save is Open/Save dialog behind Picture editor (due to stay on top atribute)

6) Image and Icon control

should have implicit bigger size (like Graphic or Avi control) - when I place it on the form it's only small dot

and I have trouble to find it later (when it haven't set up picture yet)

- it's possible only with Object treeview

7) List index out of bounds (0) in Object treeview

- place some controls on the form

- in object treeview call Cut in popup menu on some control

- now try to right click in object treeview (at empty place) - error message appears

--> it's because after Cut command in object treeview is nothing selected

EDIT:

8) Idea: disabled controls also in desing time?

- change style of control immediatelly after change of property Enabled to False

Edited by Zedna
Link to comment
Share on other sites

In my last post I asked about the generation of variables with Koda.

You answered me to do with %var%, and I did.

And it is working really fine :P . Thank you very much :nuke: .

Yet I'd like to use it also for hints. For the moment, despite the %var% option, it is generating "%var%" instead of $var.

Would it be possible to implement this option for Hints too ? :">

Link to comment
Share on other sites

Some test results about controls/properties in Koda:

1) Property Enabled has no effect at Form

2) Property Icon at Form - when I select one icon there is still (None) in Object Inspector

although form has set this icon also in design time and also in generated code

and is also saved in KXF when I save form

3) Label has Property Color which is in fact Background color

4) Label has not Property Background Color (AutoIt support it)

And one note about Koda header in AU3 script:

### Koda GUI section start ### Form=C:\AForm1.kxf
...
### Koda GUI section end   ###oÝ÷ Øay"µÊ.ÖÞjÇ(g§µø«²×!j»hjú"vËkjx³)íkbbb§IÈ­y«­¢+Øì-½U$ÍÑ¥½¸ÍÑÉнɴõèÀäÈí½É´Ä¹­á(¸¸¸(ì-½U$ÍÑ¥½¸¹
Link to comment
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
 Share

  • Recently Browsing   0 members

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