1 (edited by pavlenko.vladimir.v 2023-11-10 18:56:30)

Topic: New BookLibrary Новая версия

Переработал связи в БД, реализовал возможность выбора стилей, теперь можно добавить свой языковой файл
Так же изменился способ добавления книг.
Внимание, при использовании БД старой версии не забудьте создать ее копию

https://fileworld.pavlenkovv.ru/img/Light.jpg
https://fileworld.pavlenkovv.ru/img/Light2.jpg
https://fileworld.pavlenkovv.ru/img/Light3.jpg
 
скачать тут  https://fileworld.pavlenkovv.ru/BookLib … y.v5.2.zip

Re: New BookLibrary Новая версия

Oi Pavlenko, congratulations on the new version, but what is appearing to me (attached floor) is different... File sqlite3.dll is not in the zip.

Post's attachments

Attachment icon book.jpg 62.29 kb, 16 downloads since 2023-11-10 

Roberto Alencar

3 (edited by pavlenko.vladimir.v 2023-11-10 18:56:13)

Re: New BookLibrary Новая версия

jrga wrote:

Oi Pavlenko, congratulations on the new version, but what is appearing to me (attached floor) is different... File sqlite3.dll is not in the zip.

спасибо, исправил!
thanks, fixed it!
скачать тут  https://fileworld.pavlenkovv.ru/BookLib … y.v5.2.zip

Re: New BookLibrary Новая версия

Suggestions:
1 - exchange the TXT control of special brands for RTF, with the user being able to maximize this form or not. RTF, in addition to the various formatting resources, has a native search engine;
2 - if possible, save special marks using MVD's SAVE, which allows you to include quotation marks in the inserted text. The INSERT and UPDATE commands generate an error when there are words in quotation marks in the text that will be saved;
3 - change the Sumatra configuration to save the last reading position, which you already explained how to do in the forum.


If you can't answer, that's okay: how did you incorporate SCRIPT.DCU into the executable?

I have been using BookLib since the previous version as my default reader. Congratulations on the project.

Roberto Alencar

Re: New BookLibrary Новая версия

jrga wrote:

If you can't answer, that's okay: how did you incorporate SCRIPT.DCU into the executable?

Let me make a guess: the system needs either script.dcu (compiled script.pas) or script.pas. Script.pas is available in this project.

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

6 (edited by jrga 2023-11-11 12:31:22)

Re: New BookLibrary Новая версия

k245 wrote:
jrga wrote:

If you can't answer, that's okay: how did you incorporate SCRIPT.DCU into the executable?

Let me make a guess: the system needs either script.dcu (compiled script.pas) or script.pas. Script.pas is available in this project.

I think I expressed myself badly and the translator does not help sometimes. I asked about script.dcu because, according to what I saw in the forum, it is not an inviolable file. Thus, if the script.pas is erased when the application is delivered to the end user, hide the script.dcu or incorporate it to the executable is the dream of every developer, I think .... in any case, I said I would understand If the answer to my question was confidential.

PS: Booklib comes with the executable and does not have script.dcu, only script.pas.

Roberto Alencar

Re: New BookLibrary Новая версия

jrga wrote:

Suggestions:
1 - exchange the TXT control of special brands for RTF, with the user being able to maximize this form or not. RTF, in addition to the various formatting resources, has a native search engine;
2 - if possible, save special marks using MVD's SAVE, which allows you to include quotation marks in the inserted text. The INSERT and UPDATE commands generate an error when there are words in quotation marks in the text that will be saved;
3 - change the Sumatra configuration to save the last reading position, which you already explained how to do in the forum.


If you can't answer, that's okay: how did you incorporate SCRIPT.DCU into the executable?

I have been using BookLib since the previous version as my default reader. Congratulations on the project.

Thank you, I heard you.
The .pas file is the .dcu file
mvd itself compiles this file when you run the project preview.

8 (edited by sparrow 2023-11-11 13:49:37)

Re: New BookLibrary Новая версия

