PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → [WB18] custom dialogs
[WB18] custom dialogs
Débuté par Piet van Zanten, 08 avr. 2014 14:49 - 2 réponses
Posté le 08 avril 2014 - 14:49
Hi,

Can someone shed a light upon the use of custom dialogs?
I never bothered much because the standard browser dialog is kinda ok, but I just don't get why the custom pages don't get used.

If I check the project description "Apply the skin to the dialog boxes (YesNo and OKCancel)" three pages are copied into the project:
WebdevMessageBoxSkin, WebdevOkCancelSkin and WebdevYesNoSkin.
In server code WebdevMessageBoxSkin is used as expected, I can tweak the page all I want, no problem.
However, in browser code there's always the standard browser dialog, WebdevOkCancelSkin and WebdevYesNoSkin are never used.
Looking at the code of these pages, they obviously are meant to be used in browser code.

Why don't they ever show up, am I missing something?

Regards,
Piet
Posté le 08 avril 2014 - 14:58
Hi,

Ah, I see, I never use OKCancel or YesNo in browser code, so I don't need these pages.:D
I was expecting the "Info" dialog to be customized too, I use that frequently in browser code.
Is there a way to customize the "Info" dialog in browser code?

Regards,
Piet
Posté le 24 juin 2017 - 15:29
Piet,
I have the same question.. for the moment,as I never use the okcancel I changed this code to look like an info message.. but PCsoft should provide us with the solution.
Marc