PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Responsive Web Design (Version 22)
Responsive Web Design (Version 22)
Iniciado por guest, 25,ago. 2017 11:45 - 4 respuestas
Publicado el 25,agosto 2017 - 11:45
Hi,

Does anyone know how to find out what blade ( Desktop / tablet/ mob phone ) you are on ( at runtime ).


Thanks

Allard
Publicado el 25,agosto 2017 - 12:04
Hi Allard,

Search for BrowserBlade in the help :spos:
Publicado el 26,agosto 2017 - 12:02
Hi Darren,

Thanks. I was searching on Blade could not find anything.


regards
Allard
Publicado el 26,agosto 2017 - 13:23
Hello Allard,

That is because like everything PC soft does does not work 100% maybe 85.

If you search the desktop help system nothing will come up. I have found this issue now with a lot of function in the desktop help (Just another broken feature that will never get fixed) but if you search the online it will come up.

BrowserBlade (Function)
In French: NavigateurTranche
Returns the number of the blade displayed in a page in Responsive Web Design mode.
Example
// If the displayed blade is the "Tablet" blade
IF BrowserBlade() = 2 THEN
...

Good luck

Dennis W.


END
Publicado el 27,agosto 2017 - 21:10
Hi Dennis

Thanks. for the info. Wel I find that typing in the code edityor and the n hitting F1 works quite good as well

:xcool:

regards

Allard