Tag: firemonkey

New addition to the TMS Academic program

As announced a few months ago, we want to make our contribution to the Delphi community and most importantly to the aspiring future Delphi developer and hereby encouraging next generations of enthusiast Delphi developers.

In February we announced TMS VCL UI Pack as our first product in the TMS Academic Program.

With the Delphi Community Edition students already have an extremely powerful tool in their hands and we want to enrich this with offering our most popular products also free to students with the TMS Academic Program.

Today, we launch our second academic license in the TMS Academic Program and this is the TMS FNC UI Pack.

FNC is our power bundle that offers you a set of powerful & feature-rich UI controls that you can use in Delphi’s VCL framework, TMS WEB Core framework and cross-platform FMX framework. It includes a wide range of UI controls to create Win32, Win64, macOS, iOS, Android and web applications with a single codebase and a single learning curve.

This academic license can be used with the brand new Delphi 10.4, just like the TMS VCL UI Pack Academic! Note though that the professional version of TMS FNC UI pack is still needed if you want to use it with the Lazarus IDE.

Supported frameworks:

  • VCL
  • WEB
  • FMX

Supported operating systems/browsers:

Suppoprted IDE’s:

Visit the landing page and discover more about our TMS Academic Program.

Getting started :

  1. Register for a free TMS FNC UI Pack Academic license with a school or university email address
  2. Receive your credentials to login on our website via your student email address
  3. Login and download your free TMS FNC UI Pack Academic installer
  4. Install the product for the Delphi Community Edition
  5. Enjoy being part of the TMS family with full access to our website, TMS support center, product updates for 1 year and develop great Delphi VCL applications

Get started with TMS software today and secure your place for the future in the Delphi world!

Did you Know… FNC logo redesign

We noticed that after all these years, it still remains a mystery for some, what FNC stands for! Therefore we decided to redesign the logo!
Recently we have adopted the following design.

With this new logo we feel confident that this will represent FNC in a better way!

Read More

Read More

Is there a way to select/highlight a Date Range/series using Delphi 10.3 FMX TCalendar (Or a similar component)?

I am looking for a way to highlight a range of dates between a given start date and end date using a TCalendar in a Delphi 10.3 FMX application. It is for visual purposes as the client selects a start and end date in seperate TDateEdit components. I have looked it up, but I can't seem to find anything that explains what I want to achieve. Does the TCalendar perhaps have a method that achieves this, or is there a possible work-around? I hope that my question was clear. Thank you in advance!
Read More

How to Repaint FMX Android components in Form in C++Builder 10.4?

I wrote a very simple FMX Adroid App, the function is: Show Form 2 then write something to record(include title and detail text), close Form 2 to Main Form, then make a checkbox in Main Form with the title we just recorded in Form 2. if user check the checkbox, then press "del" buttn then delete the record file and checkbox. the problem is: when closed Form 2 and in MainForm::OnActivate we can add a new checkbox for the record. if we checked checkbox then clicked delete, free the pointer of checked checkbox, the checkbox still in main form until I reopen the APP. I tried: Invalidate(); Application->ProcessMessages(); BeginUpdate(); EndUpdate(); Still can't work does anyone know what's going on ? why FMX TForm member has no "Repaint()" or "Update()" "Refresh()" ? just like VCL has.
Read More

App hangs by calling same Form 5 times. First 4 times work very nice, fifth time app hangs

I just started developing a mobile app which has two forms, FRM_Main (Main Form) and FRM_Party (Party Form). We can open FRM_Party from FRM_Main by clicking on an Image. Code on Image is: procedure TFRM_Main.IMAGE_PartyClick(Sender: TObject); begin FRM_Party := TFRM_Party.Create(Application); FRM_Party.Show; end; Now, when FRM_Party calls the OnActivate event, I am loading some data in a TMSFMXTableView. That code is: procedure TFRM_Party.FormActivate(Sender: TObject); var TableView : TTMSFMXTableViewItem; I : Integer; begin if Class_My_Pro_and_func.Func_DataBaseConnection then // Checks wethere database connection is active or not if not then it connect with database and returns bool value. Begin UniQuery.Close; UniQuery.SQL.Clear; UniQuery.SQL.Text := 'select * from db_stock.tbl_party where Reg_ID = :Reg_ID and Party_Delete <> :Party_Delete order by Party_Name '; UniQuery.ParamByName('Reg_ID').AsInteger := d_Glob_Reg_ID; UniQuery.ParamByName('Party_Delete').AsString := 'F'; UniQuery.Open; TABLEVIEW_Party.BeginUpdate; if UniQuery.RecordCount > 0 then begin for I := 1 to UniQuery.RecordCount do begin TableView := TABLEVIEW_Party.Items.Add; TableView.Caption := UniQuery.Fields[1].AsString; TableView.Description := UniQuery.Fields[2].AsString + ' = ' + UniQuery.Fields[3].AsString; TABLEVIEW_Party.EndUpdate; UniQuery.Next; end; end else ShowMessage('No recored Found.'); End end; On FRM_Party is a Back button which takes the user to FRM_Main. This button code is: procedure TFRM_Party.BTN_Party_BackClick(Sender: TObject); begin try UniQuery.Connection.Close; // Closing Query connection DB_Connection.Disconnect; // Disconnecting database FreeAndNil(FRM_Party); Close; except on E: Exception do ShowMessage(E.Message); end; end; Apart from the above code, nothing else is written on FRM_Party. Now, the thing is that when I am running the application on mobile and opening/closing FRM_Party again and again, the first 4 times FRM_Party works very nice, but on the fifth time FRM_Party opens properly, but when closed the app hangs. I tried so many times by closing and opening the app. Every time the result is the same. Can anyone help me?
Read More

