Topic: STYLES

Hello MVD!

How to enable in the menu the STYLES?

main.mnistyles.visible := true;

Thanks!

Re: STYLES

There is no such thing in the standard features, but it can be done through scripts. Here it is written in detail how to do it.

http://k245.ru/?p=23

http://k245.ru/wp-content/uploads/2022/06/CyanDusk.png

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

Re: STYLES

hello K245
please upload an example..i tried to implement code but in vain...

Re: STYLES

Is there a way to get a sample with the following code? I try to insert it in my project but I failed.

Re: STYLES

k245 wrote:

There is no such thing in the standard features, but it can be done through scripts. Here it is written in detail how to do it.

http://k245.ru/?p=23

http://k245.ru/wp-content/uploads/2022/06/CyanDusk.png


The link to download the project is at the end of the article.

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

Re: STYLES

Sorry but I can not understand where the link is.... I feel very stupid right now

Re: STYLES

Hello v-Pozidis

The link is at the bottom of this K245's article

in blue :Ссылки

    Проект “Хамелеон” с файлами стилей

JB

Re: STYLES

Copy the written script...
At the end call init procedure in end of script like
Begin
          Init;
End.
It works....

9 (edited by v_pozidis 2022-08-05 04:47:33)

Re: STYLES

I am confused

When I copy the whole script and call the init procedure, it fails, showing an error in the line   tmpForm := frmMain.
I try to rename it with my form name, but the program doesn't change the to the styles themes

I attached my example  ....can not find  the error

When I press the link  Проект “Хамелеон” с файлами стилей
(I do not know the language) it drives me to google login account
Can just anyone send me a sample ??

Post's attachments

Attachment icon tets.zip 338.16 kb, 168 downloads since 2022-08-05 

Re: STYLES

v_pozidis wrote:

Sorry but I can not understand where the link is.... I feel very stupid right now

Here is a direct link to download the project. https://drive.google.com/file/d/13Xor_L … sp=sharing


In my blog, I publish tutorials that reveal the intricacies of using the MVDB development environment. But my books and ready-made solutions are placed in the paid section of the library. https://k245.ru/biblioteka

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

Re: STYLES

k245 wrote:
v_pozidis wrote:

Sorry but I can not understand where the link is.... I feel very stupid right now

Here is a direct link to download the project. https://drive.google.com/file/d/13Xor_L … sp=sharing


In my blog, I publish tutorials that reveal the intricacies of using the MVDB development environment. But my books and ready-made solutions are placed in the paid section of the library. https://k245.ru/biblioteka




Thank you ...but can not download  it...it shows me again the login of google.
can you attached it here?

12 (edited by v_pozidis 2022-08-05 06:13:11)

Re: STYLES

Dear k245 I still can not download your project....
https://drive.google.com/file/d/13Xor_L … sp=sharing
I can not find any project except a message that it is a paid page if I understand correct

Re: STYLES

Hi ...any help???

Re: STYLES

You need to add a Styles folder and fill it with style files. Added an example style amakrits.vsf

Post's attachments

Attachment icon tets.rar 355.11 kb, 359 downloads since 2022-08-05 

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

15 (edited by v_pozidis 2022-08-05 17:54:26)

Re: STYLES

Thank you!!!!!!!

Re: STYLES

Can i hide the menu Style and make it again visible?  like script Form1.mniFile.Visible := False;

Re: STYLES

If you used the script for adding menu items from the article, and the form on which the menu is located is called frmMain, then you can control the visibility of the "Styles" menu item as follows:


TMenuItem(fmMain.FindComponent('mniStyles')).Visible := False;
Визуальное программирование: блог и телеграм-канал.

Re: STYLES

Hello K245

Thank you for your work on the styles. It works without any problem and it adds a visual plus to applications developed with MVD.
May I translate the articles you publish on your blog in French?
Thanks
J.B.

Re: STYLES

jean.brezhonek wrote:

Hello K245

Thank you for your work on the styles. It works without any problem and it adds a visual plus to applications developed with MVD.
May I translate the articles you publish on your blog in French?
Thanks
J.B.

Of course, you can use all published materials without restrictions: translate and publish. I would be grateful if you provide a link to the original when publishing the translation. And, if you want, we can do it like in the good old days: you make translations, and I publish them on my blog, in a special subsection (My Visual Database - Français) or with tag "Français" . If you're interested, please write to me.

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

Re: STYLES

Отдельный раздел необязательно. Есть плагины для WP, которые позволяют писать мультиязычные посты "в одном месте". В дальнейшем плагин определяет браузер и выдает на языке пользователя (/ru/, /en/, /fr/, ...)

Re: STYLES

vovka3003 wrote:

Отдельный раздел необязательно. Есть плагины для WP, которые позволяют писать мультиязычные посты "в одном месте". В дальнейшем плагин определяет браузер и выдает на языке пользователя (/ru/, /en/, /fr/, ...)

https://avatars.dzeninfra.ru/get-zen_doc/2807006/pub_5eb3d805e5df9626aacd1785_5eb458249ad7a1537819cedd/scale_1200

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

22 (edited by k245 2022-10-13 09:11:53)

Re: STYLES

I installed the Polilang plugin, it’s convenient to translate articles, but there are a few inscriptions on the site itself that I still don’t know how to localize. I hope this does not interfere with readers, and I will try my best to translate all my articles.


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

https://k245.ru/en/

Post's attachments

Attachment icon English Version.png 1.01 mb, 49 downloads since 2022-10-13 

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