PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] Dashboard control - Restore Initial Configuration and Save As Image
[WD20] Dashboard control - Restore Initial Configuration and Save As Image
Iniciado por guest, 12,may. 2015 15:50 - 3 respuestas
Publicado el 12,mayo 2015 - 15:50
When right clicking an empty spot on a dashboard control, the AAF options include Restore Initial Configuration and Save As Image. How could I call these options from a menu button?

I can't find any functions or processes to call. The only thing I can think to do is always use DashSaveConfiguration on startup and then DashLoadConfiguration on the respective menu button press. For Save As Image...I could attempt to print screen at certain coordinates, but that would leave out all of the dash you have to scroll to which is saved when using the AAF option.
Publicado el 13,mayo 2015 - 23:12
I'm trying to use SendKey() to right click on the dashboard and then left click save as image.

My button code is:
SendKey("{RIGHTBTN}",DASH_Analytics) SendKey("{LEFTBTN,10,20}",DASH_Analytics)
But it doesn't seem to call the second line. If I comment the first line, the second line runs correctly.
Publicado el 14,mayo 2015 - 15:57
Hi Curtis

did you try executeAAF?

Best regards
Publicado el 14,mayo 2015 - 16:07
Don't know how I missed that. Thanks. Looks like they added aafSaveAs in version 20, but still nothing for restore initial configuration.