PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 25 → Centralizando uma Internal Window
Centralizando uma Internal Window
Started by Boller, Mar., 20 2022 4:02 PM - No answer
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on March, 20 2022 - 4:02 PM
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/