Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/11/2018 in all areas

  1. Did some preliminary research. Here is an example of 2-way comms between a C# Winforms program and an embedded HTML-script-capable browser window: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.webbrowser.objectforscripting?view=netframework-4.7.2 I ran this code in VS2017 and it works just fine. Video attached. 2-way comms_20181210160234.mp4
    2 points
  2. I believe it doesn't matter what setbounds you put there. If the control is on the display level, TW3Application automatically resizes it. I tried that also earlier in a web page I was making and came to the conclusion that having a static header there is not necessary the best way to handle a static header. For me the best solution was to have the header in Form1 and the rest of the page as a headerless tabcontrol. As you can add other forms as tab contents, it was easy to make a page where different pages were forms and Form1 contained all the code that dynamically changed the header.
    1 point
  3. warleyalex

    SMS and MORMOT

    You can invoke a webservice created with MORMot to perform the authentication and call some services, thanks to suberb work by Arnauld Bouchez http://blog.synopse.info/post/2014/08/11/CrossPlatform-Clients/SmartMobileStudio, interface-based service can be accessed via a SmartPascal for instance, this classes are 100% smart pascal code compatible, just to prove the power the smart pascal. You can use even the SMS Basic version, but you don't have support from the desginer, you basically have to create the views and binding using the controllers (smart units), the point is you don't need to pay
    1 point
×
×
  • Create New...