• Status Waiting feedback
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category Application
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
  • Private
Attached to Project: Koda
Opened by David - 17.09.2009
Last edited by Admin - 28.09.2009

FS#77 - Making Code Templates more flexible

I would like to see additional variables available for the Code

  %FORMNAME% - the name of the form as assigned in the form's properties.

The ability to inject code into general event

  Func MyGUIClose()
    $MyVar="Some Value"
  EndFunc

The reason for this request is that most of the time, when I create a GUI, I create it within a function in an include file, with additional control structures. I typically spend 5-10 minutes each time I generate new code using KODA to fit it into my format. I would like to be able to use custom Code Templates to create them already in my format, so I can jump right into the application coding.

David commented on 18.09.2009 14:41

Here is a small example of what I generate.

Admin
Admin commented on 21.09.2009 10:33
I would like to see additional variables available for the Code Templates.

This should not be complicated to add GUI ID var.

The ability to inject code into general event functions.

Seems I not understand your necessity right. You can create your functions in template. Koda will generate empty events anyway, but you can delete them.

David commented on 12.10.2009 19:08

RE: The ability to inject code ...

Do you mean that I should create my functions in the template with my code, that Koda will create duplicate empty functions, and that I should then delete the duplicates?

Admin
Admin commented on 14.10.2009 06:38
Do you mean that I should create my functions in the template with my code, that Koda will create duplicate empty functions, and that I should then delete the duplicates?

I see this is as an only way so far.

Though it's probably possible to get rid empty function when function with this name already exists in template. I'll think.

Martin Gibson commented on 30.05.2011 16:47

My wish
you doubleclick a control there should be a way to automatically jump to the "onclick" handler in Scite, and if there isn't one then add it. I would love
have considered adding it myself by adding a button "Jump to Event Code" to the dialog which pops up when you set the event for a control but there is always something more interesting to do so.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing