checkbox bug

checkbox bug

Postby Silvio » Wed Mar 11, 2009 12:39 am

I made this test but I think there is a bug if I create a dialog NO resource
I cannot click the checkbox

Code: Select all  Expand view



Function Main()
   Local oDlg
   Local nTOTX:=0
   Local nTOTY:=0
   Local lsave  :=.f.
   local oChk1 ,lChk1:=.f.

    local oChk2 ,lChk2:=.f.

    local oChk3 ,lChk3:=.f.

    local oChk4 ,lChk4:=.f.

    local oChk5 ,lChk5:=.f.

    local oChk6 ,lChk6:=.f.


   DEFINE DIALOG oDlg From 10, 4 to 28,70 TiTle "Configurazione della spiaggia"
    @ 1,2 say " Quantità delle file :"
    @ 2,2 say " Max quantità degli ombrelloni su ogni fila ( devi calcolare uno per ogni passerella) :"
    @ 1,10 GET nTOTY PICTURE "999"
    @ 2,28 GET nTOTX PICTURE "999"

    @ 3,2 say "Scegli gli elementi che vuoi impostare sulla spiaggia   :"
    @ 3.5,2 say "(non attiva in questa versione test)  "

    @ 5, 2 BITMAP Filename "SEDIA.bmp"  OF oDlg   NOBORDER TRANSPARENT
    @ 5, 7 BITMAP Filename "SDRAIO.bmp"  OF oDlg   NOBORDER TRANSPARENT
    @ 5, 12 BITMAP Filename "LETTINO.bmp"  OF oDlg   NOBORDER TRANSPARENT
    @ 5, 17 BITMAP Filename "BYCICLE.bmp"  OF oDlg   NOBORDER TRANSPARENT
    @ 5, 22 BITMAP Filename "OMBRELLONE_ROSSO.bmp"  OF oDlg   NOBORDER TRANSPARENT
    @ 5, 27 BITMAP Filename "HAWAIANO.bmp"  OF oDlg   NOBORDER TRANSPARENT

   @ 6.9, 3 CHECKBOX oChk1 VAR lChk1   PROMPT " " SIZE 100, 20 OF oDlg
   @ 6.9, 9 CHECKBOX oChk2 VAR lChk2   PROMPT " " SIZE 100, 20 OF oDlg
   @ 6.9, 15 CHECKBOX oChk3 VAR lChk3  PROMPT " " SIZE 100, 20 OF oDlg
   @ 6.9, 21 CHECKBOX oChk4 VAR lChk4  PROMPT " " SIZE 100, 20 OF oDlg
   @ 6.9, 27 CHECKBOX oChk5 VAR lChk5  PROMPT " " SIZE 100, 20 OF oDlg
   @ 6.9, 32 CHECKBOX oChk6 VAR lChk6  PROMPT " " SIZE 100, 20 OF oDlg


   @ 6, 2 BUTTON "&Conferma" OF oDlg ACTION (lsave:=.t., oDlg:End() )
   @ 6, 12 BUTTON "&Annulla" OF oDlg  ACTION (lsave:=.F., oDlg:End() )
   ACTIVATE DIALOG oDlg CENTERED
return nil

 
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: checkbox bug

Postby Daniel Garcia-Gil » Wed Mar 11, 2009 1:19 am

hello silvio

your checkbox are so big and cross over other chkbox ... try with size 30,20
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests