Re: Training courses for developers. Articles about application developmen

A repository for everything
https://k245.ru/wp-content/uploads/2023/10/sklad.jpg
Data Keeper - experimental project of object-oriented data storage in relational DBMS
https://k245.ru/en/mvdb-en/a-repository … thing.html

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

Parents and children
https://k245.ru/wp-content/uploads/2023/10/rodovoe-derevo.jpg
Inheritance of class properties; displaying child objects along with their parents; adding the "Date" type.
https://k245.ru/en/mvdb-en/parents-and-children.html

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

A significant set
https://k245.ru/wp-content/uploads/2023/10/tsvety.jpg
Data Keeper. Editing multiple values for an object property: components and data structures.
https://k245.ru/en/mvdb-en/a-significant-set.html

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

Switch
https://k245.ru/wp-content/uploads/2023/10/Pereklyuchatel.jpg
Data Keeper. Visual component for displaying logical data with your own hands.
https://k245.ru/en/mvdb-en/switch.html

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

Important Details
https://k245.ru/wp-content/uploads/2023/10/detali.jpg
A typical task of data representation is to create Master-Detail relationships, that is, when one object is a detail of another.
https://k245.ru/en/mvdb-en/important-details.html

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

TColorEdit
https://k245.ru/wp-content/uploads/2023/10/kraski.jpg
My Visual Database. DIY color editing component TColorEdit. Display color value in grid.
https://k245.ru/en/mvm-en/tcoloredit-2.html

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

This project looks promising if it is an evolution of MyVisual Database, would you implement the form auto-resizing depending on user screen resolution? It really is a bummer to have a fixed resolution in modern apps.

Re: Training courses for developers. Articles about application developmen

tcoton wrote:

This project looks promising if it is an evolution of MyVisual Database, would you implement the form auto-resizing depending on user screen resolution? It really is a bummer to have a fixed resolution in modern apps.

I agree with you: the form needs to be scalable. But I wouldn't rely on the default scaling system and the form's scaled property. I have some experience with scaling forms in My Visual Database, and the scale can be scaled up or down. This is a good reason for the next app update, thank you for your feedback!

Визуальное программирование: блог и библиотека.

84 (edited by k245 2023-11-02 12:59:15)

Re: Training courses for developers. Articles about application developmen

tcoton wrote:

This project looks promising if it is an evolution of MyVisual Database, would you implement the form auto-resizing depending on user screen resolution? It really is a bummer to have a fixed resolution in modern apps.

https://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=10038&download=0
I figured out the scaling. Except for the question of how to enlarge loaded images onto buttons.

Post's attachments

Attachment icon изображение_2023-11-02_155443178.png 121.04 kb, 17 downloads since 2023-11-02 

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

Привет Konstantin,
Если вы используете «символы Юникода» на своих кнопках, обеспечивает ли это обход проблемы масштабирования (если не совсем решение)?
.
Hi Konstantin
If you use 'unicode symbols' on your buttons, does that provide a work-around to the scaling problem (if not exactly a solution)?

Post's attachments

Attachment icon scaling.zip 442.92 kb, 56 downloads since 2023-11-02 

Re: Training courses for developers. Articles about application developmen

derek wrote:

Привет Konstantin,
Если вы используете «символы Юникода» на своих кнопках, обеспечивает ли это обход проблемы масштабирования (если не совсем решение)?
.
Hi Konstantin
If you use 'unicode symbols' on your buttons, does that provide a work-around to the scaling problem (if not exactly a solution)?

Using Unicode characters would solve two problems at once: scaling and color changes when changing the style. Perhaps I’ll cry a little over the technology of PNG images and switch to Unicode. Thank you for a good solution smile

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

Image revolution
https://k245.ru/wp-content/uploads/2023/11/unicode-character-pl_sql_large.jpg
Using Unicode characters as button images. Improvement of the Images.pas module.
https://k245.ru/en/mvdb-en/image-revolution.html

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

Light filtered
https://k245.ru/wp-content/uploads/2023/11/svetloe-filtrovannoe.jpeg
It’s cool November outside, so this article will not be about a refreshing drink in the summer heat, but about the filtering mechanism in the Data Keeper project, as a result of which we should receive filtered data. Of course, they will only be light if you use a light theme for the application.
https://k245.ru/en/mvdb-en/light-filtered.html

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

