Page 1 of 1

say and get on the screen

Posted: Sat Jun 09, 2007 3:33 pm
by kajot
while say and get aren't in the same line on the screen ?

@ 1, 1 SAY "&DzieƄ:" OF oDlg
@ 1, 6 GET tDZIEN OF oDlg
@ 2, 1 SAY "&Godziny:" OF oDlg
@ 2, 6 GET tGODZINY OF oDlg SIZE 40, 10 PICTURE "999.99"

Posted: Sat Jun 09, 2007 6:50 pm
by Antonio Linares
Because FWH calculates virtual coordinates on the screen based on the height of each different type of control. Please try it this way:

@ 1, 1 SAY "&Dzien:" OF oDlg
@ 1.2, 6 GET tDZIEN OF oDlg
@ 2, 1 SAY "&Godziny:" OF oDlg
@ 2.4, 6 GET tGODZINY OF oDlg SIZE 40, 10 PICTURE "999.99"