About files:

DCU is created as a result of compilation.
If there are two files DCU and PAS in the script directory, your program (NOT DESIGNER) uses PAS by default.
Experiment with PAS directly wink


Regarding hiding files
For example enigmaprotector or similar.

Re: New BookLibrary Новая версия

Thank you all for the clarifications! I am sorry for my ignorance! As an EXE file is created, I thought the MVD application depended only on script.dcu to run and that PAS was only used in creation / editing.

Roberto Alencar

10 (edited by jrga 2023-11-11 20:28:37)

Re: New BookLibrary Новая версия

I tested an MVD application with Enigma and it worked perfectly! The script.dcu file has become invisible! Attached is the Enigma screen with the file structure I used.

Post's attachments

Attachment icon tela com Enigma portabilizando Query MVD.jpg 95.26 kb, 16 downloads since 2023-11-11 

Roberto Alencar

Re: New BookLibrary Новая версия

Sorry, but we have gone beyond the scope of discussion in this thread.
As for working in the program, I recommend checking the entry in the database again if you also included it in the virtual box.

12 (edited by pavlenko.vladimir.v 2023-11-12 10:44:45)

Re: New BookLibrary Новая версия

jrga wrote:

Suggestions:
1 - exchange the TXT control of special brands for RTF, with the user being able to maximize this form or not. RTF, in addition to the various formatting resources, has a native search engine;
2 - if possible, save special marks using MVD's SAVE, which allows you to include quotation marks in the inserted text. The INSERT and UPDATE commands generate an error when there are words in quotation marks in the text that will be saved;
3 - change the Sumatra configuration to save the last reading position, which you already explained how to do in the forum.

