Language-Interface-Temperature-Controller

From *** My Personal Wiki ***
Jump to navigation Jump to search

Language Interface Issue List

Language Compiler

  • compilation of object properties for .bas module has error on the form level - FormName.FormName.frm ... need to test for this and prevent the redundant placement
    • does not have header / footer strings added > use key text so that the other stuff in the file such as declaration can be left untouched.
  • used the disk file form name for top objects > should be name shown in browser > Traj_form and NOT Trajectory.frm > yielded error in the .bas object property file ( wrong names! )
  • will not handle control array objects correctly. Control array objects use the same object name callout > only adds a parameter INDEX in the list of properties
  • need an exceptions list > Why? > User named things should NOT be translated > Example: OvenName.Caption is parsed but in reality is user set! > had to comment out the Object initializer line:
    • '---Traj_form.OvenName.Caption = Translate("Thermal Device Name") > Use list of objects in a ListBox/CheckList ? It will be long but will remember settings of everything.


Program bugs

  • Edit language > does not automatically bring up the selected language for edit - Should do so!


Installation

  • Icons do not show up on
    • desktop
    • program menu
  • problem with language interface not working > stays stuck in english when switched to polski
    • when edit translation form is accessed the datagrid does not load with contents of databases
  • database interface appears not to work when installed on Marks spare machine. It has Access with a newer version of database.

Resolved Issues

  • Object properties appear to need to be reloaded when a form is reloaded
    • RESOLVED: errors in object initializer caused this effect.
  • Selected language is ENGLISH yet is still displaying in POLISH
    • RESOLVED: needed global LANGUAGE variable for persistence of variable.
  • Temperature Controller device modal popup does not allow the CAPTION property to be set for label1 > dlgGetName.Label1.Caption
    • RESOLVED:== label1 had been created as part of a control array and thus would only accept the .item(index).caption form. Deleted and recreated it and it worked per normal. Control arrays will need different parsing with this multi language methodology.
  • Trajectory form - language form > change from polish to english : headers for flexgrid do not change to english > after restart program > headers are polish
    • RESOLVED: header initializations were in form_load > put them in form_activate > form_activate event occurs every time you bring a form back up from background.