Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

GUI Designer: Koda 1.7.3.0


  • Please log in to reply
793 replies to this topic

#41 Lazycat

Lazycat

    Coding cat

  • MVPs
  • 1,174 posts

Posted 27 September 2006 - 06:57 AM

Small 'wish for' feature in Koda Lazycat.
Could you add an XPManifest to the Koda source? it would improve it for me.

Since Delphi programs can sometimes incorrect work with XP styles, this not included yet. But you can try to you own risk :) Just unpack manifest file from attached archive in the Koda folder.
If this will not cause any errors, manifest can be included in resourses in future.

Attached Files


Koda homepage (http://www.autoitscript.com/fileman/users/lookfar/formdesign.html) (Bug Tracker)My Autoit script page (http://www.autoitscript.com/fileman/users/Lazycat/)







#42 martin

martin

    ~~\o/~~~/0\=¬''~~~

  • MVPs
  • 7,313 posts

Posted 27 September 2006 - 01:15 PM

Since Delphi programs can sometimes incorrect work with XP styles, this not included yet. But you can try to you own risk :) Just unpack manifest file from attached archive in the Koda folder.
If this will not cause any errors, manifest can be included in resourses in future.


Thanks Lazycat, it works fine for me. Well, almost.
The labels do not show the correct font size and style if the fd.exe.manifest file is present, but they are ok if the manifest file does not exist. However the labels are OK in the exe produced from the code.
I use D7 and the labels are ok in the design if I have a delphi32.exe.mainfest.

Edited by martin, 27 September 2006 - 01:50 PM.

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.

#43 litlmike

litlmike

    Struggling Learner

  • Active Members
  • PipPipPipPipPipPip
  • 688 posts

Posted 27 September 2006 - 09:05 PM

Could not convert variant of type (Single) into type (Double)


I get this error whenever I try to save a form. Any suggestions?
Using Version 1.6.02

Edited by litlmike, 27 September 2006 - 09:07 PM.


#44 Lazycat

Lazycat

    Coding cat

  • MVPs
  • 1,174 posts

Posted 28 September 2006 - 05:57 AM

I get this error whenever I try to save a form. Any suggestions?
Using Version 1.6.02

This was a silly bug in one of betas. Deleting configuration file fd.xml should solve problem.
Koda homepage (http://www.autoitscript.com/fileman/users/lookfar/formdesign.html) (Bug Tracker)My Autoit script page (http://www.autoitscript.com/fileman/users/Lazycat/)

#45 martijn

martijn

    Seeker

  • Active Members
  • 27 posts

Posted 28 September 2006 - 09:07 AM

Dutch translation available Attached File  lang_dut.xml   21.08KB   973 downloads
Koda rules, thanks guys :)

#46 litlmike

litlmike

    Struggling Learner

  • Active Members
  • PipPipPipPipPipPip
  • 688 posts

Posted 28 September 2006 - 03:47 PM

This was a silly bug in one of betas. Deleting configuration file fd.xml should solve problem.

Works Now, thanks.

#47 litlmike

litlmike

    Struggling Learner

  • Active Members
  • PipPipPipPipPipPip
  • 688 posts

Posted 28 September 2006 - 11:35 PM

Can I use Koda to set (lack of better term) Hotkeys to buttons? For Instance, on the Template for Standard Dialogue, the Okay and Cancel buttons look like they have 'O' and 'C' assigned as a shortcut/hotkey.

#48 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,557 posts

Posted 29 September 2006 - 10:18 AM

Can I use Koda to set (lack of better term) Hotkeys to buttons? For Instance, on the Template for Standard Dialogue, the Okay and Cancel buttons look like they have 'O' and 'C' assigned as a shortcut/hotkey.


Try this:
instead OK place &OK
then you can invoke OK button by Alt+O

It's not real hotkey.

#49 litlmike

litlmike

    Struggling Learner

  • Active Members
  • PipPipPipPipPipPip
  • 688 posts

Posted 29 September 2006 - 04:30 PM

Try this:
instead OK place &OK
then you can invoke OK button by Alt+O

It's not real hotkey.

Thanks! Works beautifully.

Question:
What is a GroupBox?

I notice that I make a GroupBox after I have added in some Controls, the group box will ALWAYS show on top, and I can't see the controls in back. Conversely, if I add the GroupBox first, then add the controls it is fine. Either way it compiles fine, but it prevents me from using Koda. Thanks.

#50 martin

martin

    ~~\o/~~~/0\=¬''~~~

  • MVPs
  • 7,313 posts

Posted 30 September 2006 - 12:03 PM

Thanks! Works beautifully.

Question:
What is a GroupBox?

I notice that I make a GroupBox after I have added in some Controls, the group box will ALWAYS show on top, and I can't see the controls in back. Conversely, if I add the GroupBox first, then add the controls it is fine. Either way it compiles fine, but it prevents me from using Koda. Thanks.

Could you explain why this stops you using Koda? I'm not sure what your problem is here because at the moment it sounds like someone saying "If I nail my hand to the floor it hurts and it stops me nailing my hand to the floor, but the hammer works fine." (That could be a little over the top.)

Edited by martin, 30 September 2006 - 12:11 PM.

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.

#51 martijn

martijn

    Seeker

  • Active Members
  • 27 posts

Posted 01 October 2006 - 09:57 AM

Access violation with Koda FormDesigner 1.6.0.2 (unable to save form after modifications)

I originally posted here, but then was suggested to place it here.

I'm working with Koda FormDesigner 1.6.0.2 (not using SciTE mode) and after making some changes (copying multiple controls like a groupbox with textbox and a inputbox and changing their names) I am no longer able to save the form. I get the following message

Access violation at address 00403B00 in module 'FD.exe'. Read of address FFFFFFDC

Generating code is still possible, but I can't save the kxf-file. It's a simple form with a Tabbed Panel, two tabsheets, two groupboxes, three textboxes, labels and two buttons.

Any ideas :lmao:

Btw, I was able to save the form by creating a new form and copying all controls over, but unable to reproduce the error.

#52 Groumphy

Groumphy

    Adventurer

  • Active Members
  • PipPip
  • 128 posts

Posted 02 October 2006 - 04:43 PM

@ LazyCat > Here is the full translated file...

Attached Files


----------------------GroumphyMore information about me [Fr]

#53 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,557 posts

Posted 02 October 2006 - 09:29 PM

Hi Lazycat

What about adding support for StatusBar?
In latest AutoIt Beta 3.2.1.5 were corrected and completed related functions in standard include file GUIStatusBar.au3

This was disccussed earlier and you said that it can be added when it will be finished/corrected in AutoIt.
I think it's now ready for use :lmao:

#54 Lazycat

Lazycat

    Coding cat

  • MVPs
  • 1,174 posts

Posted 03 October 2006 - 05:46 AM

@martijn

Dutch translation available

Thank you! Will be added in next release.

Access violation with Koda FormDesigner 1.6.0.2 (unable to save form after modifications

It's not easy to track down, I need to know what actions lead to this AV...

@litlmike
Try to look to this feature from other side - this helps you keep all grouped controls together. To move controls group you enough to move only groupbox.
Btw, the same behaviour with Tabs, but you don't have something opposite it, isn't it? :lmao:

@Groumphy
Thanks!

@Zedna
The control support already here (except generating), but it hidden atm. I think this require some kind of include manager to get things to work, but I can open it in next beta anyway and you can add template with include.
I have thoughts about manager implementation, but if you have ideas - you welcome.
Koda homepage (http://www.autoitscript.com/fileman/users/lookfar/formdesign.html) (Bug Tracker)My Autoit script page (http://www.autoitscript.com/fileman/users/Lazycat/)

#55 litlmike

litlmike

    Struggling Learner

  • Active Members
  • PipPipPipPipPipPip
  • 688 posts

Posted 03 October 2006 - 06:06 PM

Suggestions for KODA:
1) Backwords compatible. Allow user to take code from Scite to Koda.
2) Package Image files as an optiont. As opposed to reading Image files from the current PC directory, allow users to include the Image file as an option during compiling. This way the script can be used on any PC.



Great job on Koda, as always. I use this all the time.

#56 Stumpii

Stumpii

    Mr. Stumpii

  • Active Members
  • PipPipPipPipPipPip
  • 473 posts

Posted 04 October 2006 - 05:22 PM

Excellent work. Koda gets better and better!

A couple of requests:
1. Can you add the $GUI_DROPACCEPTED property to controls?
2. Can you add ondropped (based on $GUI_EVENT_DROPPED) event to the Object Inspector for forms (same as the existing OnClose event)?
3. Can you add an onclick event for menu items?

Currently, I have added code in after the Koda part for all the above. Would be real nice to have the settings in Koda.

Thanks, Steve
“Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.”AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity.

#57 martin

martin

    ~~\o/~~~/0\=¬''~~~

  • MVPs
  • 7,313 posts

Posted 04 October 2006 - 05:30 PM

