Skip to content

Official 1.1.1 version

Choose a tag to compare

@carloBarazzetta carloBarazzetta released this 27 Oct 13:16

ver. 1.1.1

The library did not change in this release: source is the one of 1.1.0, and so are the
246 tests. What changed is the FireMonkey sample application, which is now the whole
application and not only its main form.

  • The lead, proposal and proposal draft windows ported to FireMonkey, over the same bind
    sources as the VCL ones, so the FireMonkey demo registers the same three actions -
    open_screen, create_lead and draft_proposal. Four things FireMonkey does differently
    there, each worth knowing before porting something of your own: a TCardPanel is a
    TTabControl with TabPosition = None; a TRelativePanel that rearranges itself is
    Align plus a scroll box, and the five resize handlers simply disappear; MessageDlg
    answers in a callback, so what follows the question lives there; and the DOM of the old
    TWebBrowser is replaced by LoadFromStrings
  • F1 works in those windows too. Help properties live on TStyledControl and a
    FireMonkey form has none, so each unit carries its keyword as a constant and
    OnGetContext reads it from the active form - which is what HandleKeyDown of the
    component is there for
  • The side menu of the FireMonkey demo behaves like the VCL one: open until the user
    presses its button, then narrowed to its icons - and they are the icons of the VCL menu,
    read from the same image collection. None of the three modes of TMultiView does this on
    its own (Panel is permanent and hides the button it is given, Drawer and NavigationPane
    slide over the content and close again at the first click outside), so the pane is a
    docked Panel inside a layout whose width the button changes
  • The proposal document moved to CRM Demo\common\uProposalReport.pas, plain RTL with
    no VCL and no FireMonkey in it, so the two demos build byte for byte the same invoice from
    the same code - and the VCL one is ninety lines lighter. On the way there the line titles
    gained a TNetEncoding.HTML.Encode they did not have: that text can come from the model