I need to customize TStringGrid for my application. What is the recommended way to do it?
The only thing I have seen is to put the TMyStringGrid to a package, install it to IDE and than use it in my application. The problem is that I am working on that component at the same time as on the application and I do not want to reinstall the component every time I do any change in it just to test it.
When I tried to put it to my project it said: "Sharing code between packages and application source is not good idea."
While testing, don't use it designtime, but instantiate it runtime.
Related
I'm using electron-builder (20.44.4) for installer/updater functionality in my electron application.
There is a problem with it that it does not allow to customize the folder where updates are saved - it has just an method which does not support any customizations.
In order to resolve the issue i tried to fork the library, make a small fix inside and reuse it as a fork. For that i added this line to my package.json:
"electron-builder": "https://github.com/MY_ORGANIZATION/electron-builder/tarball/COMMIT_HASH",
Unfortunatelly, i was not able to build the app using the forked version - it gives me an error ("electron-builder is not recognized").
I also tried to make some kind of "monkey patching" (i really need quick & dirty solution for this), but i can not find a way to do such trick in node - is it even possible?
Can you use install4j with nodejs? I have a server I need to have an installer for, can install4j work with this?
If not do any of you know something that can/
Other installers seem that would take a lot of time to solve my issue, since I also need information from the user (like paths.)
You can install anything with install4j. However, the installer requires a JRE to run so you have to bundle one with it, even though you don't need it for your installed application. Also, a lot of install4j's functionality is geared towards supporting Java launchers, so that will not be useful for you.
I'm making app with using Xamarin.forms. (PCL Project)
Today, I added new three solution packages named SVG.Forms.Plugin.Abstractions, SVG.Forms.Plugin.iOS, SVG.Forms.Plugin.Android on workspace that downloaded from github.
I have used realm for Xamarin.
But After I added new packages, "Realms.RealmException has been thrown".
Message is "Fody not properly installed. allbX.Baby is a RealmObject but has not been woven."
Is it Fody's problem or Realm's or new packages'(SGV Control)?
And could you let me know how to solve it?
Better Answer
The check which is delivering that message is because Fody is not running.
So, they may have a RealmObject in their component but Fody doesn't get run building in your solution so weaving doesn't occur.
The easiest fix is to just use NuGet to add Fody to your main application project. That should install it in the right place for the solution.
Background
NuGet manages dependencies so if a package relies on Realm, it will go on in turn and install Realm. Realm itself relies on Fody, for example, so will in turn trigger a Fody installation.
You can manually install Realm but it is a little fiddly, having to add a couple of lines to your csproj to specify imports. We have chosen to only document installation via NuGet at this stage.
If you want to manually add Realm to another solution without using NuGet, I suggest you take a new clean solution, save a copy, and diff with the changes made to that solution by adding Realm via NuGet. You will then see the lines to copy into your existing solution.
All, I am trying to using third party NodeJS SDK in Titanium Studio. However, I consistently encounter dependency issues, such as util.js, utils.js, ms.js, events.js etc. I tried to add the missing module manually, but it looks like it will become un-tractable as there are so many dependencies.
My questions are :
1. Is that possible to use NodeJS based SDK in Titanium Studio .
2. If so, what is the right approach to include the dependencies.
Thanks a lot!
Titanium can't get Coffee scripts to work natively (assuming you want to deploy the TitaniumWrapper.coffee). A possible solution you may want to try is hooking a plugin http://billdawson.com/titanium_coffee_script/ in order to pre-compile Coffee scripts.
You can also try to embed everything using a Tiwebview that wraps HTML to load mojio-js.js but you would still need to observe events mojio client (like replacing keys, login an user and create a few model instances).
Hope you find the info useful and can serve for further research.
In this tutorial, it says:
Dynamic linking is a little bit more tricky, but it is much more
powerful as it allows you to load skins without relinking the
application. You can even update your application without needing to
restart it.
So I decided to put it to the test, and while the app was running, I replaced libmy_skin.so file with another skin.
The skin in the running app did not change.
Is the statement above incorrect, or did I do something wrong?
You need to turn this option on:
http://cppcms.com/wikipp/en/page/cppcms_1x_config#views.auto_reload