How can Android BLE read more than 20 bytes in Delphi FMX 10.3 API is(API 29)

in Delphi FMX 10.3 now i can scan BLE deveice and can connect it ,also can receive data ,but when senddata more than 20 bytes ,the app cannot receive data. i know Modify the MTU >20 ,it will work ok in Android studio it Easy to implement, but in Delphi fmx can not find any supports Android studio sample private void setMtu(int setMtu) { BluetoothManager bluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); BluetoothAdapter bluetoothAdapter = bluetoothManager.getAdapter(); bluetoothAdapter.startLeScan(new BluetoothAdapter.LeScanCallback() { @Override public void onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord) { device.connectGatt(DemoActivity.this, true, new BluetoothGattCallback() { @Override public void onServicesDiscovered(BluetoothGatt gatt, int status) { super.onServicesDiscovered(gatt, status); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { if (setMtu > 23 && setMtu < 512) { gatt.requestMtu(setMtu); } } } @Override public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) { super.onMtuChanged(gatt, mtu, status); mMtu = mtu; if (BluetoothGatt.GATT_SUCCESS == status && setMtu == mtu) { LogUtils.d("MTU change success = " + mtu); } else { LogUtils.d("MTU change fail!"); } } }); } }); } but in Delphi How to implement?
Read More

iOS AppStoreの1024×1024アイコン問題の回避策

6月中旬、AppleはApp Store Connect経由でのストア提出の要件の施行を開始しました。この要件は新しいものではありませんが、現在のルールでは、開発者が提出するアプリのパッケージリストの中にPNG形式の1024x1024のApp Store用アイコンを追加することを要求しています。(read more)
Read More

What is FNC?

What is FNC?

Since day 1, FNC stands for Framework Neutral Components. This means that the components can be used cross-framework and cross-platform. Below is an overview which frameworks and platforms (operating systems/browsers) are supported.

TMS FNC Components can be simultaneously used on these frameworks:

  • VCL
  • WEB
  • FMX
  • LCL

TMS FNC Components can be simultaneously used on these operating systems/browsers:

TMS FNC Controls can be simultaneously used on these IDE’s:

FNC logo (re-)design

To bundle this into a single logo that is consistent throughout our product range and website design we thought about the color gray to match the Neutral keyword in what FNC stands for. After a couple of brainstorm sessions we came up with the logo that would represent FNC in documentation, blog posts, demos, product pages, newsletters and many more.

Up until now, we always thought that the FNC logo would reflect what FNC was, and even with intensive campaigns around FNC and the FNC logo, trying to get customers to get to know FNC, there was always a slumbering thought that the logo didn’t feel right and didn’t represent what it should stand for. After all these years, it still remains a mystery for some and therefore we decided to redesign the logo and starting from today, we’ll adopt the following design.

With this new logo we feel confident that this will represent FNC in a better way as it was with the old logo. In the coming days/weeks, the new design will be distributed throughout our FNC products as well as used in various social media items, documentations and installers.

Read More

Read More

Workaround for iOS AppStore 1024×1024 Icon Issue

In the middle of June, Apple started enforcing a requirement for store submissions via App Store Connect. While the requirement is not new, in the past Apple allowed developers to add the 1024x1024 icons via the store listing, rather than as part of the app submission. Now they are requesting the icon to be part of the package, although it seems that some app updates are exempted from the rule. We plan to add direct support for the deployment in a future 10.4 update release. In the meantime, we have published a very detailed set of steps to work around the issue using RAD Studio 10.4. The steps are on the Embarcadero Quality Portal (QP) web site for the issue RSP-29692, in the comment linked here: https://quality.embarcadero.com/browse/RSP-29692?focusedCommentId=85036 While the detailed steps are fairly long, in essence what you have to do is to use an asset catalog to provide all of the icons used by your app. This is needed in addition to the Storyboard Launch Screen support provided in RAD Studio 10.4 Sydney. Here is a summary of the detailed steps: Create an asset catalog with the actual icon and image files used by the app. You can do this by starting with the asset catalog provided in the workaround, and replacing the placeholder images in the file available in the QP entry with your own images. Compile the asset catalog on your macOS computer. Transfer the files generated as part of the asset catalog compilation from the macOS host to the application project root folder. Update the Info.plist file in the project to contain the correct property keys for the App Store Connect submission. The use of the DTPlatformVersion property key has been observed as key for the App Store Connect submission. Update the project deployment list to include the proper PNG files and replace the Info.plist and Assets.car files generated by default. As a reference, Apple requirements for the different graphical elements are explained at https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/app-icon. With the detailed steps in the QP entry, you should be able to make a successful App Store Connect submission for your RAD Studio 10.4 apps.
Read More