FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FW 16.04 and COMBOMETRO
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
FW 16.04 and COMBOMETRO
Posted: Fri May 13, 2016 04:39 PM
Hello


Code (fw): Select all Collapse
#include "FiveWin.ch"
#include "metropnl.ch"

Function Main()
   local oDlg, oFont1, oFont2, oC, lOk := .F.
 
   
   Local cUserName := space(30)
   Local cPw := space(30)
   Local oRs 
   Local nX := 1 
   Local nY := 1 
   
   
   DEFINE FONT oFont1 NAME "Segoe UI Light" SIZE 0, -30 BOLD
   DEFINE FONT oFont2 NAME "Segoe UI Light" SIZE 0, -17 BOLD


   DEFINE DIALOG oDlg STYLE nOr( WS_CHILD, WS_POPUP ) ;
          SIZE ScreenWidth()/2, ScreenHeight() / 2 COLOR  CLR_BLUE ,CLR_WHITE

   @ 1.2, 5 SAY "Inserisci le tue creadenziali" FONT oFont1 TRANSPARENT

   @ 4, 9 SAY "UserName:" FONT oFont2 TRANSPARENT
   
 
  @ 4,15 COMBOMETRO oC VAR cUserName ITEMS {'1111111','222222222'}  ;
         OF oDlg   FONT oFont2 SIZE 150, 20 COLOR CLR_WHITE, RGB( 0x33, 0x66, 0xCC )
 
   

   @ 5.8, 9 SAY "Password:" FONT oFont2 TRANSPARENT

   @ 6.7, 15 GET cPw FONT oFont2 SIZE 100, 14 COLOR "N*/W" NOBORDER PASSWORD

   @ 150, ScreenWidth() / 15 + 100 FLATBTN PROMPT "Ok" ;
          SIZE 50, 20 ACTION (   oDlg:End() ) FONT oFont2

   @ 150, ScreenWidth() / 15 + 170 FLATBTN PROMPT "Cancel" ;
          SIZE 50, 20 ACTION oDlg:End() FONT oFont2

   ACTIVATE DIALOG oDlg CENTERED
   
   
   Return nil



Regard Maurizio
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: FW 16.04 and COMBOMETRO
Posted: Fri May 13, 2016 05:39 PM
Please

In METHOD New

Code (fw): Select all Collapse
   ::nBottom        := ::nTop  + nHeight
   if Upper( oWnd:ClassName() ) == "TPANEL"
      ::nBottom     := ::nTop  + nHeight
   endif
   ::nRight         := ::nLeft + nWidth
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FW 16.04 and COMBOMETRO
Posted: Fri May 13, 2016 05:41 PM

Maurizio,

thanks for your feedback

we are reviewing it

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
Re: FW 16.04 and COMBOMETRO
Posted: Sat May 14, 2016 05:08 PM

in which class add

best regards

kajot
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: FW 16.04 and COMBOMETRO
Posted: Sat May 14, 2016 05:28 PM

Maurizio ..mhm cosa sono le "creadenziali" ? :)

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: FW 16.04 and COMBOMETRO
Posted: Sat May 14, 2016 06:10 PM
kajot wrote:in which class add


CLASS TComboMetro in file combom.prg ( folder source\classes )

please wait
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: FW 16.04 and COMBOMETRO
Posted: Sun May 15, 2016 08:06 PM

Fixed in 16.04 Build 2

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: FW 16.04 and COMBOMETRO
Posted: Mon May 16, 2016 07:03 AM

Thanks Navarro

Maurizio

www.nipeservice.com

Continue the discussion