RichEdit does not work with styles, there is an error.
If you create the ability to remember a page, then Sumatra creates a lot of unnecessary information, which leads to too much data.
Unfortunately, not all dreams come true (.

Fixed a bug with double quotes
Added the ability to expand the special recording window to full screen
Fixed language file errors
Eliminated TableGrid artifacts that occur when changing the window size.
 
   
RichEdit не работает со стилями, имеется ошибка.
Если создать возможность запоминать страницу, то Sumatra создает много лишней информации, что приводит к слишком большому объему данных.
К сожалению не все жилания сбываются (.
 
Исправил ошибку с двойными ковычками
Добавил возможность развернуть окно специальной записи на весь экран
Исправил ошибки языкового файла
Устранил артефакты TableGrid возникающие при изминении размера окна.
   
скачать тут  https://fileworld.pavlenkovv.ru/BookLib … y.v5.2.zip

13 (edited by sparrow 2023-11-12 11:36:24)

Re: New BookLibrary Новая версия

RichEdit не работает со стилями, имеется ошибка.

А что вы хотите сделать со стилем ?
И в чем ошибка ?

14 (edited by pavlenko.vladimir.v 2023-11-12 12:18:13)

Re: New BookLibrary Новая версия

sparrow wrote:

А что вы хотите сделать со стилем ?
И в чем ошибка ?

Если приложение использует стили, то использование RichEdit  приводит к ошибке

https://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=10075&download=0

Post's attachments

Attachment icon 2023-11-12_17-16-55.png 5.95 kb, 16 downloads since 2023-11-12 

Re: New BookLibrary Новая версия

Вы хотите программно применить стиль к тексту?
А можно чуть подробнее с кусочком кода который приводит к этому

16 (edited by pavlenko.vladimir.v 2023-11-12 12:47:46)

Re: New BookLibrary Новая версия

sparrow wrote:

Вы хотите программно применить стиль к тексту?
А можно чуть подробнее с кусочком кода который приводит к этому

нет ни какого кода, просто назначьте стиль вашему приложению. Разместите на форме RichEdit и запустите эту форму
https://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=10076&download=0

Post's attachments

Attachment icon ScreenRecorderProject5.gif 1.48 mb, 16 downloads since 2023-11-12 

Re: New BookLibrary Новая версия

pavlenko.vladimir.v wrote:
jrga wrote:

Suggestions:
1 - exchange the TXT control of special brands for RTF, with the user being able to maximize this form or not. RTF, in addition to the various formatting resources, has a native search engine;
2 - if possible, save special marks using MVD's SAVE, which allows you to include quotation marks in the inserted text. The INSERT and UPDATE commands generate an error when there are words in quotation marks in the text that will be saved;
3 - change the Sumatra configuration to save the last reading position, which you already explained how to do in the forum.

RichEdit does not work with styles, there is an error.
If you create the ability to remember a page, then Sumatra creates a lot of unnecessary information, which leads to too much data.
Unfortunately, not all dreams come true (.

Fixed a bug with double quotes
Added the ability to expand the special recording window to full screen
Fixed language file errors
Eliminated TableGrid artifacts that occur when changing the window size.
 
   
RichEdit не работает со стилями, имеется ошибка.
Если создать возможность запоминать страницу, то Sumatra создает много лишней информации, что приводит к слишком большому объему данных.
К сожалению не все жилания сбываются (.
 
Исправил ошибку с двойными ковычками
Добавил возможность развернуть окно специальной записи на весь экран
Исправил ошибки языкового файла
Устранил артефакты TableGrid возникающие при изминении размера окна.
   
скачать тут  https://fileworld.pavlenkovv.ru/BookLib … y.v5.2.zip

Hi Pavlenko, thanks for getting back to us!

Roberto Alencar

Re: New BookLibrary Новая версия

Понятно.
Я о стиле текста подумал.

Re: New BookLibrary Новая версия

pavlenko.vladimir.v wrote:
sparrow wrote:

А что вы хотите сделать со стилем ?
И в чем ошибка ?

Если приложение использует стили, то использование RichEdit  приводит к ошибке

https://k245.ru/wp-content/uploads/2023/06/izobrazhenie_2023-06-02_111056371.png

У меня работает со стилями без проблем. см. проект ComponentExplorer
https://k245.ru/software-ru/is-ru/rukov … chika.html

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

20 (edited by pavlenko.vladimir.v 2023-11-13 08:06:26)

Re: New BookLibrary Новая версия

k245 wrote:

У меня работает со стилями без проблем. см. проект ComponentExplorer

https://fileworld.pavlenkovv.ru/img/ScreenRecorderProject1.gif
Я даже винду переустановил..
Может это и есть, то что называется, утечкий памяти?

21 (edited by k245 2023-11-13 09:55:59)

Re: New BookLibrary Новая версия

pavlenko.vladimir.v wrote:
k245 wrote:

У меня работает со стилями без проблем. см. проект ComponentExplorer

https://fileworld.pavlenkovv.ru/img/ScreenRecorderProject1.gif
Я даже винду переустановил..
Может это и есть, то что называется, утечкий памяти?

Может, в этом дело?
https://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=10080&download=0

Post's attachments

Attachment icon изображение_2023-11-13_125439308.png 139.38 kb, 17 downloads since 2023-11-13 

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

Re: New BookLibrary Новая версия

k245 wrote:

Может, в этом дело?
https://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=10080&download=0

Версия не влияет, так же себя ведет Ваша сборка
https://fileworld.pavlenkovv.ru/img/ScreenRecorderProject2.gif

Re: New BookLibrary Новая версия

Такое поведение со стилем наблюдается на AMD
А вот на Intel

Post's attachments

Attachment icon riched.jpg 29.5 kb, 16 downloads since 2023-11-13 

Re: New BookLibrary Новая версия

sparrow wrote:

Такое поведение со стилем наблюдается на AMD
А вот на Intel

Спасибо!

25 (edited by pavlenko.vladimir.v 2023-11-14 10:33:10)

Re: New BookLibrary Новая версия

Исправил еще несколько ошибок
добавил файл справки
Ну вроди как все.

скачать тут  https://fileworld.pavlenkovv.ru/BookLib … y.v5.2.zip