FW 16.04 and COMBOMETRO

FW 16.04 and COMBOMETRO

Postby Maurizio » Fri May 13, 2016 4:39 pm

Hello
Image

Code: Select all  Expand view
#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
User avatar
Maurizio
 
Posts: 807
Joined: Mon Oct 10, 2005 1:29 pm

Re: FW 16.04 and COMBOMETRO

Postby cnavarro » Fri May 13, 2016 5:39 pm

Please

In METHOD New

Code: Select all  Expand view


   ::nBottom        := ::nTop  + nHeight
   if Upper( oWnd:ClassName() ) == "TPANEL"
      ::nBottom     := ::nTop  + nHeight
   endif
   ::nRight         := ::nLeft + nWidth

 
Last edited by cnavarro on Fri May 13, 2016 6:50 pm, edited 1 time in total.
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
User avatar
cnavarro
 
Posts: 6522
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: FW 16.04 and COMBOMETRO

Postby Antonio Linares » Fri May 13, 2016 5:41 pm

Maurizio,

thanks for your feedback

we are reviewing it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41858
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FW 16.04 and COMBOMETRO

Postby kajot » Sat May 14, 2016 5:08 pm

in which class add
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: FW 16.04 and COMBOMETRO

Postby Silvio.Falconi » Sat May 14, 2016 5:28 pm

Maurizio ..mhm cosa sono le "creadenziali" ? :)
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6899
Joined: Thu Oct 18, 2012 7:17 pm

Re: FW 16.04 and COMBOMETRO

Postby cnavarro » Sat May 14, 2016 6: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
User avatar
cnavarro
 
Posts: 6522
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: FW 16.04 and COMBOMETRO

Postby cnavarro » Sun May 15, 2016 8: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
User avatar
cnavarro
 
Posts: 6522
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: FW 16.04 and COMBOMETRO

Postby Maurizio » Mon May 16, 2016 7:03 am

Thanks Navarro

Maurizio
www.nipeservice.com
User avatar
Maurizio
 
Posts: 807
Joined: Mon Oct 10, 2005 1:29 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 67 guests