FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour say and get on the screen
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
say and get on the screen
Posted: Sat Jun 09, 2007 03:33 PM

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"

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
say and get on the screen
Posted: Sat Jun 09, 2007 06:50 PM

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

Continue the discussion