say and get on the screen

Post Reply
User avatar
kajot
Posts: 309
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

say and get on the screen

Post 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"
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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"
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply