PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 25 → Centralizando uma Internal Window
Centralizando uma Internal Window
Débuté par Boller, 20 mar. 2022 16:02 - Aucune réponse
Membre enregistré
3 655 messages
Popularité : +175 (223 votes)
Posté le 20 mars 2022 - 16:02
Procedure Iwcentro( )

TotalHoriz is Int = mywindow..width

TotalHorInternalwindow is Int = IW_Janela..width

CentroTela is Int = TotalHoriz /2

CentroIW is Int = TotalHorInternalwindow /2

IW_janela..X = CentroTela - CentroIW


--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/