Ads

Ads

Translate

Friday 30 November 2012

Autosize form delphi dengan ResizeKit2

By Fajar  |  November 30, 2012 5 comments

Just place the ResizeKit on your form!
ResizeKit adalah komponen yang membuat ukuran form aplikasi dan layar resolusi independen dalam satu langkah mudah. Cukup melampirkan ResizeKit ke form Anda dan secara otomatis mengubah ukuran kontrol setiap atau semua font dan tanpa menulis satu baris kode. Dengan menetapkan sifat sederhana atau dengan mengaitkan ke acara ExitResize, Anda dengan mudah dapat menyesuaikan proses Resize untuk bekerja dengan hampir semua jenis aplikasi. ResizeKit bahkan dapat mengubah ukuran kontrol pihak ketiga yang paling. Gunakan ResizeKit dari hari pertama pada program baru dan tentu saja pada program yang didirikan tanpa mengubah desain program atau kode. Lisensi ResizeKit adalah bebas royalti untuk pengembangan aplikasi dan bebas royalti untuk aplikasi runtime.

Bahkan beberapa kontrol pihak ketiga yang tidak menentukan Kiri, Top, Tinggi, Lebar atau parameter atau kontrol di mana sifat ini terisolasi dari perubahan ukuran dapat diubah ukurannya dengan ResizeKit tersebut. Sel-sel dalam aplikasi Grid atau Penyebaran adalah beberapa contoh dari hal ini. Dalam kasus ini, kontrol ini atau font dapat dengan mudah diubah ukurannya dengan menentukan dimensi kontrol atau font dalam acara ExitResize. Sebuah program contoh sederhana yang menggambarkan kode ini disertakan dengan ResizeKit tersebut.

Note: There are third party controls are can not be resized using the ResizeKit2. Please download and test the ResizeKit2 trial version which is fully functional. If you have any questions, please let us know.
ResizeKit Main Features
  • Automatically resizes all controls and fonts on the form.
  • Simply place the Resize Control on the form. No need to redesign or add additional code.
  • Create applications that are size and screen resolution independent.
  • Maximum and minimum form height and width can be specified.
  • Initial location of the form can be specified.
  • Controls and fonts can also be excluded from resizing.
  • Runtime royalty-free license. Distribute unlimited applications.
  • The ResizeKit ActiveX component is based on ATL so it is fast and lightweight.
  • The ResizeKit VCL component has unified .EXE so applications can be distributed in one simple unit.
  • Resizes most third party controls without the need for additional code.
  • Contains easy to use properties and its ExitResize event allows you to customize the resize process.
  • Useful sample programs are included.

  This is the ResizeKit ActiveX Component or Native VCL Component
Just add the ResizeKit Component to your form at design


Example: Reducing the size of the form or changing resolution during execution (ResizeKit2VB)
If you reduce the size of your form without using the ResizeKit, the controls and fonts on your form are hidden beyond the form's right side and bottom borders.







By simply placing the ResizeKit on your form the size of the controls and fonts automatically changes with changes in the size of the form. All controls and fonts appear in the same proportion as the original form



In some cases, controls or fonts cannot be automatically resized. Third party controls that do not specify Left, Top, Height, or Width parameters or controls in which these properties are insulated such as the cells in Grid or Spread applications are some examples. In the above example, the DBGrid itself is resized but the individual cells within the DBGrid are insulated from the ResizeKit. In such cases, these controls or fonts can be easily resized by specifying the dimensions of the control or font in the ExitResize Event. The ResizeKit includes sample programs to illustrate how to do this





DOWNLOAD

Link1

mirror

Link2

Author: Fajar

Hello, I am Author, decode to know more: In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet.

5 comments:

Best Post This Year

Install Fortesreport community Delphi 7 dan RX Berlin

Download  Pertama2 kita harus punya file installernya terlebih dahulu, download  https://github.com/fortesinformatica/fortesrepo...

Total Pageviews

© 2014 Fajar Priyadi. WP themonic converted by Bloggertheme9. Published By Gooyaabi Templates | Powered By Blogger
TOP