ERROR ON CHECKBOX

ERROR ON CHECKBOX

Postby Silvio » Wed Dec 01, 2010 8:10 pm

I NEED TO RECOMPILE MINE APPLICATION AND THERE IS A STRANGE JOKE ....


Code: Select all  Expand view


# INCLUDE "fivewin.ch"

FUNCTION Main()

   LOCAL oDlg
   Local oCheck1,oCheck2

     DEFINE DIALOG oDlg size 400,400 TITLE "A Dialog Box"
     
      @  1,  1 TO 5, 30 LABEL "&This is a LABEL for anything:" OF oDlg
     
      @  2,  2 CHECKBOX oCheck1 PROMPT "This is the first CHECKBOX" OF oDlg
      @  3,  2 CHECKBOX oCheck2 PROMPT "This is  a second CHECKBOX" OF oDlg
     
      @  5,  4 BUTTON "&Confirm" OF oDlg SIZE 40, 12 ACTION oDlg:End()

      ACTIVATE DIALOG oDlg
   
RETURN ni

l
Best Regards, Saludos

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

Re: ERROR ON CHECKBOX

Postby frose » Thu Dec 02, 2010 7:37 am

Silvio,

yes, there is a problem, if you search the forum you'll find many topics, e.g.:
viewtopic.php?f=3&t=20066
viewtopic.php?f=3&t=20409
viewtopic.php?f=3&t=19966

I'm convinced that the FW experts are working hard upon a solution. Till then, we have to downgrade to 10.07 or 06.
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: ERROR ON CHECKBOX

Postby Richard Chidiak » Thu Dec 02, 2010 8:25 am

Frank

10.6 is the version to download to

10.7 had already the problem

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: ERROR ON CHECKBOX

Postby ukoenig » Thu Dec 02, 2010 9:53 pm

Some more testresults.
Because I'm working with resources, I didn't noticed them before ( from code ) :

using multiline Text for checkboxes with different Fonts and Colors from Resources :
REDEFINE CHECKBOX oCheck1 VAR lCheck1 ID 110 OF oDlg1
REDEFINE CHECKBOX oCheck2 VAR lCheck2 ID 120 OF oDlg1
REDEFINE SAY oSay1 VAR cSay1 ID 210 OF oDlg1 FONT oFont1 COLOR 128 // Red
REDEFINE SAY oSay2 VAR cSay2 ID 220 OF oDlg1 FONT oFont2 // Black
REDEFINE SAY oSay3 VAR cSay3 ID 230 OF oDlg1 FONT oFont2 // Black


From code it is not possible.
1. a checkbox without prompt shows allways the Text < Checkbox >
2. with a undefined font, You can click far outside, to set the checkbox to .T. or .F.

@ 2, 2 CHECKBOX oCheck3 PROMPT "This is a first CHECKBOX" OF oDlg2
// no prompt shows : < Checkbox >, using PROMPT "" shows nothing.
@ 3, 2 CHECKBOX oCheck4 OF oDlg2 // PROMPT "This is a second CHECKBOX" OF oDlg2

Image

Result, to show the 2. checkbox with a empty prompt from code :

Image

Best Regards
Uwe :roll:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: ERROR ON CHECKBOX (solved)

Postby frose » Mon May 09, 2011 12:56 pm

the modified control.prg from Richard (viewtopic.php?f=3&t=21481) is working perfectly for me :D
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: ERROR ON CHECKBOX

Postby frose » Wed Jun 01, 2011 11:22 am

still the same in FWH 11.05 :(
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: ERROR ON CHECKBOX (solved)

Postby frose » Thu Jun 09, 2011 10:52 am

solved in FWH 11.05 6th June :P
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 111 guests