• Status Postponed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Application
  • Assigned To No-one
  • Operating System Windows 2000
  • Severity Low
  • Priority Very Low
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Koda
Opened by Chris Haslam - 31.12.2010
Last edited by Admin - 17.01.2011

FS#150 - Expand %var% variable

  • I ran Koda. It brought up a form I had created earlier. Expand %var% variable was unchecked
  • I created a label
  • I entered %name% is a cat in Label | Caption
  • I checked Expand %var% variable
  • I clicked on Generate Code. ⇒ $name+”is a cat”
  • I unchecked Expand %var% variable
  • I clicked on Generate Code. ⇒ $name+”is a cat” again

This seems illogical.

What is the scope of Expand %var% variable? Is it specific to the form/.kxf file, or is it application level? Is it working as intended?

Admin
Admin commented on 01.01.2011 15:29

I just tried to reproduce those steps, and I can't.

This form option (as well as other form options) is saved with current form. In the "Generating options" dialog you change current form options.

But you can have it "on" by default, if you check it in the options, on the "Code generator" page.

Chris Haslam commented on 02.01.2011 00:07

I had assumed that these options were global.

Perhaps it would be clearer if this tab showed "Default options" and "Options for form". Or the Apply button could have the caption "Apply to current form" and have a label on this tab naming the current form.

Admin
Admin commented on 02.01.2011 12:50

In fact, every related group in settings says it's default ("Default generator options" and "Default formatting options") and generating options dialog caption says "Current form generating options". This is not enough noticeable?

Chris Haslam commented on 03.01.2011 04:19

I just found "Current form generating options" in Tools|Generating Options. To me, options are not Tools, but I do see that it is a good idea to have them next to Generate Code in the menu structure. Perhaps the Options menu item should contain Default and Generating.

Admin
Admin commented on 03.01.2011 15:04
To me, options are not Tools, but I do see that it is a good idea to have them next to Generate Code in the menu structure.

Agree with this, probably better was to call first level menu "Generate" or "Code" instead "Tools", but now it's a bit too late.

Chris Haslam commented on 03.01.2011 21:33

Is late ever too late?

You could have the Generate Options appear in two places: under Tools and under Options.

Admin
Admin commented on 17.01.2011 15:00
You could have the Generate Options appear in two places: under Tools and under Options.

Sorry, but this way is even worse then other. Function should not duplicate in different menus.

I'll postpone this so far, until solution without reshaping interface come to mind :-)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing