FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH26.08 LoadBitmap error
Posts: 44508
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH26.08 LoadBitmap error

Posted: Sat Aug 22, 2026 01:57 AM

Estimado Joao,

the relevant code at line 3552. The current code is:

SetWindowText( ::hWnd, Replicate( If( IsAppThemed(), Chr( 149 ), "*" ),;
Len( Trim( ::oGet:buffer ) ) ) )

Simply modify that line :idea:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 8716
Joined: Tue Dec 20, 2005 07:36 PM

Re: FWH26.08 LoadBitmap error

Posted: Sat Aug 22, 2026 02:04 PM

Estimado maestro, cuando digo que no funciona, es porque ya lo he probado.

-> Error E2209 TGET.prg 4992: Unable TO open include file 'fwh.h'

Si elimino la llamada a 'fwh.h', la compilación se completa, pero el asterisco (*) no cambia y sigue apareciendo como un círculo sólido en la máscara de la contraseña. Podría ser algo de Windows 11.

METHOD DispText() CLASS TGet

   if ::lPassword .AND. ::oGet:Type == "C"
      if ::IsWideChar
         IF Empty( ::GetText() )
            // firt time in get from resource
            // del:WenSheng: SetWindowText( ::hWnd, Trim( Eval( ::bSetGet ) ) )
            ::SetText( ::GetText() ) // add:WenSheng:2021.09.22:�����^�R���A�R����̫�@�X��ơA�|���s��ܸ����e�ױK�X�r��
         ELSE
            // ::SetText( ::GetText() )  // del:WenSheng: ��n���l�X�A�ˡA�o�ˤ~�|���`!!
            SetWindowText( ::hWnd, Trim( Eval( ::bSetGet ) ) ) // add:WenSheng
         ENDIF
      ELSE
         SetWindowText( ::hWnd, Replicate( If( IsAppThemed(), Chr( 42 ), "*" ),;  // NO FUNCIONA.
            Len( Trim( ::oGet:buffer ) ) ) )
      ENDIF
   ELSE
      /*
      if ::lLimitChars
      // ::SetText( Trim( ::GetText() ) )
         ::SetText( Trim( ::oGet:buffer ) ) // fix 2016-07-07
      */
      if ::IsWideChar()
         ::SetText( If( Empty( ::oGet:buffer ), "", ::oGet:buffer ) )
      ELSE
         if ::nCase == CASE_PROPER
            ::oGet:buffer := FW_ProperCase( ::oGet:buffer )
         ENDIF
         SetWindowText( ::hWnd, If( ! Empty( ::cCueText );
            .AND. Empty( ::oGet:VarGet() );
            .AND. GetFocus() != ::hWnd, ;  // Focus is outside
         "", ::oGet:buffer ) )
      ENDIF
   ENDIF

RETURN nil

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 8716
Joined: Tue Dec 20, 2005 07:36 PM

Re: FWH26.08 LoadBitmap error

Posted: Sat Aug 22, 2026 03:22 PM

Estimado Maestro, mira:

METHOD DispText() CLASS TGet

   if ::lPassword .AND. ::oGet:Type == "C"

  if ::IsWideChar

     IF Empty( ::GetText() )

        // firt time in get from resource
        // del:WenSheng: SetWindowText( ::hWnd, Trim( Eval( ::bSetGet ) ) )
        ::SetText( ::GetText() ) // add:WenSheng:2021.09.22:�����^�R���A�R����̫�@�X��ơA�|���s��ܸ����e�ױK�X�r��

        ? "¿Entró? 1? " // -> YES, 4 X

     ELSE // ALGO ERRADO AQUI

        // ::SetText( ::GetText() )  // del:WenSheng: ��n���l�X�A�ˡA�o�ˤ~�|���`!!
        SetWindowText( ::hWnd, Trim( Eval( ::bSetGet ) ) ) // add:WenSheng

        ? "¿Entró? 2? " // Entra en bucle(looping) y nunca sale.

     ENDIF

  ELSE

     SetWindowText( ::hWnd, Replicate( If( IsAppThemed(), Chr( 149 ), "*" ),;
        Len( Trim( ::oGet:buffer ) ) ) )

        ? "¿Entró? 3? "  // NO ENTRA NUNCA ???

  ENDIF

   ELSE

  /*
  if ::lLimitChars
  // ::SetText( Trim( ::GetText() ) )
     ::SetText( Trim( ::oGet:buffer ) ) // fix 2016-07-07
  */
  if ::IsWideChar()
     ::SetText( If( Empty( ::oGet:buffer ), "", ::oGet:buffer ) )
  ELSE
     if ::nCase == CASE_PROPER
        ::oGet:buffer := FW_ProperCase( ::oGet:buffer )
     ENDIF
     SetWindowText( ::hWnd, If( ! Empty( ::cCueText ) ;
        .AND. Empty( ::oGet:VarGet() )                ;
        .AND. GetFocus() != ::hWnd, ;  // Focus is outside
        "", ::oGet:buffer ) )
  ENDIF
   ENDIF

RETURN nil

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 137
Joined: Sat Oct 08, 2005 09:38 PM

Re: FWH26.08 LoadBitmap error

Posted: Sun Aug 30, 2026 12:59 PM

Up

Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 26.08, BCC77

Continue the discussion