TBC Macros and Extensions

 View Only
Expand all | Collapse all

UI - UI Similar to the edit alignment controls

  • 1.  UI - UI Similar to the edit alignment controls

    Posted 03-05-2023 11:40

    Is it possible for us to create a UI similar to the edit linestring UI? 

    There are quite a few TMLS that would be better suited for a style similar to this.



    ------------------------------
    Patrick L'heureux
    ------------------------------


  • 2.  RE: UI - UI Similar to the edit alignment controls

    Posted 03-06-2023 13:38
      |   view attached

    Sure. Just use the cmdData property UIViewForm instead of UIForm in the Setup method. I have attached a simple macro that justs shows TBC help in a view.

    Biggest difference is command inherits from a Grid control instead of a StackPanel.



    ------------------------------
    Gary Lantaff
    ------------------------------

    Attachment(s)

    zip
    ViewTest.zip   830 B 1 version


  • 3.  RE: UI - UI Similar to the edit alignment controls

    Posted 03-06-2023 13:46

    Thanks!



    ------------------------------
    Patrick L'heureux
    ------------------------------



  • 4.  RE: UI - UI Similar to the edit alignment controls

    Posted 03-06-2023 16:16

    Hello Patrick,

    I had a quick look at it and if you haven't figured it out yourself yet, just change this lower case wpf to Wpf. Since that is what we usually use and you can copy and paste code from other XAMLS.

    Apart from that I haven't done much with it yet.



    ------------------------------
    Ronny Schneider
    ------------------------------