@LazyCat,
Any thoughts on the label font problem if fd.exe.maifest is present? (post #42)
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.

#58 Lazycat

Lazycat

    Coding cat

  • MVPs
  • 1,174 posts

Posted 04 October 2006 - 07:06 PM

1. Can you add the $GUI_DROPACCEPTED property to controls?
2. Can you add ondropped (based on $GUI_EVENT_DROPPED) event to the Object Inspector for forms (same as the existing OnClose event)?
3. Can you add an onclick event for menu items?

1. Maybe. Atm I think will add "Code" or like property as Zedna suggested - this is universal solution in meantime.
2. Yes, for form all available events will be added.
3. Ouch-ouch :lmao: This definitely should be added, but this is big problem. Worst of all, old forms with menus will be unworkable without conversion... You discovered the biggest flaw atm, I think :ph34r:

Any thoughts on the label font problem if fd.exe.maifest is present? (post #42)

No any. I will add internal resource in next beta, so you can test it. But adornments are not on the top of todo, sorry :geek:
Koda homepage (http://www.autoitscript.com/fileman/users/lookfar/formdesign.html) (Bug Tracker)My Autoit script page (http://www.autoitscript.com/fileman/users/Lazycat/)

#59 litlmike

litlmike

    Struggling Learner

  • Active Members
  • PipPipPipPipPipPip
  • 688 posts

Posted 06 October 2006 - 06:00 PM

When trying to save Koda Form:
AutoIt         
Access violation at address 00403AFA in Module 'FD.exe'. Read of address 0000005C.ƒo݊÷ Ù8^^#¬ºÈ§«­¢+؍¥¹±Õ‘”€™±ÐíU% ½¹Íх¹Ñ̹…Ô̙Ðì((I•¥½¸€ŒŒŒMQIP-½‘„U$Í•Ñ¥½¸€ŒŒŒ½É´õ 蘌ÀäÈí½Õµ•¹Ñ́…¹M•ÑÑ¥¹Ì˜ŒÀäÈím͕É•Ñt˜ŒÀäÈí5䁽Õµ•¹Ñ̘ŒÀäÈíA•Éͽ¹…°˜ŒÀäÈíÕѽ%ИŒÀäÈí-½‘„½ÉµÌ˜ŒÀäÈí9••‘ÍÍ͕͵•¹Ð¹­á˜(˜ŒÀÌØí½É´Ä€ôU% ɕ…Ñ” ™ÅÕ½Ðí½É´Ä™ÅÕ½Ð찀ÄÀÜఀØà䰀ÄäÌ°€ÄÄÔ¤(˜ŒÀÌØíɽÕÀĀôU% Ñɱ ɕ…Ñ•ɽÕÀ ™ÅÕ½ÐíɽÕÀęÅÕ½Ð찀ఀÐఀÄÀØÔ°€ØÌ̤(˜ŒÀÌØíɽÕÀȀôU% Ñɱ ɕ…Ñ•ɽÕÀ ™ÅÕ½ÐíɽÕÀșÅÕ½Ð찀Èа€ÜÈ°€ÈÀ䰀ÄØĤ(˜ŒÀÌØí1…‰•°Ä€ôU% Ñɱ ɕ…Ñ•1…‰•° ™ÅÕ½Ðí]¡…Ё5…­•Ìå½Ô¥™™•É•¹Ðü™ÅÕ½Ð찀ÐఀàఀÄÌа€Äܤ)U% Ñɱ ɕ…Ñ•‘¥Ð ™ÅÕ½Ðì™ÅÕ½Ð찀ÌÈ°€ÄÄÈ°€ÄàÔ°€àä¤)U% Ñɱ ɕ…Ñ•ɽÕÀ ™ÅÕ½Ðì™ÅÕ½Ð찀´ä䰀´ä䰀݀Ĥ(˜ŒÀÌØíɽÕÀ̀ôU% Ñɱ ɕ…Ñ•ɽÕÀ ™ÅÕ½ÐíɽÕÀ̙ÅÕ½Ð찀ÈÐఀÜÈ°€ÈØÔ°€ÄØĤ(˜ŒÀÌØí1…‰•°È€ôU% Ñɱ ɕ…Ñ•1…‰•° ™ÅÕ½Ðí]•‰Í¥Ñ”½Ṍ͕½¸}}}|°Ñ¡…ЁݡäՕÍÑ́½µ”ü™ÅÕ½Ð찀ÈÔØ°€àఀÈÐÔ°€Äܤ(˜ŒÀÌØí‘¥ÐĀôU% Ñɱ ɕ…Ñ•‘¥Ð ™ÅÕ½Ðì™ÅÕ½Ð찀ÈÔØ°€ÄÀа€ÄàÔ°€àä¤)U% ÑɱM•Ñ…Ñ„ ´Ä°€™ÅÕ½Ðí‘¥ÐęÅÕ½Ðì¤)U% Ñɱ ɕ…Ñ•ɽÕÀ ™ÅÕ½Ðì™ÅÕ½Ð찀´ä䰀´ä䰀݀Ĥ)U% Ñɱ ɕ…Ñ•ɽÕÀ ™ÅÕ½Ðì™ÅÕ½Ð찀´ä䰀´ä䰀݀Ĥ)U%M•ÑMхє¡M]}M!=¤(¹‘I•¥½¸€ŒŒŒ9-½‘„U$Í•Ñ¥½¸€ŒŒŒ()]¡¥±”€Ä($˜ŒÀÌØí¹5͜€ôU%•Ñ5͜ ¤(%Mݥэ €˜ŒÀÌØí¹5͜($% …Í”€˜ŒÀÌØíU%}Y9Q} 1=M($$%á¥Ð((%¹‘Mݥэ )]¹

Edited by litlmike, 06 October 2006 - 06:10 PM.


#60 Lazycat

Lazycat

    Coding cat

  • MVPs
  • 1,174 posts

Posted 12 October 2006 - 07:08 AM

When trying to save Koda Form:

Access violation at address 00403AFA in Module 'FD.exe'. Read of address 0000005C.


The code I was using:

I'm tried to recreate form from your code, but no problem found. It's need I'm be able to represent error in order to fix it...
Koda homepage (http://www.autoitscript.com/fileman/users/lookfar/formdesign.html) (Bug Tracker)My Autoit script page (http://www.autoitscript.com/fileman/users/Lazycat/)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users