FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour GET SPINNER height
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
GET SPINNER height
Posted: Mon Jul 09, 2007 09:51 PM
Is it possible to reduce the height of a GET with SPINNER? This is a sample:

#include "Fivewin.ch"


FUNCTION MAIN()

   LOCAL oDlg

   LOCAL oGet, nVar := 10

   DEFINE DIALOG oDlg 

   @ 1, 1 GET oGet VAR nVar;
          PICTURE "99";
          SPINNER MIN 6 MAX 99;
          SIZE 100, 10

   @ 3, 1 BUTTON "&Close";
          ACTION oDlg:End()

   ACTIVATE DIALOG oDlg; 
            CENTER

   RETURN NIL


EMG
Posts: 344
Joined: Tue Oct 11, 2005 11:33 AM
GET SPINNER height
Posted: Tue Jul 10, 2007 08:33 PM
Hi Enrico,

Try this:

   ACTIVATE DIALOG oDlg; 
            CENTER on init oGet:nHeight := 10


Regards

Rossine.
Obrigado, Regards, Saludos



Rossine.



Harbour and Harbour++
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
GET SPINNER height
Posted: Tue Jul 10, 2007 08:46 PM

Thank you, it works!

EMG

Continue the discussion