GET SPINNER height

GET SPINNER height

Postby Enrico Maria Giordano » Mon Jul 09, 2007 9:51 pm

Is it possible to reduce the height of a GET with SPINNER? This is a sample:

Code: Select all  Expand view  RUN
#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
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Rossine » Tue Jul 10, 2007 8:33 pm

Hi Enrico,

Try this:

Code: Select all  Expand view  RUN
   ACTIVATE DIALOG oDlg;
            CENTER on init oGet:nHeight := 10



Regards

Rossine.
Rossine
 
Posts: 344
Joined: Tue Oct 11, 2005 11:33 am

Postby Enrico Maria Giordano » Tue Jul 10, 2007 8:46 pm

Thank you, it works!

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

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