Forum Replies Created

  • Giacomo Manzoli Manzoli

    Member
    November 6, 2023 at 7:19 am in reply to: Assign dynamic column width

    Have you tried with

    Do $cinst.$objs.DataGrid.$::columnwidths.$assign(con(lCols1,',',lCols2,',',lCols3))
  • Giacomo Manzoli Manzoli

    Member
    June 8, 2022 at 11:10 am in reply to: O$ 8.1.6 MacOS high Sierra – OBrowser cache

    There is also an option on the config.json under the obrowser section:

    "clearCacheWhenLoaded": true

    which should reset the cache when the OBrowser is loaded for the first time.
    From the docs:

    True if the CEF cache is cleared when OBrowser is first loaded. The cache is in a sub-folder of the Omnis data folder:

    chromiumembedded\cache

  • Hi Andreas,

    well that could be an option but when the field is disabled, and therefore the Entry Field is visible, in order to display a formatted number (with fixed decimal and with Euro symbol) i have to display a character variable formatted with jst(…) instead of the plain number. This, other than the manually formatting downside has another issue: also the format is copied (i.e. the euro symbol) when maybe only the numeric value is useful.

    Another solution that came to my mind is to add an handler for the evDoubleClick of the Masked Entry Field which copies the data to the clipboard:

    On evDoubleClick
    Copy to clipboard $cfield().$contents

    but it’s not really intuitive from an user perspective.