Alertbox - Forum

Forum Navigation
You need to log in to create posts and topics.

Alertbox

How do you change the colors of a "themed" Alertbox? How do you create a line break in the Alertbox's message? Where are the theme settings located?

Thanks.

 

Hi @fkapnist, please take a look here:
https://www.youtube.com/watch?v=X93MoFYuNHw

You can use the Tools > neoThemeManager utility to change your current theme.

Themes are located under:
My Documents\VisualNeoWeb\Libraries\themes

The soon to be released next version default theme will be quite easier to customize.

Best regards.

Vadim, CDY@44 and 2 other users have reacted to this post.
VadimCDY@44fkapnistroccocogliano

@fkapnist I have added a new command AlertBoxEx to open centered custumized Alert Boxes (size is customizable too).
Dialogs will appear centered too :)
This command will be available on next VisualNEO Web version.
By the way, you can add a line break using <br> within your message text.

AlertBoxEx Sample App:
https://visualneo.com/tutorials/alertboxex

Let me know if you like it.

Regards.

Vadim, CDY@44 and 4 other users have reacted to this post.
VadimCDY@44fkapnistjavadrajabihakamismartmediaroccocogliano

Very cool !!
I do like it !

luishp and fkapnist have reacted to this post.
luishpfkapnist

I like it also !

luishp and fkapnist have reacted to this post.
luishpfkapnist

@luishp

It looks very neat! Thank you so much!!!

fkapnist has reacted to this post.
fkapnist

@luishp

A very welcome addition ... questions ...

a) AlertBoxEx to open centered custumized Alert Boxes (size is customizable too).
Dialogs will appear centered too :)

I am assuming that this implies that the Dialog Box will be horizontally and vertically centered.

Or did you also imply that the text will be centered within the custom sized dialog box ? ... in the sample, the text was left justified.

b) By the way, you can add a line break using <br> within your message text.

Are there any other rich text tags supported ? ... like <center>, <b>, <i>, <u>, font names, sizes and colours ? ... just asking.

fkapnist has reacted to this post.
fkapnist
Quote from luishp on December 13, 2021, 3:18 pm

Hi @fkapnist, please take a look here:
https://www.youtube.com/watch?v=X93MoFYuNHw

You can use the Tools > neoThemeManager utility to change your current theme.

Themes are located under:
My Documents\VisualNeoWeb\Libraries\themes

The soon to be released next version default theme will be quite easier to customize.

Best regards.

I tried to modify an existing theme and create a new one, but the program does not recognize it.

Quote from luishp on December 13, 2021, 6:10 pm

@fkapnist I have added a new command AlertBoxEx to open centered custumized Alert Boxes (size is customizable too).
Dialogs will appear centered too :)
This command will be available on next VisualNEO Web version.
By the way, you can add a line break using <br> within your message text.

AlertBoxEx Sample App:
https://visualneo.com/tutorials/alertboxex

Let me know if you like it.

Regards.

Changing the theme affects all elements of my app. I only want to modify the alertbox...

I am assuming that this implies that the Dialog Box will be horizontally and vertically centered.

@gaev, yes. That's it.

Are there any other rich text tags supported ? ... like <center>, <b>, <i>, <u>, font names, sizes and colours ? ... just asking.

Yes, all of them. You can use any HTML tag (although I'm going to disable the <script> one for security reasons).

Changing the theme affects all elements of my app. I only want to modify the alertbox...

@fkapnist what do you want to do exactly?
Have you seen the SweetAlert plugin?

Regards.

Quote from luishp on December 14, 2021, 9:14 am

I am assuming that this implies that the Dialog Box will be horizontally and vertically centered.

@gaev, yes. That's it.

Are there any other rich text tags supported ? ... like <center>, <b>, <i>, <u>, font names, sizes and colours ? ... just asking.

Yes, all of them. You can use any HTML tag (although I'm going to disable the <script> one for security reasons).

Changing the theme affects all elements of my app. I only want to modify the alertbox...

@fkapnist what do you want to do exactly?
Have you seen the SweetAlert plugin?

Regards.

 

RE: what do you want to do exactly?

 

I want to use the alerts from NEO Web in a NEO Win publication - because they look much better.  If embedded in a CustomWindow they can be centered or popup anywhere on the page. (I think the pending release of Windows 11 will rekindle a market interest in Windows apps... Adding "Made for Windows 11" to your advertising may increase product sales...)

Another good thing about NEO Web alerts is that they can display any language

Uploaded files:
  • You need to login to have access to uploads.
Vadim has reacted to this post.
Vadim