When I use a GET with NO MODIFY clause it is quite hard to read as you can see in the picture:
Uploaded with ImageShack.us
This is the code:
- Code: Select all Expand view
- #Include "FiveWin.Ch"
Function Main()
Local oDlg
Local oGet1,oGet2,oGet3,oGet4
local cVar1 := "HARBOUR IS THE BEST", cvar2 := "testing gets"
local nVar2 := 0
local nVar3 := 0
local dVar4 := date()
DEFINE DIALOG oDlg from 0,0 to 400,400 pixel TITLE "GET WITH MO MODIFY"
@ 15,15 get oGet1 var cVar1 picture "@!" ;
size 150,12 of oDlg pixel NO MODIFY
@ 40,15 get oGet2 var cVar2 picture "99999" ;
size 150,12 of oDlg pixel NO MODIFY
@ 65,15 get oGet3 var nVar3 picture "99999.99" ;
size 50,12 of oDlg pixel right
@ 90,15 get oGet4 var dVar4 ;
size 50,12 of oDlg pixel
@ 7.2, 15 BUTTON "&Cancel" OF oDlg SIZE 46, 13 ACTION oDlg:End()
ACTIVATE DIALOG oDlg CENTERED
return nil
Could you please change colours to be read better?. Thank you.