Nice evolution of the filtering system!!

How about an evolution of the grid display without having to script everything like this:

 // Columns alignment
  Administration.UserlistGrid.BestFitColumns(bfBoth);
  Administration.CCGrid.BestFitColumns(bfBoth);
  Administration.RMList.BestFitColumns(bfBoth);
  Administration.IMGList.BestFitColumns(bfBoth);
  Administration.TypList.BestFitColumns(bfBoth);
  Administration.DptListGrid.BestFitColumns(bfBoth);
  //Columns distribution
  Administration.UserlistGrid.Columns[0].width := Administration.UserlistGrid.width div 6;
  Administration.UserlistGrid.Columns[1].width := Administration.UserlistGrid.width div 6;
  Administration.UserlistGrid.Columns[2].width := Administration.UserlistGrid.width div 6;
  Administration.UserlistGrid.Columns[3].width := Administration.UserlistGrid.width div 6;
  Administration.UserlistGrid.Columns[4].width := Administration.UserlistGrid.width div 6;
  Administration.UserlistGrid.Columns[5].width := Administration.UserlistGrid.width div 6;
  Administration.CCGrid.Columns[0].width := Administration.CCGrid.width div 4;
  Administration.CCGrid.Columns[1].width := Administration.CCGrid.width div 4;
  Administration.CCGrid.Columns[2].width := Administration.CCGrid.width div 4;
  Administration.CCGrid.Columns[3].width := Administration.CCGrid.width div 4;
  Administration.RMList.Columns[0].width := Administration.RMList.width;
  Administration.IMGList.Columns[0].width := Administration.IMGList.width div 2;
  Administration.IMGList.Columns[1].width := Administration.IMGList.width div 2;
  Administration.TypList.Columns[0].width := Administration.TypList.width div 2;
  Administration.TypList.Columns[1].width := Administration.TypList.width div 2;
  Administration.DptListGrid.Columns[0].width := Administration.DptListGrid.width;

Most of the time, when more than 1 table grid are used on the same form, the columns are shown like there is no more intelligence in the system, with a fixed 1 character wide by default if you are lucky.

Re: Training courses for developers. Articles about application developmen

I observed problems with column width in two cases: during the first launch and when the program crashed.
As for intelligent alignment of column widths, you can’t do without scripts. I agree that in some cases the proposed alignment options look good, but firstly, they provide an additional delay when displaying data, and secondly, they are not always convenient, so this, perhaps, can be done as an option in the grid settings through the pop-up menu. Thanks for the tip, I'll probably add such an option in the next version of Data Keeper.

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

Yes, really. And I have faced it. We can communicate on this theme.

92 (edited by k245 2023-12-22 06:35:59)

Re: Training courses for developers. Articles about application developmen

k245 wrote:

I observed problems with column width in two cases: during the first launch and when the program crashed.
As for intelligent alignment of column widths, you can’t do without scripts. I agree that in some cases the proposed alignment options look good, but firstly, they provide an additional delay when displaying data, and secondly, they are not always convenient, so this, perhaps, can be done as an option in the grid settings through the pop-up menu. Thanks for the tip, I'll probably add such an option in the next version of Data Keeper.

Setting Column Width
https://k245.ru/wp-content/uploads/2023/12/Rovnye-gryadki.jpg
Custom control of column width alignment in grid.


https://k245.ru/en/mvdb-en/setting-column-width.html


https://k245.ru/wp-content/uploads/2023/12/image.png

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

Ressources et Internationalisation
https://k245.ru/wp-content/uploads/2023/04/Flagi.png
Un mécanisme de localisation pratique qui ne nécessite pas de réécriture du code d'application créé dans My Visual Database.
https://k245.ru/fr/mvdb-fr/ressources-e … ation.html


Traduction : Yann Yvnec

Визуальное программирование: блог и библиотека.

Re: Training courses for developers. Articles about application developmen

TColorEdit
https://k245.ru/wp-content/uploads/2023/10/kraski.jpg
My Visual Database. Composant d'édition de couleurs DIY TColorEdit.
https://k245.ru/fr/mvm-fr/tcoloredit-3.html


Traduction : Yann Yvnec

Визуальное программирование: блог и библиотека.